blk: rq_data_dir() should not return a boolean
[cris-mirror.git] / arch / sh / include / asm / setup.h
blob99238108e7a51b6af6815e42a6e34f1799a0bc99
1 #ifndef _SH_SETUP_H
2 #define _SH_SETUP_H
4 #include <uapi/asm/setup.h>
6 /*
7 * This is set up by the setup-routine at boot-time
8 */
9 #define PARAM ((unsigned char *)empty_zero_page)
11 #define MOUNT_ROOT_RDONLY (*(unsigned long *) (PARAM+0x000))
12 #define RAMDISK_FLAGS (*(unsigned long *) (PARAM+0x004))
13 #define ORIG_ROOT_DEV (*(unsigned long *) (PARAM+0x008))
14 #define LOADER_TYPE (*(unsigned long *) (PARAM+0x00c))
15 #define INITRD_START (*(unsigned long *) (PARAM+0x010))
16 #define INITRD_SIZE (*(unsigned long *) (PARAM+0x014))
17 /* ... */
18 #define COMMAND_LINE ((char *) (PARAM+0x100))
20 void sh_mv_setup(void);
21 void check_for_initrd(void);
22 void per_cpu_trap_init(void);
24 #endif /* _SH_SETUP_H */