blob: 5b07b14c2927c24212692f9b1334fc81f58ce492 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef __ASM_SH64_SETUP_H
2#define __ASM_SH64_SETUP_H
3
Adrian Bunk7d1362c2006-12-06 20:40:38 -08004#define COMMAND_LINE_SIZE 256
5
6#ifdef __KERNEL__
7
Linus Torvalds1da177e2005-04-16 15:20:36 -07008#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 Bunk7d1362c2006-12-06 20:40:38 -080019#endif /* __KERNEL__ */
20
Linus Torvalds1da177e2005-04-16 15:20:36 -070021#endif /* __ASM_SH64_SETUP_H */
22