]> git.ozlabs.org Git - yaboot.git/blobdiff - include/bootinfo.h
Check each partition for swapspace before other filesystems.
[yaboot.git] / include / bootinfo.h
index f61409a374053df2174e33e7a8da904d71cc966c..3a02c908750e421daeacebcd99a73fc7bf03f22f 100644 (file)
 #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"