-
Notifications
You must be signed in to change notification settings - Fork 142
No kernel data segment? #160
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
In GlobalDescriptorTable document, there says Data segment registers in ring 0 can be loaded with the null segment selector. So I think using just the null segment selector maybe is ok. |
Unfortunately when doing a Note that even the code to install this offset into |
This seems to be resolved by #181. It introduced a new |
There seems to be no
Descriptor::kernel_data_segment()
. If I understand correctly, the presence of such a segment is expected inIA32_STAR
when doing asyscall
, as it is used to load theSS
register. Or did I misunderstand the x86_64/amd64 manual?If needed, I'd be happy to propose a PR.
The text was updated successfully, but these errors were encountered: