Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Remove the data segment from assembly 64-bit GDT #278
The Intel and AMD manuals state that no data segment is needed in 64-bit mode. However, the
This PR removes all ignored fields from the GDT structure overview in Entering Long Mode. It also removes the data segment from the assembly 64-bit GDT and no longer reloads the data segment registers before jumping to 64-bit mode. Instead, we reload them with null selectors after we're in 64-bit mode.