Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef __ASM_SH64_SETUP_H |
| 2 | #define __ASM_SH64_SETUP_H |
| 3 | |
Adrian Bunk | 7d1362c | 2006-12-06 20:40:38 -0800 | [diff] [blame] | 4 | #define COMMAND_LINE_SIZE 256 |
| 5 | |
| 6 | #ifdef __KERNEL__ |
| 7 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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)) |
| 15 | |
| 16 | #define COMMAND_LINE ((char *) (PARAM+256)) |
| 17 | #define COMMAND_LINE_SIZE 256 |
| 18 | |
Adrian Bunk | 7d1362c | 2006-12-06 20:40:38 -0800 | [diff] [blame] | 19 | #endif /* __KERNEL__ */ |
| 20 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 21 | #endif /* __ASM_SH64_SETUP_H */ |
| 22 | |