X-Git-Url: http://git.ozlabs.org/?p=yaboot.git;a=blobdiff_plain;f=include%2Fprom.h;h=62e65480810e79f3654823ce5af04226adff99d9;hp=e0397ecaea2276b28be552f8ad462cab2db95da3;hb=52ad93077e5334581d05ade8e55575573b98087e;hpb=f91756b6306e4da8aef013c8b375b32c2c0c3a2f diff --git a/include/prom.h b/include/prom.h index e0397ec..62e6548 100644 --- a/include/prom.h +++ b/include/prom.h @@ -37,7 +37,8 @@ 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 TOK_IPV6 "ipv6" +#define PROM_CLAIM_MAX_ADDR 0x10000000 #define BOOTLASTSZ 1024 #define FW_NBR_REBOOTSZ 4 @@ -76,10 +77,12 @@ int prom_nbgetchar(); void prom_vprintf (char *fmt, va_list ap) __attribute__ ((format (printf, 1, 0))); void prom_fprintf (prom_handle dev, char *fmt, ...) __attribute__ ((format (printf, 2, 3))); void prom_printf (char *fmt, ...) __attribute__ ((format (printf, 1, 2))); +void prom_debug (char *fmt, ...) __attribute__ ((format (printf, 1, 2))); #else void prom_vprintf (char *fmt, va_list ap); void prom_fprintf (prom_handle dev, char *fmt, ...); void prom_printf (char *fmt, ...); +void prom_debug (char *fmt, ...); #endif void prom_perror (int error, char *filename); @@ -89,9 +92,11 @@ 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_chunk_top(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 */