Posted: Tue Nov 27, 2007 4:17 am
SOLVED
This code is incorrect. It was a typo on the website but is not so in the code available for download:
Should be:
It is now updated on the website.
This code is incorrect. It was a typo on the website but is not so in the code available for download:
Code: Select all
gdt_entries[num].limit_low = (limit & 0xFFFF);
gdt_entries[num].granularity = (limit >> 16) & 0xFF;
gdt_entries[num].granularity |= gran & 0xF0;
Code: Select all
gdt_entries[num].limit_low = (limit & 0xFFFF);
gdt_entries[num].granularity = (limit >> 16) & 0x0F;
gdt_entries[num].granularity |= gran & 0xF0;