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