Anonymous user
Interrupt Descriptor Table: Difference between revisions
→But how do i load this stuff? (x86)
[unchecked revision] | [unchecked revision] |
(new section,) |
|||
Line 264:
<source lang="c">
void loadidt(void* base) {
uint16_t size = 0x00FF; // Always needed
lidt((void*)base, size); // Load the IDT, this assumes you have the lidt(); function from Inline Assembly/Examples.
}
</source><source lang="c">void* base</source>
Line 271:
<source lang="c">loadidt(0xFC0000);</source>
==See Also==
|