relatively easy question about idt

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
Ozguxxx

relatively easy question about idt

Post by Ozguxxx »

hey, Im trying to get put of first 4 meg, however i get problems with idt, I think. Is there a condition for idt's place in virtual memory? I mean should it be mapped onto itself or etc?
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re:relatively easy question about idt

Post by Brendan »

Hi,
Ozgunh82 wrote: Is there a condition for idt's place in virtual memory? I mean should it be mapped onto itself or etc?
No - the IDT can be anywhere. I wouldn't recomend making the IDT cross page boundaries though, and I'd make sure it has 8 byte alignment (for performance reasons).

Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
Post Reply