Skip to content

[Feature]: Error Logging #53

Open
Open
@emilkovacev

Description

@emilkovacev

Is there an existing issue for this?

  • I have searched the existing issues

Is this a new feature or an enhancement?

Enhancement

Feature Description

Just like in any kernel, we should be able to recover from any error in any part of the kernel and log it. This will help us diagnose issues within the kernel early on in development.

Implementation Notes

Description

This issue will require 2-3 functions that could be called any time a sanity check fails: one in 16-bit mode (bootloader), one for 32-bit mode (bootloader), and one for 32-bit code (in main.c or any libraries called by it). In both the bootloader and C code, this function should print an error to the console and crash.

The scope of this issue is to simply implement the helper functions – adding sanity checks is outside the scope of the issue (and will require issues in the future).

Labels/Assignees

  • I have selected any appropriate labels and/or assignees.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions