mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 14:27:35 +00:00
Everywhere: Move global Kernel pattern code to Kernel/Library directory
This has KString, KBuffer, DoubleBuffer, KBufferBuilder, IOWindow, UserOrKernelBuffer and ScopedCritical classes being moved to the Kernel/Library subdirectory. Also, move the panic and assertions handling code to that directory.
This commit is contained in:
parent
f1cbfc5a6e
commit
7c0540a229
193 changed files with 238 additions and 240 deletions
|
@ -13,7 +13,7 @@
|
|||
#include <Kernel/Devices/Storage/ATA/Definitions.h>
|
||||
#include <Kernel/Devices/Storage/ATA/GenericIDE/Channel.h>
|
||||
#include <Kernel/Devices/Storage/ATA/GenericIDE/Controller.h>
|
||||
#include <Kernel/IOWindow.h>
|
||||
#include <Kernel/Library/IOWindow.h>
|
||||
#include <Kernel/Memory/MemoryManager.h>
|
||||
#include <Kernel/Sections.h>
|
||||
#include <Kernel/Tasks/Process.h>
|
||||
|
|
|
@ -22,8 +22,8 @@
|
|||
#include <Kernel/Devices/Storage/ATA/ATADevice.h>
|
||||
#include <Kernel/Devices/Storage/ATA/ATAPort.h>
|
||||
#include <Kernel/Devices/Storage/StorageDevice.h>
|
||||
#include <Kernel/IOWindow.h>
|
||||
#include <Kernel/Interrupts/IRQHandler.h>
|
||||
#include <Kernel/Library/IOWindow.h>
|
||||
#include <Kernel/Library/LockRefPtr.h>
|
||||
#include <Kernel/Locking/Mutex.h>
|
||||
#include <Kernel/Memory/PhysicalAddress.h>
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
#include <Kernel/Devices/Storage/NVMe/NVMeInterruptQueue.h>
|
||||
#include <Kernel/Devices/Storage/NVMe/NVMePollQueue.h>
|
||||
#include <Kernel/Devices/Storage/NVMe/NVMeQueue.h>
|
||||
#include <Kernel/StdLib.h>
|
||||
#include <Kernel/Library/StdLib.h>
|
||||
|
||||
namespace Kernel {
|
||||
ErrorOr<NonnullLockRefPtr<NVMeQueue>> NVMeQueue::try_create(NVMeController& device, u16 qid, u8 irq, u32 q_depth, OwnPtr<Memory::Region> cq_dma_region, OwnPtr<Memory::Region> sq_dma_region, Memory::TypedMapping<DoorbellRegister volatile> db_regs, QueueType queue_type)
|
||||
|
|
|
@ -10,7 +10,6 @@
|
|||
#include <Kernel/Devices/Storage/SD/Commands.h>
|
||||
#include <Kernel/Devices/Storage/SD/SDHostController.h>
|
||||
#include <Kernel/Devices/Storage/StorageManagement.h>
|
||||
#include <Kernel/Panic.h>
|
||||
#include <Kernel/Time/TimeManagement.h>
|
||||
#if ARCH(AARCH64)
|
||||
# include <Kernel/Arch/aarch64/RPi/SDHostController.h>
|
||||
|
|
|
@ -30,7 +30,7 @@
|
|||
#include <Kernel/Devices/Storage/StorageManagement.h>
|
||||
#include <Kernel/FileSystem/Ext2FS/FileSystem.h>
|
||||
#include <Kernel/FileSystem/VirtualFileSystem.h>
|
||||
#include <Kernel/Panic.h>
|
||||
#include <Kernel/Library/Panic.h>
|
||||
#include <LibPartition/EBRPartitionTable.h>
|
||||
#include <LibPartition/GUIDPartitionTable.h>
|
||||
#include <LibPartition/MBRPartitionTable.h>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue