1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 07:48:11 +00:00
serenity/Kernel/FileSystem/SysFS/Subsystems
Liav A 61f4914d6e Kernel+Userland: Add constants subdirectory at /sys/kernel directory
This subdirectory is meant to hold all constant data related to the
kernel. This means that this data is never meant to updated and is
relevant from system boot to system shutdown.
Move the inodes of "load_base", "cmdline" and "system_mode" to that
directory. All nodes under this new subdirectory are generated during
boot, and therefore don't require calling kmalloc each time we need to
read them. Locking is also not necessary, because these nodes and their
data are completely static once being generated.
2023-02-19 13:47:11 +01:00
..
Bus Kernel/PCI: Expose PCI option ROM data from the sysfs interface 2023-01-26 23:04:26 +01:00
DeviceIdentifiers Kernel: Make self-contained locking smart pointers their own classes 2022-08-20 17:20:43 +02:00
Devices Kernel: Remove unused includes of Kernel/Debug.h 2023-01-02 20:27:20 -05:00
Firmware Kernel: Split the SysFS core files into smaller components 2022-11-08 02:54:48 -07:00
Kernel Kernel+Userland: Add constants subdirectory at /sys/kernel directory 2023-02-19 13:47:11 +01:00