#include <oskit/x86/pc/rtc.h>
This file is taken from FreeBSD (XXX cite?) and contains definitions for the standard NVRAM, or Real Time Clock, register locations.
- rtcin(unsigned char addr)
- Returns the 8-bit value from location addr.
- rtcout(unsigned char addr, unsigned char val)
- Writes val to location addr.