code: purgatorio

ref: 02ac617541ca1a7bf82b1615fb5a58235469b5d3
dir: /os/js/iob.c/

View raw version
#include "u.h"

void
outb(ulong addr, uchar val)
{
	*(uchar*)addr = val;
}

uchar
inb(ulong addr)
{
	return *(uchar*)addr;
}