KernOS
CR4 Namespace Reference

Control register 4. More...

Enumerations

enum  : uint8_t {
  VME = 0, PVI = 1, TSD = 2, DE = 3,
  PSE = 4, PAE = 5, MCE = 6, PGE = 7,
  PCE = 8, OSFXSR = 9, OSXMMEXCPT = 10
}
 

Detailed Description

Control register 4.

Enumeration Type Documentation

◆ anonymous enum

anonymous enum : uint8_t
Enumerator
VME 
Virtual 8086 extension                     | Set to enable interrupt/exception extension in virtual 8086 
PVI 
Protected virtual interrupt                | Set to enable hardware support for virtual interrupt flag 
TSD 
Time stamp disable                         | Set to restrict RDTSC instructions to ring 0 
DE 
Debugging extensions                       | Set to reserve debug registers DR4, and DR5 
PSE 
Page size extensions                       | Set to use 4MB page size 
PAE 
Physical address extension                 | Set to use 36 bit physical address 
MCE 
Machine-check enable                       | Set to enable machine-check exception 
PGE 
Page global enable                         | Set to enable global page, i.e. marking page as global to all user 
PCE 
Performance-monitoring counter enable      | Set to enable RDPMC inst. at any protection level 
OSFXSR 
OS support for FXSAVE/FXRSTOR              | Set to indicate OS support for save/restore of XMM, and MXCSR registers 
OSXMMEXCPT 
OS support for unmasked SIMD FP exceptions | Set to allow SIMD floating-point exception 

Definition at line 32 of file registers.h.