]> git.ozlabs.org Git - yaboot.git/blob - include/bootinfo.h
Commit yaboot 1.3.4
[yaboot.git] / include / bootinfo.h
1 /*
2  * Non-machine dependent bootinfo structure.  Basic idea
3  * borrowed from the m68k.
4  *
5  * Copyright (C) 1999 Cort Dougan <cort@ppc.kernel.org>
6  */
7
8
9 #ifndef _PPC_BOOTINFO_H
10 #define _PPC_BOOTINFO_H
11
12 #define _MACH_prep      0x00000001
13 #define _MACH_Pmac      0x00000002      /* pmac or pmac clone (non-chrp) */
14 #define _MACH_chrp      0x00000004      /* chrp machine */
15 #define _MACH_mbx       0x00000008      /* Motorola MBX board */
16 #define _MACH_apus      0x00000010      /* amiga with phase5 powerup */
17 #define _MACH_fads      0x00000020      /* Motorola FADS board */
18 #define _MACH_rpxlite   0x00000040      /* RPCG RPX-Lite 8xx board */
19 #define _MACH_bseip     0x00000080      /* Bright Star Engineering ip-Engine */
20 #define _MACH_yk        0x00000100      /* Motorola Yellowknife */
21 #define _MACH_gemini    0x00000200      /* Synergy Microsystems gemini board */
22 #define _MACH_classic   0x00000400      /* RPCG RPX-Classic 8xx board */
23 #define _MACH_oak       0x00000800      /* IBM "Oak" 403 eval. board */
24 #define _MACH_walnut    0x00001000      /* IBM "Walnut" 405GP eval. board */
25
26 struct bi_record {
27      unsigned long tag;                 /* tag ID */
28      unsigned long size;                        /* size of record (in bytes) */
29      unsigned long data[0];             /* data */
30 };
31
32 #define BI_FIRST                0x1010  /* first record - marker */
33 #define BI_LAST                 0x1011  /* last record - marker */
34 #define BI_CMD_LINE             0x1012
35 #define BI_BOOTLOADER_ID        0x1013
36 #define BI_INITRD               0x1014
37 #define BI_SYSMAP               0x1015
38 #define BI_MACHTYPE             0x1016
39
40 #endif /* _PPC_BOOTINFO_H */
41
42 /* 
43  * Local variables:
44  * c-file-style: "K&R"
45  * c-basic-offset: 5
46  * End:
47  */