-
Notifications
You must be signed in to change notification settings - Fork 4
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
Implement higher half kernel #27
Comments
Since this is aimed at Long Mode only, I would argue we should make use of more of the virtual address space. Why not map the kernel at 0xffffffff80000000 (-2GiB), as with many 64-bit kernels; this allows the compiler to use relative relocations (the signed offsets fit into the ELF fields) when compiling the kernel as well. |
Hey @IsaacWoods, my kernel supports both 32 bit and 64 bit targets. I think you may have wandered into my repo through your Your suggestion is good for 64 bit targets, and I'll look into using that mapping when I implement the higher half kernel |
So I have! Very sorry; completely missed that this was a different repo somehow! Edit: feel free to delete these comments - didn't mean to clutter your issue tracker! |
No need to apologize! I appreciate the contribution |
Per OSDev:
next_table_address
doesn't always yield a canonical address - sign extension bug phil-opp/blog_os#362 reveals an issue withnext_table_address
sign extensionThe text was updated successfully, but these errors were encountered: