setup.h 983 B

1234567891011121314151617181920212223242526272829303132
  1. #ifndef _ASM_M32R_SETUP_H
  2. #define _ASM_M32R_SETUP_H
  3. #include <uapi/asm/setup.h>
  4. #define PARAM ((unsigned char *)empty_zero_page)
  5. #define MOUNT_ROOT_RDONLY (*(unsigned long *) (PARAM+0x000))
  6. #define RAMDISK_FLAGS (*(unsigned long *) (PARAM+0x004))
  7. #define ORIG_ROOT_DEV (*(unsigned long *) (PARAM+0x008))
  8. #define LOADER_TYPE (*(unsigned long *) (PARAM+0x00c))
  9. #define INITRD_START (*(unsigned long *) (PARAM+0x010))
  10. #define INITRD_SIZE (*(unsigned long *) (PARAM+0x014))
  11. #define M32R_CPUCLK (*(unsigned long *) (PARAM+0x018))
  12. #define M32R_BUSCLK (*(unsigned long *) (PARAM+0x01c))
  13. #define M32R_TIMER_DIVIDE (*(unsigned long *) (PARAM+0x020))
  14. #define COMMAND_LINE ((char *) (PARAM+0x100))
  15. #define SCREEN_INFO (*(struct screen_info *) (PARAM+0x200))
  16. #define RAMDISK_IMAGE_START_MASK (0x07FF)
  17. #define RAMDISK_PROMPT_FLAG (0x8000)
  18. #define RAMDISK_LOAD_FLAG (0x4000)
  19. extern unsigned long memory_start;
  20. extern unsigned long memory_end;
  21. #endif /* _ASM_M32R_SETUP_H */