A few questions on GDT LDT IDT
Posted: Wed Nov 12, 2008 7:16 am
Hello guys,
I am a newbie in OSdev. I have read about the GDT,LDT,IDT and other things like this.
What I am not certain about is whether the base address of ,say the GDT, you load into GDTR register is a linear address (virtual address) or a physical address?
If it is a linear address(virtual address), does that imply we have to have enabled and set up all the relevant registers in the paging unit before this base address value is loaded?
Thanks.
I am a newbie in OSdev. I have read about the GDT,LDT,IDT and other things like this.
What I am not certain about is whether the base address of ,say the GDT, you load into GDTR register is a linear address (virtual address) or a physical address?
If it is a linear address(virtual address), does that imply we have to have enabled and set up all the relevant registers in the paging unit before this base address value is loaded?
Thanks.