mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-12-26 12:41:59 +03:00
Kernel: Move a bunch of generic devices code into new subdirectory
This commit is contained in:
parent
9eeda5719e
commit
4617c05a08
Notes:
sideshowbarker
2024-07-16 22:14:49 +09:00
Author: https://github.com/supercomputer7 Commit: https://github.com/SerenityOS/serenity/commit/4617c05a08 Pull-request: https://github.com/SerenityOS/serenity/pull/17909 Reviewed-by: https://github.com/Panky-codes ✅ Reviewed-by: https://github.com/gmta ✅
@ -14,18 +14,18 @@
|
||||
#include <Kernel/Bus/VirtIO/Device.h>
|
||||
#include <Kernel/CommandLine.h>
|
||||
#include <Kernel/Devices/Audio/Management.h>
|
||||
#include <Kernel/Devices/DeviceControlDevice.h>
|
||||
#include <Kernel/Devices/DeviceManagement.h>
|
||||
#include <Kernel/Devices/FullDevice.h>
|
||||
#include <Kernel/Devices/Generic/DeviceControlDevice.h>
|
||||
#include <Kernel/Devices/Generic/FullDevice.h>
|
||||
#include <Kernel/Devices/Generic/MemoryDevice.h>
|
||||
#include <Kernel/Devices/Generic/NullDevice.h>
|
||||
#include <Kernel/Devices/Generic/RandomDevice.h>
|
||||
#include <Kernel/Devices/Generic/SelfTTYDevice.h>
|
||||
#include <Kernel/Devices/Generic/ZeroDevice.h>
|
||||
#include <Kernel/Devices/HID/Management.h>
|
||||
#include <Kernel/Devices/KCOVDevice.h>
|
||||
#include <Kernel/Devices/MemoryDevice.h>
|
||||
#include <Kernel/Devices/NullDevice.h>
|
||||
#include <Kernel/Devices/PCISerialDevice.h>
|
||||
#include <Kernel/Devices/RandomDevice.h>
|
||||
#include <Kernel/Devices/SelfTTYDevice.h>
|
||||
#include <Kernel/Devices/SerialDevice.h>
|
||||
#include <Kernel/Devices/ZeroDevice.h>
|
||||
#include <Kernel/FileSystem/SysFS/Registry.h>
|
||||
#include <Kernel/FileSystem/SysFS/Subsystems/Firmware/Directory.h>
|
||||
#include <Kernel/FileSystem/VirtualFileSystem.h>
|
||||
|
@ -55,23 +55,23 @@ set(KERNEL_SOURCES
|
||||
Devices/Audio/Management.cpp
|
||||
Devices/BlockDevice.cpp
|
||||
Devices/CharacterDevice.cpp
|
||||
Devices/ConsoleDevice.cpp
|
||||
Devices/Device.cpp
|
||||
Devices/DeviceControlDevice.cpp
|
||||
Devices/DeviceManagement.cpp
|
||||
Devices/FullDevice.cpp
|
||||
Devices/KCOVDevice.cpp
|
||||
Devices/KCOVInstance.cpp
|
||||
Devices/MemoryDevice.cpp
|
||||
Devices/NullDevice.cpp
|
||||
Devices/PCISerialDevice.cpp
|
||||
Devices/RandomDevice.cpp
|
||||
Devices/SelfTTYDevice.cpp
|
||||
Devices/SerialDevice.cpp
|
||||
Devices/ZeroDevice.cpp
|
||||
Devices/HID/KeyboardDevice.cpp
|
||||
Devices/HID/Management.cpp
|
||||
Devices/HID/MouseDevice.cpp
|
||||
Devices/Generic/ConsoleDevice.cpp
|
||||
Devices/Generic/DeviceControlDevice.cpp
|
||||
Devices/Generic/FullDevice.cpp
|
||||
Devices/Generic/MemoryDevice.cpp
|
||||
Devices/Generic/NullDevice.cpp
|
||||
Devices/Generic/RandomDevice.cpp
|
||||
Devices/Generic/SelfTTYDevice.cpp
|
||||
Devices/Generic/ZeroDevice.cpp
|
||||
Graphics/Bochs/GraphicsAdapter.cpp
|
||||
Graphics/Bochs/QEMUDisplayConnector.cpp
|
||||
Graphics/Console/BootFramebufferConsole.cpp
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <Kernel/API/Ioctl.h>
|
||||
#include <Kernel/Devices/Audio/Management.h>
|
||||
#include <Kernel/Devices/DeviceManagement.h>
|
||||
#include <Kernel/Devices/RandomDevice.h>
|
||||
#include <Kernel/Devices/Generic/RandomDevice.h>
|
||||
#include <Kernel/Random.h>
|
||||
#include <Kernel/Sections.h>
|
||||
|
||||
|
@ -14,10 +14,10 @@
|
||||
#include <Kernel/API/TimePage.h>
|
||||
#include <Kernel/Arch/RegisterState.h>
|
||||
#include <Kernel/Devices/CharacterDevice.h>
|
||||
#include <Kernel/Devices/ConsoleDevice.h>
|
||||
#include <Kernel/Devices/Device.h>
|
||||
#include <Kernel/Devices/DeviceControlDevice.h>
|
||||
#include <Kernel/Devices/NullDevice.h>
|
||||
#include <Kernel/Devices/Generic/ConsoleDevice.h>
|
||||
#include <Kernel/Devices/Generic/DeviceControlDevice.h>
|
||||
#include <Kernel/Devices/Generic/NullDevice.h>
|
||||
#include <Kernel/Library/LockRefPtr.h>
|
||||
#include <Kernel/UnixTypes.h>
|
||||
|
||||
|
@ -8,8 +8,8 @@
|
||||
#if ARCH(X86_64)
|
||||
# include <Kernel/Arch/x86_64/BochsDebugOutput.h>
|
||||
#endif
|
||||
#include <Kernel/Devices/ConsoleDevice.h>
|
||||
#include <Kernel/Devices/DeviceManagement.h>
|
||||
#include <Kernel/Devices/Generic/ConsoleDevice.h>
|
||||
#include <Kernel/Locking/Spinlock.h>
|
||||
#include <Kernel/Sections.h>
|
||||
#include <Kernel/kstdio.h>
|
@ -4,8 +4,8 @@
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <Kernel/Devices/DeviceControlDevice.h>
|
||||
#include <Kernel/Devices/DeviceManagement.h>
|
||||
#include <Kernel/Devices/Generic/DeviceControlDevice.h>
|
||||
|
||||
namespace Kernel {
|
||||
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <Kernel/API/POSIX/errno.h>
|
||||
#include <Kernel/Devices/DeviceManagement.h>
|
||||
#include <Kernel/Devices/FullDevice.h>
|
||||
#include <Kernel/Devices/Generic/FullDevice.h>
|
||||
#include <Kernel/Sections.h>
|
||||
|
||||
namespace Kernel {
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <Kernel/Devices/DeviceManagement.h>
|
||||
#include <Kernel/Devices/MemoryDevice.h>
|
||||
#include <Kernel/Devices/Generic/MemoryDevice.h>
|
||||
#include <Kernel/Memory/AnonymousVMObject.h>
|
||||
#include <Kernel/Memory/TypedMapping.h>
|
||||
#include <Kernel/Sections.h>
|
@ -6,7 +6,7 @@
|
||||
|
||||
#include <AK/Singleton.h>
|
||||
#include <Kernel/Devices/DeviceManagement.h>
|
||||
#include <Kernel/Devices/NullDevice.h>
|
||||
#include <Kernel/Devices/Generic/NullDevice.h>
|
||||
#include <Kernel/Sections.h>
|
||||
|
||||
namespace Kernel {
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <Kernel/Devices/DeviceManagement.h>
|
||||
#include <Kernel/Devices/RandomDevice.h>
|
||||
#include <Kernel/Devices/Generic/RandomDevice.h>
|
||||
#include <Kernel/Random.h>
|
||||
#include <Kernel/Sections.h>
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <Kernel/Devices/DeviceManagement.h>
|
||||
#include <Kernel/Devices/SelfTTYDevice.h>
|
||||
#include <Kernel/Devices/Generic/SelfTTYDevice.h>
|
||||
#include <Kernel/Sections.h>
|
||||
#include <Kernel/TTY/TTY.h>
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <Kernel/Devices/DeviceManagement.h>
|
||||
#include <Kernel/Devices/ZeroDevice.h>
|
||||
#include <Kernel/Devices/Generic/ZeroDevice.h>
|
||||
#include <Kernel/Sections.h>
|
||||
|
||||
namespace Kernel {
|
@ -4,8 +4,8 @@
|
||||
* SPDX-License-Identifier: BSD-2-Clause
|
||||
*/
|
||||
|
||||
#include <Kernel/Devices/ConsoleDevice.h>
|
||||
#include <Kernel/Devices/DeviceManagement.h>
|
||||
#include <Kernel/Devices/Generic/ConsoleDevice.h>
|
||||
#include <Kernel/FileSystem/SysFS/Subsystems/Kernel/Log.h>
|
||||
#include <Kernel/Sections.h>
|
||||
|
||||
|
@ -7,7 +7,7 @@
|
||||
#include <AK/Singleton.h>
|
||||
#include <AK/Time.h>
|
||||
#include <Kernel/Debug.h>
|
||||
#include <Kernel/Devices/RandomDevice.h>
|
||||
#include <Kernel/Devices/Generic/RandomDevice.h>
|
||||
#include <Kernel/FileSystem/OpenFileDescription.h>
|
||||
#include <Kernel/Locking/MutexProtected.h>
|
||||
#include <Kernel/Net/EthernetFrameHeader.h>
|
||||
|
@ -5,7 +5,7 @@
|
||||
*/
|
||||
|
||||
#include <AK/Singleton.h>
|
||||
#include <Kernel/Devices/RandomDevice.h>
|
||||
#include <Kernel/Devices/Generic/RandomDevice.h>
|
||||
#include <Kernel/Net/NetworkAdapter.h>
|
||||
#include <Kernel/Net/Routing.h>
|
||||
#include <Kernel/Net/UDP.h>
|
||||
|
@ -21,7 +21,7 @@
|
||||
#include <Kernel/API/POSIX/errno.h>
|
||||
#include <Kernel/API/POSIX/sys/limits.h>
|
||||
#include <Kernel/Arch/PageDirectory.h>
|
||||
#include <Kernel/Devices/NullDevice.h>
|
||||
#include <Kernel/Devices/Generic/NullDevice.h>
|
||||
#include <Kernel/FileSystem/Custody.h>
|
||||
#include <Kernel/FileSystem/OpenFileDescription.h>
|
||||
#include <Kernel/FileSystem/VirtualFileSystem.h>
|
||||
|
@ -13,7 +13,7 @@
|
||||
#elif ARCH(AARCH64)
|
||||
# include <Kernel/Arch/aarch64/ASM_wrapper.h>
|
||||
#endif
|
||||
#include <Kernel/Devices/RandomDevice.h>
|
||||
#include <Kernel/Devices/Generic/RandomDevice.h>
|
||||
#include <Kernel/Random.h>
|
||||
#include <Kernel/Sections.h>
|
||||
#include <Kernel/Time/TimeManagement.h>
|
||||
|
@ -10,7 +10,7 @@
|
||||
#include <AK/Noncopyable.h>
|
||||
#include <AK/Vector.h>
|
||||
#include <Kernel/API/KeyCode.h>
|
||||
#include <Kernel/Devices/ConsoleDevice.h>
|
||||
#include <Kernel/Devices/Generic/ConsoleDevice.h>
|
||||
#include <Kernel/Devices/HID/Management.h>
|
||||
#include <Kernel/Graphics/Console/Console.h>
|
||||
#include <Kernel/TTY/TTY.h>
|
||||
|
@ -11,8 +11,8 @@
|
||||
#if ARCH(X86_64)
|
||||
# include <Kernel/Arch/x86_64/BochsDebugOutput.h>
|
||||
#endif
|
||||
#include <Kernel/Devices/ConsoleDevice.h>
|
||||
#include <Kernel/Devices/DeviceManagement.h>
|
||||
#include <Kernel/Devices/Generic/ConsoleDevice.h>
|
||||
#include <Kernel/Devices/PCISerialDevice.h>
|
||||
#include <Kernel/Graphics/Console/BootFramebufferConsole.h>
|
||||
#include <Kernel/Graphics/GraphicsManagement.h>
|
||||
|
Loading…
Reference in New Issue
Block a user