Skip to content
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

Open
robert-w-gries opened this issue Nov 23, 2017 · 4 comments
Open

Implement higher half kernel #27

robert-w-gries opened this issue Nov 23, 2017 · 4 comments

Comments

@robert-w-gries
Copy link
Owner

Per OSDev:

@IsaacWoods
Copy link

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.

@robert-w-gries
Copy link
Owner Author

Hey @IsaacWoods, my kernel supports both 32 bit and 64 bit targets. I think you may have wandered into my repo through your blog_os issue :-)

Your suggestion is good for 64 bit targets, and I'll look into using that mapping when I implement the higher half kernel

@IsaacWoods
Copy link

IsaacWoods commented Dec 4, 2017

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!

@robert-w-gries
Copy link
Owner Author

No need to apologize! I appreciate the contribution

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants