APIC: Difference between revisions

Jump to navigation Jump to search
[unchecked revision][unchecked revision]
Content deleted Content added
m Bot: Replace deprecated source tag with syntaxhighlight
m Bot: Replace deprecated source tag with syntaxhighlight
 
Line 34: Line 34:


Here are some code examples on setting up the APIC:
Here are some code examples on setting up the APIC:
<source lang="c">
<syntaxhighlight lang="c">
#define IA32_APIC_BASE_MSR 0x1B
#define IA32_APIC_BASE_MSR 0x1B
#define IA32_APIC_BASE_MSR_BSP 0x100 // Processor is a BSP
#define IA32_APIC_BASE_MSR_BSP 0x100 // Processor is a BSP
Line 85: Line 85:
write_reg(0xF0, ReadRegister(0xF0) | 0x100);
write_reg(0xF0, ReadRegister(0xF0) | 0x100);
}
}
</syntaxhighlight>
</source>


== Local APIC and x86 SMM Attacks ==
== Local APIC and x86 SMM Attacks ==