X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=include%2Fprom.h;h=27436095bddcdfefd51fd33a6951b66876704782;hp=6e4d890c49b0d28ad2f5dcfe88280b5f61be4829;hb=89aafcfba49a5a302c591b05c7c73d26451dcfda;hpb=f3d8af0e0ac4642499d5430c202ac57d1d4c5ceb diff --git a/include/prom.h b/include/prom.h index 6e4d890..2743609 100644 --- a/include/prom.h +++ b/include/prom.h @@ -37,7 +37,10 @@ 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 TOK_IPV6 "ipv6" #define PROM_CLAIM_MAX_ADDR 0x8000000 +#define BOOTLASTSZ 1024 +#define FW_NBR_REBOOTSZ 4 struct prom_args; typedef int (*prom_entry)(struct prom_args *); @@ -90,6 +93,7 @@ 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); +void prom_print_available(void); /* packages and device nodes */ @@ -150,7 +154,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);