Interrupt Descriptor Table: Difference between revisions
[unchecked revision] | [unchecked revision] |
Content deleted Content added
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==
|