bootloader icon indicating copy to clipboard operation
bootloader copied to clipboard

Does it allow to disable virtual memory?

Open bingmatv opened this issue 1 year ago • 2 comments

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 avatar Aug 09 '24 07:08 bingmatv

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

ghost avatar Aug 09 '24 07:08 ghost

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

bjorn3 avatar Aug 09 '24 10:08 bjorn3