-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
gdt: Remove the segment selector for GS
It turns out that we don't need to have a segment selector for GS to be able to use the GSBase MSR, as discussed in rust-osdev/x86_64#333. I suspect this is because we now have a kernel data segment selector for SS, which we didn't when I first added support for CPU-local data. Removing the extra selector frees up a slot in the GDT. Signed-off-by: SlyMarbo <the.sly.marbo@googlemail.com>
- Loading branch information
Showing
2 changed files
with
2 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters