next up previous contents index
Next: (X86) Processor Identification and Up: (X86 PC) Generic Low-level Previous: 10.4.3 keyboard.h: PC keyboard

10.4.4 rtc.h: NVRAM Register locations

 

SYNOPSIS

#include <oskit/x86/pc/rtc.h>

DESCRIPTION

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.



University of Utah Flux Research Group