NOVA
Stripped down NOVA kernel for the OSY course
Public Types | Static Public Member Functions | List of all members
Cpu Class Reference

Public Types

enum  {
  EXC_NM = 7 , EXC_TS = 10 , EXC_GP = 13 , EXC_PF = 14 ,
  EXC_AC = 17
}
 

Static Public Member Functions

static ALWAYS_INLINE mword cr3 ()
 
static ALWAYS_INLINE void flush ()
 
static ALWAYS_INLINE void flush (mword addr)
 
static ALWAYS_INLINE void preempt_disable ()
 
static ALWAYS_INLINE void preempt_enable ()
 
ALWAYS_INLINE static NORETURN void shutdown ()
 
static ALWAYS_INLINE void cpuid (unsigned leaf, uint32 &eax, uint32 &ebx, uint32 &ecx, uint32 &edx)
 
static ALWAYS_INLINE void cpuid (unsigned leaf, unsigned subleaf, uint32 &eax, uint32 &ebx, uint32 &ecx, uint32 &edx)
 

The documentation for this class was generated from the following file: