next up previous contents index
Next: 10.3.4 debug_reg.h: Debug register Up: (X86) Generic Low-level Definitions Previous: 10.3.2 eflags.h: Processor flags

10.3.3 proc_reg.h: Processor register definitions and accessor functions

 

SYNOPSIS

#include <oskit/x86/proc_reg.h>

DESCRIPTION

XXX

This header file contains the definitions for the processor's control registers (CR0, CR4). It also contains macros for getting and setting the processor registers and flags. There is also a macro for reading the processor's cycle counter (on Pentium and above processors).

This header file is taken from CMU's Mach kernel.



University of Utah Flux Research Group