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