User:Lionel/MSR Draft: Difference between revisions

From OSDev.wiki
Jump to navigation Jump to search
Content added Content deleted
m (Sorry to edit your user page, but EFER is such a notable MSR...)
 
(5 intermediate revisions by 2 users not shown)
Line 3: Line 3:




== General ==
== MSR's ==


{| class="wikitable"
{| class="wikitable sortable"
|-
|-
! MSR
! MSR Number
! MSR Name
! Address
! Access
! Bit \ Description
! Originator
! Comments.
! class="unsortable" | Description/Comments
! class="unsortable" | Availability
|-
|-
| 0x00000000
| IA32_P5_MC_ADDR (P5_MC_ADDR)
| IA32_P5_MC_ADDR (P5_MC_ADDR)
| 0x0
|
| Intel
| See Section 35.20 of Intel Architecture Manual 3c, “MSRs in Pentium Processors.”
| See Section 35.20 of Intel Architecture Manual 3c, “MSRs in Pentium Processors.”
|
| Pentium Processor (05_01H)
; Intel: Family = 05 Model >= 1
|-
|-
| 0x0000001B
| IA32_APIC_BASE (APIC_BASE)
| IA32_APIC_BASE (APIC_BASE)
| 0x1B
|
| Intel
| See Intel Architecture Manual 3c.
| See Intel Architecture Manual 3c.
|
| Intel Family 06 Model 1 Supports this.
; Intel : Family = 06 Model = 1 and newer<br />Others!
|}
; AMD : Unknown

== Intel Specific ==

{| class="wikitable"
|-
! MSR
! Address
! Bit \ Description
! Comments.
|-
|-
| 0x0000003A
| IA32_FEATURE_CONTROL
| IA32_FEATURE_CONTROL
| Read/Write
| 0x3A
| Intel
| Control Features in Intel 64 Processor (R/W)
| Control CPU Features
| If CPUID.01H: ECX[bit 5 or bit 6] = 1
|}
|
;All: If CPUID.01H: ECX[bit 5 or bit 6] = 1

== AMD Specific ==

{| class="wikitable"
|-
|-
| 0x000000FF
! MSR
| IA32_SAMPLE_AMD
! Address
|
! Bit Description
| AMD
! Purpose
| N/A
|}
|

; AMD: Unknown
== VIA Specific ==
|-

| 0x00001107
{| class="wikitable"
| FCR
|
| VIA
| R/W Feature Control Register, eax = FCRValue
|
; VIA: Unknown
|-
| 0x00001108
| FCR2
| Read/Write
| VIA
| RW Feature Control Register 2, edx = FCR2_Hi, eax = FCRValue
|
; VIA: Unknown
|-
| 0x00001109
| FCR3
| Write Only
| VIA
| Feature Control Register 3, edx = FCR3_Hi, eax = FCRValue
|
; VIA: Unknown
|-
|-
| 0xC0000080
! MSR
| EFER
! Address
| Read/Write
! Bit Description
| AMD
! Purpose
| Extended Features Enable Register - notably long mode
|
; AMD: introduced with K6 CPU. Introduced for syscall/sysret enabling.
|}
|}

Latest revision as of 12:11, 17 January 2016

A prototype of a list of MSR's, lifted straight from the manual.


MSR's

MSR Number MSR Name Access Originator Description/Comments Availability
0x00000000 IA32_P5_MC_ADDR (P5_MC_ADDR) Intel See Section 35.20 of Intel Architecture Manual 3c, “MSRs in Pentium Processors.”
Intel
Family = 05 Model >= 1
0x0000001B IA32_APIC_BASE (APIC_BASE) Intel See Intel Architecture Manual 3c.
Intel
Family = 06 Model = 1 and newer
Others!
AMD
Unknown
0x0000003A IA32_FEATURE_CONTROL Read/Write Intel Control CPU Features
All
If CPUID.01H: ECX[bit 5 or bit 6] = 1
0x000000FF IA32_SAMPLE_AMD AMD N/A
AMD
Unknown
0x00001107 FCR VIA R/W Feature Control Register, eax = FCRValue
VIA
Unknown
0x00001108 FCR2 Read/Write VIA RW Feature Control Register 2, edx = FCR2_Hi, eax = FCRValue
VIA
Unknown
0x00001109 FCR3 Write Only VIA Feature Control Register 3, edx = FCR3_Hi, eax = FCRValue
VIA
Unknown
0xC0000080 EFER Read/Write AMD Extended Features Enable Register - notably long mode
AMD
introduced with K6 CPU. Introduced for syscall/sysret enabling.