X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=include%2Fbootinfo.h;h=7602e489ded1c64fcbf114b1f552051616f54503;hp=b5b5a04d2af5447f147cc08b5fbe6cddef0caea4;hb=d1e8ca1612860aece5ee4ab5f23d91737f0fa3e6;hpb=f4ebbd9f7ea23e3f0fcbe098754580c220894628 diff --git a/include/bootinfo.h b/include/bootinfo.h index b5b5a04..7602e48 100644 --- a/include/bootinfo.h +++ b/include/bootinfo.h @@ -1,11 +1,23 @@ /* - * Non-machine dependent bootinfo structure. Basic idea - * borrowed from the m68k. + * bootinfo.h - Non-machine dependent bootinfo structure. Basic idea from m68k * - * Copyright (C) 1999 Cort Dougan + * Copyright (C) 1999 Cort Dougan + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */ - #ifndef _PPC_BOOTINFO_H #define _PPC_BOOTINFO_H @@ -22,11 +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 */ +#define _MACH_bplan 0x00002000 /* Pegasos/Efika, broken partition #s */ struct bi_record { - unsigned long tag; /* tag ID */ - unsigned long size; /* size of record (in bytes) */ - unsigned long data[0]; /* data */ + 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 */ @@ -39,3 +52,11 @@ struct bi_record { #endif /* _PPC_BOOTINFO_H */ +extern int _machine; + +/* + * Local variables: + * c-file-style: "k&r" + * c-basic-offset: 5 + * End: + */