X-Git-Url: https://git.ozlabs.org/?p=tonyb-yaboot.git;a=blobdiff_plain;f=include%2Fprom.h;h=6e4d890c49b0d28ad2f5dcfe88280b5f61be4829;hp=f5ee88f8c2a09392009736ecf1047aa66a977dad;hb=f3d8af0e0ac4642499d5430c202ac57d1d4c5ceb;hpb=6c7d8181c9c15776c3b4581c3a9b0613af9cbc78 diff --git a/include/prom.h b/include/prom.h index f5ee88f..6e4d890 100644 --- a/include/prom.h +++ b/include/prom.h @@ -37,6 +37,7 @@ 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 struct prom_args; typedef int (*prom_entry)(struct prom_args *); @@ -85,6 +86,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);