code: purgatorio

ref: 00c219c7d9c2b9f60c2db0e1ba7289b2301209a7
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;
}