APIC Timer: Difference between revisions
[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 61:
=== Prerequisites ===
Before we start, let's define some constant and functions.
<
apic = the linear address where you have mapped the APIC registers
Line 99:
writegate: ...
ret
</syntaxhighlight>
I will also assume that you have a working [[IDT]], and you have a function to write a gate for a specific interrupt: writegate(intnumber,israddress).
Furthermore, to make things simple, I'll assume that you did not change the default interrupt mapping found in almost every tutorial:
|