Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/dtor/input
[linux-btrfs-devel.git] / arch / m32r / include / asm / setup.h
blobc637ab99239452f01ecd0ba853f7935f7299229a
1 #ifndef _ASM_M32R_SETUP_H
2 #define _ASM_M32R_SETUP_H
4 /*
5 * This is set up by the setup-routine at boot-time
6 */
8 #define COMMAND_LINE_SIZE 512
10 #ifdef __KERNEL__
12 #define PARAM ((unsigned char *)empty_zero_page)
14 #define MOUNT_ROOT_RDONLY (*(unsigned long *) (PARAM+0x000))
15 #define RAMDISK_FLAGS (*(unsigned long *) (PARAM+0x004))
16 #define ORIG_ROOT_DEV (*(unsigned long *) (PARAM+0x008))
17 #define LOADER_TYPE (*(unsigned long *) (PARAM+0x00c))
18 #define INITRD_START (*(unsigned long *) (PARAM+0x010))
19 #define INITRD_SIZE (*(unsigned long *) (PARAM+0x014))
21 #define M32R_CPUCLK (*(unsigned long *) (PARAM+0x018))
22 #define M32R_BUSCLK (*(unsigned long *) (PARAM+0x01c))
23 #define M32R_TIMER_DIVIDE (*(unsigned long *) (PARAM+0x020))
25 #define COMMAND_LINE ((char *) (PARAM+0x100))
27 #define SCREEN_INFO (*(struct screen_info *) (PARAM+0x200))
29 #define RAMDISK_IMAGE_START_MASK (0x07FF)
30 #define RAMDISK_PROMPT_FLAG (0x8000)
31 #define RAMDISK_LOAD_FLAG (0x4000)
33 extern unsigned long memory_start;
34 extern unsigned long memory_end;
36 #endif /* __KERNEL__ */
38 #endif /* _ASM_M32R_SETUP_H */