Skip to content

Does it allow to disable virtual memory? #450

@ghost

Description

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

Activity

ghost

ghost commented on Aug 9, 2024

@ghost

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

bjorn3

bjorn3 commented on Aug 9, 2024

@bjorn3
Contributor

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

      Development

      No branches or pull requests

        Participants

        @bjorn3

        Issue actions

          Does it allow to disable virtual memory? · Issue #450 · rust-osdev/bootloader