X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=include%2Fprom.h;h=e0397ecaea2276b28be552f8ad462cab2db95da3;hp=6e4d890c49b0d28ad2f5dcfe88280b5f61be4829;hb=19d463913aa7e20a567d5e7fb68b7fd69955b5fc;hpb=f3d8af0e0ac4642499d5430c202ac57d1d4c5ceb diff --git a/include/prom.h b/include/prom.h index 6e4d890..e0397ec 100644 --- a/include/prom.h +++ b/include/prom.h @@ -38,6 +38,8 @@ typedef void *phandle; #define BOOTDEVSZ (2048) /* iscsi args can be in excess of 1040 bytes */ #define TOK_ISCSI "iscsi" #define PROM_CLAIM_MAX_ADDR 0x8000000 +#define BOOTLASTSZ 1024 +#define FW_NBR_REBOOTSZ 4 struct prom_args; typedef int (*prom_entry)(struct prom_args *); @@ -150,7 +152,7 @@ struct bootp_packet { unsigned char chaddr[16]; unsigned char sname[64]; unsigned char file[128]; - /* vendor options go here if we need them */ + unsigned char options[]; /* vendor options */ }; struct bootp_packet * prom_get_netinfo (void);