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