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

Does it allow to disable virtual memory? #450

Open
bingmatv opened this issue Aug 9, 2024 · 2 comments
Open

Does it allow to disable virtual memory? #450

bingmatv opened this issue Aug 9, 2024 · 2 comments

Comments

@bingmatv
Copy link

bingmatv commented Aug 9, 2024

The generated kernel prints virtual_addr, does it allow to disable virtual memory? Because implicitly adding these features makes a kernel not so lightweight.

@bingmatv
Copy link
Author

bingmatv commented Aug 9, 2024

Is it the QEMU Seabios output? Perhaps, I mistook the output as from this bootloader.

@bjorn3
Copy link
Contributor

bjorn3 commented Aug 9, 2024

Blog os is written for 64bit x86 (x86_64), which does not allow disabling paging. Only 16bit and 32bit x86 allow disabling it. If you try entering long mode with paging disabled you will get a #GP fault (general protection fault).

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

No branches or pull requests

2 participants