X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=include%2Fprom.h;h=e0397ecaea2276b28be552f8ad462cab2db95da3;hp=f5ee88f8c2a09392009736ecf1047aa66a977dad;hb=f91756b6306e4da8aef013c8b375b32c2c0c3a2f;hpb=78cfabe0fac2682681c604bfe9b7266f173b9ea2 diff --git a/include/prom.h b/include/prom.h index f5ee88f..e0397ec 100644 --- a/include/prom.h +++ b/include/prom.h @@ -37,6 +37,9 @@ typedef void *phandle; #define PROM_INVALID_HANDLE ((prom_handle)-1UL) #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 *); @@ -85,6 +88,7 @@ int prom_set_color(prom_handle device, int color, int r, int g, int b); /* memory */ +void *prom_claim_chunk(void *virt, unsigned int size, unsigned int align); void *prom_claim (void *virt, unsigned int size, unsigned int align); void prom_release(void *virt, unsigned int size); void prom_map (void *phys, void *virt, int size); @@ -148,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);