Getting to Ring 3: Difference between revisions

[unchecked revision][unchecked revision]
Content deleted Content added
Roman (talk | contribs)
Brendan (talk | contribs)
m little bugfix
Line 123:
// Firstly, let's compute the base and limit of our entry into the GDT.
uint32_t base = (uint32_t) &tss_entry;
uint32_t limit = base + sizeof(tss_entry);
 
// Now, add our TSS descriptor's address to the GDT.