]> git.ozlabs.org Git - yaboot.git/blobdiff - include/prom.h
Remove devel debugging code
[yaboot.git] / include / prom.h
index 97008030d52afbd1aa613b2efd8738bff00c99b0..a0f277cdc49da1aa7dcd61aa98200e74e704fa28 100644 (file)
@@ -34,6 +34,8 @@ typedef void *ihandle;
 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"
 
 struct prom_args;
 typedef int (*prom_entry)(struct prom_args *);
@@ -91,6 +93,7 @@ void prom_map (void *phys, void *virt, int size);
 prom_handle prom_finddevice (char *name);
 prom_handle prom_findpackage (char *path);
 int prom_getprop (prom_handle dev, char *name, void *buf, int len);
+int prom_getproplen(prom_handle, const char *);
 int prom_get_devtype (char *device);
 
 /* misc */