Revision as of 07:15, 30 April 2015 by Roman(talk | contribs)(Created page with "CPU Registers are small amounts of memory located in the processor. They provide a fast way to process data. ==General purpose registers== {| {{wikitable}} |- ! 64 bit ! 32 ...")
os support for unmasked simd floating point exceptions
13
vmxe
virtual machine extensions enable
14
smxe
safer mode extensions enable
17
pcide
pcid enable
18
osxsave
xsave and processor extended states enable
20
smep
supervisor mode executions protection enable
21
smap
supervisor mode access protection enable
EFER
EFER
Extended Feature Enable Register (EFER) is a model-specific register added in the AMD K6 processor, to allow enabling the SYSCALL/SYSRET instruction, and later for entering and exiting long mode. This register becomes architectural in AMD64 and has been adopted by Intel. Its MSR number is 0xC0000080.
Bit
Purpose
63:16
Reserved
15
TCE (Translation Cache Extension)
14
FFXSR (Fast FXSAVE/FXRSTOR)
13
LMSLE (Long Mode Segment Limit Enable)
12
SVME (Secure Virtual Machine Enable)
11
NXE (No-Execute Enable)
10
LMA (Long Mode Active)
9
Reserved
8
LME (Long Mode Enable)
7:1
Reserved
0
SCE (System Call Extensions)
Debug registers
DR0 - DR3
Contain linear addresses of up to 4 breakpoints. If paging is enabled, they are translated to physical addresses.
DR6
It permits the debugger to determine which debug conditions have occured. When an enabled debug exception is enabled, low order bits 0-3 are set before entering debug exception handler.
DR7
DR7 controls breakpoint conditions.
The low order 8 bits enable the four breakpoints. Bit 0 enables breaking at DR0 locally, Bit 1 enables a global breakpoint on DR0, Bit 2,3 for DR1 and so on.
A local breakpoint bit deactivates on hardware task switches, globals do not. Bits 16-17 determine conditions for DR0, 20-21 for DR1, 24-25 for DR2 and 28-29 for DR3. In these bits, 00b means execution break, 01b means a write watchpoint, and 11b means an R/W watchpoint. 10b is reserved for I/O R/W (unsupported). Bits 18-19 determine the size of the DR0 breakpoint, 22-23 for DR1, 26-27 for DR2 and 30-31 for DR3. TODO