ofwh_t
ofwh_t bootdevh;
ofwh_t stdinh, stdouth;
static ofwh_t
ofw_getprop(ofwh_t ofwh, const char *name, void *buf, size_t len)
ofw_setprop(ofwh_t ofwh, const char *name, void *buf, size_t len)
static ofwh_t
ofw_close(ofwh_t devh)
ofw_read(ofwh_t devh, void *buf, size_t len)
ofw_write(ofwh_t devh, const void *buf, size_t len)
ofw_seek(ofwh_t devh, uint64_t off)
static ofwh_t bootdev;
ofwh_t chosenh;
static ofwh_t ofw_finddevice(const char *);
static ofwh_t ofw_open(const char *);
static int ofw_close(ofwh_t);
static int ofw_getprop(ofwh_t, const char *, void *, size_t);
static int ofw_setprop(ofwh_t, const char *, void *, size_t);
static int ofw_read(ofwh_t, void *, size_t);
static int ofw_write(ofwh_t, const void *, size_t);
static int ofw_seek(ofwh_t, uint64_t);