1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2026-01-14 02:20:59 +00:00
serenity/Kernel/Graphics
Brian Gianforcaro bad6d50b86 Kernel: Use Process::require_promise() instead of REQUIRE_PROMISE()
This change lays the foundation for making the require_promise return
an error hand handling the process abort outside of the syscall
implementations, to avoid cases where we would leak resources.

It also has the advantage that it makes removes a gs pointer read
to look up the current thread, then process for every syscall. We
can instead go through the Process this pointer in most cases.
2021-12-29 18:08:15 +01:00
..
Bochs Kernel: Remove the kmalloc_eternal heap :^) 2021-12-28 21:02:38 +01:00
Console Kernel: Propagate overflow errors from Memory::page_round_up 2021-12-28 23:08:50 +01:00
Intel Kernel: Remove the kmalloc_eternal heap :^) 2021-12-28 21:02:38 +01:00
VirtIOGPU Kernel: Use Process::require_promise() instead of REQUIRE_PROMISE() 2021-12-29 18:08:15 +01:00
Definitions.h Kernel: Switch static_asserts of a type size to AK::AssertSize 2021-09-05 20:08:57 +02:00
FramebufferDevice.cpp Kernel: Use Process::require_promise() instead of REQUIRE_PROMISE() 2021-12-29 18:08:15 +01:00
FramebufferDevice.h Kernel: Remove the kmalloc_eternal heap :^) 2021-12-28 21:02:38 +01:00
GenericFramebufferDevice.cpp Kernel: Use Process::require_promise() instead of REQUIRE_PROMISE() 2021-12-29 18:08:15 +01:00
GenericFramebufferDevice.h Kernel: Remove the kmalloc_eternal heap :^) 2021-12-28 21:02:38 +01:00
GenericGraphicsAdapter.h Kernel: Remove unused String.h includes 2021-12-11 13:15:26 -08:00
GraphicsManagement.cpp Kernel/Graphics: Rename GraphicsDevice => GenericGraphicsAdapter 2021-10-27 07:57:44 +03:00
GraphicsManagement.h Kernel: Remove the kmalloc_eternal heap :^) 2021-12-28 21:02:38 +01:00
VGACompatibleAdapter.cpp Kernel: Replace KResult and KResultOr<T> with Error and ErrorOr<T> 2021-11-08 01:10:53 +01:00
VGACompatibleAdapter.h Kernel: Remove the kmalloc_eternal heap :^) 2021-12-28 21:02:38 +01:00