1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-10-23 21:42:07 +00:00
serenity/Kernel/Arch/x86
Idan Horowitz cf271183b4 Kernel: Make Process::current() return a Process& instead of Process*
This has several benefits:
1) We no longer just blindly derefence a null pointer in various places
2) We will get nicer runtime error messages if the current process does
turn out to be null in the call location
3) GCC no longer complains about possible nullptr dereferences when
compiling without KUBSAN
2021-08-19 23:49:53 +02:00
..
common Kernel: Make Process::current() return a Process& instead of Process* 2021-08-19 23:49:53 +02:00
i386 Kernel/SMP: Make entering/leaving critical sections multi-processor safe 2021-08-10 02:49:37 +02:00
x86_64 Kernel/SMP: Make entering/leaving critical sections multi-processor safe 2021-08-10 02:49:37 +02:00
ASM_wrapper.h Kernel: Disambiguate instruction size for mov in read_gs_ptr 2021-08-11 12:34:47 +02:00
CPU.h Kernel: Mark read only RegisterState function parameters as const 2021-07-20 03:21:14 +02:00
CPUID.h Kernel: Add support for hypervisor CPUID feature 2021-07-14 13:52:34 +02:00
DescriptorTable.h Kernel: Fix GDT and segment selectors to make userland work on x86_64 2021-06-28 22:29:28 +02:00
InterruptDisabler.h Kernel: Pull apart CPU.h 2021-06-24 00:38:23 +02:00
Interrupts.h Kernel: Don't byteswap the ISR number on interrupt entry 2021-07-01 23:36:17 +02:00
ISRStubs.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00
MSR.h Kernel: Hide the implementation detail that MSRs use two registers 2021-07-04 01:07:28 +02:00
PageDirectory.h Kernel: Move Kernel/Memory/ code into Kernel::Memory namespace 2021-08-06 14:05:58 +02:00
PageFault.h Kernel: Pull apart CPU.h 2021-06-24 00:38:23 +02:00
Processor.h Kernel/SMP: Change critical sections to not disable interrupts 2021-08-10 02:49:37 +02:00
ProcessorInfo.h Kernel: Pull apart CPU.h 2021-06-24 00:38:23 +02:00
RegisterState.h Kernel: Consolidate a bunch of i386/x86_64 code paths 2021-08-19 23:22:02 +02:00
SafeMem.h Kernel: Implement safe_* memory access functions for x86_64 2021-06-27 15:46:42 +02:00
ScopedCritical.h Kernel/SMP: Change critical sections to not disable interrupts 2021-08-10 02:49:37 +02:00
SmapDisabler.h Kernel: Pull apart CPU.h 2021-06-24 00:38:23 +02:00
TrapFrame.h Kernel: Fix building the kernel with LTO 2021-07-02 17:51:26 +02:00
TSS.h Everything: Move to SPDX license identifiers in all files. 2021-04-22 11:22:27 +02:00