Where to put IDT?
-
rexlunae
RE:Where to put IDT?
Anywhere you like. You need to use the lidt instruction to set the location and size.
-
Darkman
RE:Where to put IDT?
Ok I will rephrase the question. Where in memory is the best place to put the IDT? 
-
jamethiel
RE:Where to put IDT?
Wherever is most convenient.
No, seriously. My OS puts the IDT wherever the heck the allocation pointer is when it comes time to create it.
No, seriously. My OS puts the IDT wherever the heck the allocation pointer is when it comes time to create it.
-
rexlunae
RE:Where to put IDT?
In my os, it is an array declared in the standard fashion which I initialize at runtime. Then I use a pointer to that to set the IDTR.