2 * bootinfo.h - Non-machine dependent bootinfo structure. Basic idea from m68k
4 * Copyright (C) 1999 Cort Dougan <cort@ppc.kernel.org>
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 2 of the License, or
9 * (at your option) any later version.
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, write to the Free Software
18 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
21 #ifndef _PPC_BOOTINFO_H
22 #define _PPC_BOOTINFO_H
24 #define _MACH_prep 0x00000001
25 #define _MACH_Pmac 0x00000002 /* pmac or pmac clone (non-chrp) */
26 #define _MACH_chrp 0x00000004 /* chrp machine */
27 #define _MACH_mbx 0x00000008 /* Motorola MBX board */
28 #define _MACH_apus 0x00000010 /* amiga with phase5 powerup */
29 #define _MACH_fads 0x00000020 /* Motorola FADS board */
30 #define _MACH_rpxlite 0x00000040 /* RPCG RPX-Lite 8xx board */
31 #define _MACH_bseip 0x00000080 /* Bright Star Engineering ip-Engine */
32 #define _MACH_yk 0x00000100 /* Motorola Yellowknife */
33 #define _MACH_gemini 0x00000200 /* Synergy Microsystems gemini board */
34 #define _MACH_classic 0x00000400 /* RPCG RPX-Classic 8xx board */
35 #define _MACH_oak 0x00000800 /* IBM "Oak" 403 eval. board */
36 #define _MACH_walnut 0x00001000 /* IBM "Walnut" 405GP eval. board */
39 unsigned long tag; /* tag ID */
40 unsigned long size; /* size of record (in bytes) */
41 unsigned long data[0]; /* data */
44 #define BI_FIRST 0x1010 /* first record - marker */
45 #define BI_LAST 0x1011 /* last record - marker */
46 #define BI_CMD_LINE 0x1012
47 #define BI_BOOTLOADER_ID 0x1013
48 #define BI_INITRD 0x1014
49 #define BI_SYSMAP 0x1015
50 #define BI_MACHTYPE 0x1016
52 #endif /* _PPC_BOOTINFO_H */