1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 17:28:11 +00:00
serenity/Kernel/Arch
Sönke Holz d0e3065ced Kernel/riscv64: Don't touch reserved fields of the sstatus CSR in boot.S
Multiple fields in sstatus are defined as WPRI "Reserved Writes Preserve
Values, Reads Ignore Values", which means we have to preserve their
values when writing to other fields in the same CSR.

We don't really need to touch any fields except SIE.
Interrupts are probably already disabled, but just to be safe,
disable them explicitly.
2024-02-08 08:13:47 -07:00
..
aarch64 Kernel/aarch64: Unbreak RPi framebuffer boot console 2023-11-30 13:13:54 -07:00
riscv64 Kernel/riscv64: Don't touch reserved fields of the sstatus CSR in boot.S 2024-02-08 08:13:47 -07:00
x86_64 Kernel+Userland: Implement support for PS2 scan code set 2 2024-01-04 10:38:03 -07:00
CPU.h Kernel/riscv64: Make the kernel compile 2023-11-10 15:51:31 -07:00
CPUID.h Kernel/riscv64: Add RISC-V Processor class 2023-10-28 10:36:06 -06:00
CurrentTime.h Kernel: Abstract platform-specific current time methods from Scheduler 2022-10-14 14:13:51 +02:00
DebugOutput.h Kernel: Abstract platform-specific serial port access from kprintf 2022-09-20 18:43:05 +01:00
DeferredCallEntry.h Kernel: Extract DeferredCallEntry from Arch/Processor.h 2021-12-11 13:23:27 -08:00
DeferredCallPool.cpp Kernel: Move deferred call code into separate DeferredCallPool class 2023-04-03 20:01:28 -06:00
DeferredCallPool.h Kernel: Move deferred call code into separate DeferredCallPool class 2023-04-03 20:01:28 -06:00
Delay.h Kernel: Move IO delay code to x86 architecture subdirectory 2022-09-20 18:43:05 +01:00
FPUState.h Kernel/riscv64: Add register state related headers 2023-10-28 10:36:06 -06:00
init.cpp Kernel/riscv64: Add QEMU virt machine memory map 2024-02-08 07:16:20 -07:00
InterruptManagement.h Kernel/riscv64: Make the kernel compile 2023-11-10 15:51:31 -07:00
Interrupts.h Kernel/riscv64: Make the kernel compile 2023-11-10 15:51:31 -07:00
IRQController.h Kernel/riscv64: Make the kernel compile 2023-11-10 15:51:31 -07:00
mcontext.h Toolchain: Add (basic) support for riscv64 2023-08-11 09:20:08 +02:00
PageDirectory.h Kernel/riscv64: Make the kernel compile 2023-11-10 15:51:31 -07:00
PageFault.cpp Kernel: Move Performance-measurement code to the Tasks subdirectory 2023-06-04 21:32:34 +02:00
PageFault.h Kernel: Move ExecutionMode.h to the Security subdirectory 2023-06-04 21:32:34 +02:00
PCIMSI.h Kernel/riscv64: Make the kernel compile 2023-11-10 15:51:31 -07:00
PowerState.h Kernel: Simplify reboot & poweroff code flow a bit 2023-06-27 20:04:42 +02:00
Processor.cpp Kernel: Share Processor class (and others) across architectures 2023-10-03 16:08:29 -06:00
Processor.h Kernel/riscv64: Add RISC-V Processor class 2023-10-28 10:36:06 -06:00
ProcessorFunctions.include Kernel: Share Processor class (and others) across architectures 2023-10-03 16:08:29 -06:00
ProcessorSpecificDataID.h Kernel: Extract ProcessorSpecificDataID from from Arch/Processor.h 2021-12-11 13:23:27 -08:00
RegisterState.h Kernel/riscv64: Add register state related headers 2023-10-28 10:36:06 -06:00
SafeMem.h Everywhere: Fix order of includes and #pragma once 2022-09-18 18:30:05 -07:00
SmapDisabler.h Kernel: Split SmapDisabler so header is platform independent 2021-10-15 21:48:45 +01:00
ThreadRegisters.h Kernel/riscv64: Add register state related headers 2023-10-28 10:36:06 -06:00
TrapFrame.cpp Kernel: Share Processor class (and others) across architectures 2023-10-03 16:08:29 -06:00
TrapFrame.h Kernel/riscv64: Add register state related headers 2023-10-28 10:36:06 -06:00