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