X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=include%2Fbootinfo.h;h=3a02c908750e421daeacebcd99a73fc7bf03f22f;hp=f61409a374053df2174e33e7a8da904d71cc966c;hb=a01ba048668c5a7e5efa2aa41eeb0a3ed374a63a;hpb=a2b7bb030d78c61ef150f8c9f6926c9558a6f1b5 diff --git a/include/bootinfo.h b/include/bootinfo.h index f61409a..3a02c90 100644 --- a/include/bootinfo.h +++ b/include/bootinfo.h @@ -34,23 +34,12 @@ #define _MACH_classic 0x00000400 /* RPCG RPX-Classic 8xx board */ #define _MACH_oak 0x00000800 /* IBM "Oak" 403 eval. board */ #define _MACH_walnut 0x00001000 /* IBM "Walnut" 405GP eval. board */ - -struct bi_record { - unsigned long tag; /* tag ID */ - unsigned long size; /* size of record (in bytes) */ - unsigned long data[0]; /* data */ -}; - -#define BI_FIRST 0x1010 /* first record - marker */ -#define BI_LAST 0x1011 /* last record - marker */ -#define BI_CMD_LINE 0x1012 -#define BI_BOOTLOADER_ID 0x1013 -#define BI_INITRD 0x1014 -#define BI_SYSMAP 0x1015 -#define BI_MACHTYPE 0x1016 +#define _MACH_bplan 0x00002000 /* Pegasos/Efika, broken partition #s */ #endif /* _PPC_BOOTINFO_H */ +extern int _machine; + /* * Local variables: * c-file-style: "k&r"