The Wayback Machine - https://web.archive.org./web/20210220105950/https://github.com/topics/osdev
Skip to content
#

osdev

Here are 465 public repositories matching this topic...

A completely-from-scratch hobby operating system: bootloader, kernel, drivers, C library, and userspace including a composited graphical UI, dynamic linker, syntax-highlighting text editor, network stack, etc.

  • Updated on Feb 16, 2021
  • C
nanos
wjhun
wjhun commented on Jun 15, 2020

There are numerous areas in the kernel where a heap allocation failure is being silently ignored, merely asserted against or otherwise mishandled. Assertions may suffice for allocations on initialization (where system bringup would otherwise be impossible), but allocation failures which may reasonably happen during runtime must be addressed.

See, for example, #1199; all the various calls to the

Orycterope
Orycterope commented on Aug 28, 2019

display_bsod internally calls the map_framebuffer syscall to map the framebuffer, because we . were lazy and didn't want to duplicate code. However this syscall retrieves the current process to map it in its process memory.

When we're panicking during early boot, CURRENT_PROCESS is None and this panics in the panic handler.

We should instead do a second function that maps it in the k

Improve this page

Add a description, image, and links to the osdev topic page so that developers can more easily learn about it.

Curate this topic

Add this topic to your repo

To associate your repository with the osdev topic, visit your repo's landing page and select "manage topics."

Learn more