]> git.ozlabs.org Git - yaboot.git/blobdiff - include/prom.h
Add parseing for Vendor options aka DHCP options.
[yaboot.git] / include / prom.h
index 6e4d890c49b0d28ad2f5dcfe88280b5f61be4829..e0397ecaea2276b28be552f8ad462cab2db95da3 100644 (file)
@@ -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 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 *);
 
 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];
      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);
 };
 
 struct bootp_packet * prom_get_netinfo (void);