Re:test GDT?
Posted: Thu Aug 21, 2003 2:14 pm
After loading your new GDT you should do:-
Otherwise the address (offset) loaded into the IDT may be from a different base to the new GDT (as shown from your info about the GRUB GDT)
Hope I'm of use
Pete
Code: Select all
mov ax, KERN_DATA
mov ds, ax
mov es, ax
mov fs, ax
mov gs, ax
mov ss, ax
jmp KERN_CODE:new_gdt
new_gdt:
Hope I'm of use
Pete