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

osdev

Here are 424 public repositories matching this topic...

nanos
wjhun
wjhun commented 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 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

You can’t perform that action at this time.