Skip to content

Does it allow to disable virtual memory? #450

New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

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).

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

No branches or pull requests

2 participants