Ok. I didn't make 2.4.0 in 2000. Tough. I tried, but we had some
[davej-history.git] / include / asm-ppc / bootinfo.h
blob84e7a7c8fd2f48a1cd0c35006b752c972821c845
1 /*
2 * Non-machine dependent bootinfo structure. Basic idea
3 * borrowed from the m68k.
5 * Copyright (C) 1999 Cort Dougan <cort@ppc.kernel.org>
6 */
9 #ifdef __KERNEL__
10 #ifndef _PPC_BOOTINFO_H
11 #define _PPC_BOOTINFO_H
13 #include <linux/config.h>
15 #if defined(CONFIG_APUS) && !defined(__BOOTER__)
16 #include <asm-m68k/bootinfo.h>
17 #else
19 struct bi_record {
20 unsigned long tag; /* tag ID */
21 unsigned long size; /* size of record (in bytes) */
22 unsigned long data[0]; /* data */
25 #define BI_FIRST 0x1010 /* first record - marker */
26 #define BI_LAST 0x1011 /* last record - marker */
27 #define BI_CMD_LINE 0x1012
28 #define BI_BOOTLOADER_ID 0x1013
29 #define BI_INITRD 0x1014
30 #define BI_SYSMAP 0x1015
31 #define BI_MACHTYPE 0x1016
33 #endif /* CONFIG_APUS */
35 #endif /* _PPC_BOOTINFO_H */
37 #endif /* __KERNEL__ */