ref: 05d9123a707dec0eaa0ab079b94e69cdb750c6db dir: /os/js/iob.c/
#include "u.h" void outb(ulong addr, uchar val) { *(uchar*)addr = val; } uchar inb(ulong addr) { return *(uchar*)addr; }