tifm: simplify bus match and uevent handlers
[linux-2.6/mini2440.git] / include / asm-sh64 / setup.h
blob5b07b14c2927c24212692f9b1334fc81f58ce492
1 #ifndef __ASM_SH64_SETUP_H
2 #define __ASM_SH64_SETUP_H
4 #define COMMAND_LINE_SIZE 256
6 #ifdef __KERNEL__
8 #define PARAM ((unsigned char *)empty_zero_page)
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))
16 #define COMMAND_LINE ((char *) (PARAM+256))
17 #define COMMAND_LINE_SIZE 256
19 #endif /* __KERNEL__ */
21 #endif /* __ASM_SH64_SETUP_H */