OF_call_method
OF_call_method(method, ihandle, nargs, nreturns, va_alist)
OF_call_method("load-ata", ih, 0, 0);
OF_call_method("eject", op->handle, 0, 0, NULL);
OF_call_method("close", op->handle, 0, 0, NULL);
OF_call_method("open", op->handle, 0, 0, NULL);
if (OF_call_method("release", ofw_memory_ihandle,
if (OF_call_method("claim", ofw_mmu_ihandle,
if (OF_call_method("release", ofw_mmu_ihandle,
if (OF_call_method("map", ofw_mmu_ihandle,
if (OF_call_method("claim", ofw_memory_ihandle,
OF_call_method("dma-free", op->handle, 2, 0, (int *)cells);
OF_call_method("dma-alloc", handle, 1, 1, (int *)cells);
int OF_call_method(const char *, int, int, int, int *);
if (OF_call_method("`usb-kbd-ihandles", kstdin, 0, 1, &ukbds) >= 0 &&
if (OF_call_method("`usb-kbd-ihandle", kstdin, 0, 1, &ukbd) >= 0 &&
if (OF_call_method("`adb-kbd-ihandle", kstdin, 0, 1, &akbd) >= 0 &&
OF_call_method("translate", mmu, 1, 3, romfont, &romfont, &m, &e);
if (OF_call_method("config-l@", pc->pc_ihandle, 1, 1, tag, &data) < 0)
OF_call_method("config-l!", pc->pc_ihandle, 2, 0, data, tag);
if (OF_call_method("translate", mmu_ihandle, 1, 3, va, &pa, &mode,
if (OF_call_method("map", mmu_ihandle, 4, 0, pa, va, size, mode) != 0)
OF_call_method("install", console_ihandle, 0, 0);
if (OF_call_method("text-mode3", stdout_ihandle, 0, 0) != 0) {
if (OF_call_method("get-time", of->sc_ihandle, 0, 6,
if (OF_call_method("set-time", of->sc_ihandle, 6, 0,
int OF_call_method(const char *, int, int, int, ...);