1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-25 19:05:07 +00:00
serenity/Kernel/Arch/i386
Tom 78f1b5e359 Kernel: Fix some problems with Thread::wait_on and Lock
This changes the Thread::wait_on function to not enable interrupts
upon leaving, which caused some problems with page fault handlers
and in other situations. It may now be called from critical
sections, with interrupts enabled or disabled, and returns to the
same state.

This also requires some fixes to Lock. To aid debugging, a new
define LOCK_DEBUG is added that enables checking for Lock leaks
upon finalization of a Thread.
2020-12-01 09:48:34 +01:00
..
Boot Kernel: Tell the bootloader to put us into graphics mode 2020-08-01 07:57:29 +02:00
CPU.cpp Kernel: Allow passing a thread argument for new kernel threads 2020-11-30 13:17:02 +01:00
CPU.h Kernel: Fix some problems with Thread::wait_on and Lock 2020-12-01 09:48:34 +01:00
Interrupts.h Meta+Kernel: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00
ISRStubs.h Kernel: Add SMP IPI support 2020-07-06 17:07:44 +02:00
ProcessorInfo.cpp Kernel: Add some CPU feature flags related to TSC 2020-10-08 10:00:39 +02:00
ProcessorInfo.h Meta+Kernel: Make clang-format-10 clean 2020-09-25 21:18:17 +02:00