Skip to content

panic() relies on initially unmapped console #14

@jgfoster

Description

@jgfoster

The base code has a number of calls to panic() but these all result in a page fault for 0xb8e60 (the low canonical address for part of the console) attempting to write a missing page. It seems that while page fault is implemented in the kernel, so can write to the console, panic() is implemented as a user-mode function so does not have access to the console (until that feature has been added).

Would it make sense to convert panic() to a kernel function?

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

    Issue actions