drivers/usb annotations and fixes
[linux-2.6/openmoko-kernel/knife-kernel.git] / include / asm-sh / setup.h
blob55a2bd328d990e24abc3e496641bddfd764eb3a7
1 #ifndef _SH_SETUP_H
2 #define _SH_SETUP_H
4 #define COMMAND_LINE_SIZE 256
6 #ifdef __KERNEL__
8 /*
9 * This is set up by the setup-routine at boot-time
11 #define PARAM ((unsigned char *)empty_zero_page)
13 #define MOUNT_ROOT_RDONLY (*(unsigned long *) (PARAM+0x000))
14 #define RAMDISK_FLAGS (*(unsigned long *) (PARAM+0x004))
15 #define ORIG_ROOT_DEV (*(unsigned long *) (PARAM+0x008))
16 #define LOADER_TYPE (*(unsigned long *) (PARAM+0x00c))
17 #define INITRD_START (*(unsigned long *) (PARAM+0x010))
18 #define INITRD_SIZE (*(unsigned long *) (PARAM+0x014))
19 /* ... */
20 #define COMMAND_LINE ((char *) (PARAM+0x100))
22 int setup_early_printk(char *);
23 void sh_mv_setup(void);
25 #endif /* __KERNEL__ */
27 #endif /* _SH_SETUP_H */