1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 23:17:45 +00:00

Kernel: Move all tasks-related code to the Tasks subdirectory

This commit is contained in:
Liav A 2023-02-24 19:45:37 +02:00 committed by Jelle Raaijmakers
parent 788022d5d1
commit 1b04726c85
184 changed files with 245 additions and 243 deletions

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
#include <Kernel/Time/TimeManagement.h>
#include <Kernel/TimerQueue.h>

View file

@ -7,7 +7,7 @@
#include <Kernel/FileSystem/AnonymousFile.h>
#include <Kernel/FileSystem/OpenFileDescription.h>
#include <Kernel/Memory/AnonymousVMObject.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -8,7 +8,7 @@
#if ARCH(X86_64)
# include <Kernel/Arch/x86_64/PCSpeaker.h>
#endif
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -7,7 +7,7 @@
#include <AK/RefPtr.h>
#include <Kernel/FileSystem/Custody.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -7,7 +7,7 @@
#include <AK/StringView.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -8,7 +8,7 @@
#include <Kernel/FileSystem/Custody.h>
#include <Kernel/FileSystem/OpenFileDescription.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -5,7 +5,7 @@
*/
#include <AK/Time.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
#include <Kernel/Time/TimeManagement.h>
namespace Kernel {

View file

@ -5,7 +5,7 @@
*/
#include <Kernel/KSyms.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
#include <Kernel/UserOrKernelBuffer.h>
#include <Kernel/kstdio.h>

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -5,7 +5,7 @@
*/
#include <Kernel/FileSystem/OpenFileDescription.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -17,9 +17,9 @@
#include <Kernel/Memory/SharedInodeVMObject.h>
#include <Kernel/Panic.h>
#include <Kernel/PerformanceManager.h>
#include <Kernel/Process.h>
#include <Kernel/Random.h>
#include <Kernel/Scheduler.h>
#include <Kernel/Tasks/Process.h>
#include <Kernel/Tasks/Scheduler.h>
#include <Kernel/Time/TimeManagement.h>
#include <LibELF/AuxiliaryVector.h>
#include <LibELF/Image.h>

View file

@ -6,8 +6,8 @@
#include <Kernel/KSyms.h>
#include <Kernel/PerformanceManager.h>
#include <Kernel/Process.h>
#include <Kernel/Thread.h>
#include <Kernel/Tasks/Process.h>
#include <Kernel/Tasks/Thread.h>
namespace Kernel {

View file

@ -6,7 +6,7 @@
#include <AK/StringView.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -8,7 +8,7 @@
#include <Kernel/FileSystem/Inode.h>
#include <Kernel/FileSystem/InodeFile.h>
#include <Kernel/FileSystem/OpenFileDescription.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -6,7 +6,7 @@
#include <Kernel/Debug.h>
#include <Kernel/FileSystem/OpenFileDescription.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -9,9 +9,9 @@
#include <Kernel/FileSystem/Custody.h>
#include <Kernel/Memory/Region.h>
#include <Kernel/PerformanceManager.h>
#include <Kernel/Process.h>
#include <Kernel/Scheduler.h>
#include <Kernel/TTY/TTY.h>
#include <Kernel/Tasks/Process.h>
#include <Kernel/Tasks/Scheduler.h>
namespace Kernel {

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -5,7 +5,7 @@
*/
#include <Kernel/FileSystem/OpenFileDescription.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -9,7 +9,7 @@
#include <Kernel/Debug.h>
#include <Kernel/Memory/InodeVMObject.h>
#include <Kernel/Memory/MemoryManager.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -5,7 +5,7 @@
*/
#include <Kernel/FileSystem/OpenFileDescription.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -5,7 +5,7 @@
*/
#include <Kernel/Memory/Region.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Process.h>
#include <Kernel/Random.h>
#include <Kernel/Tasks/Process.h>
#include <Kernel/UserOrKernelBuffer.h>
namespace Kernel {

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -10,7 +10,7 @@
#include <Kernel/FileSystem/InodeWatcher.h>
#include <Kernel/FileSystem/OpenFileDescription.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -7,7 +7,7 @@
#include <AK/Userspace.h>
#include <Kernel/API/Ioctl.h>
#include <Kernel/FileSystem/OpenFileDescription.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -6,9 +6,9 @@
#include <AK/Userspace.h>
#include <Kernel/API/Jail.h>
#include <Kernel/Process.h>
#include <Kernel/Security/Jail.h>
#include <Kernel/StdLib.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -5,7 +5,7 @@
*/
#include <Kernel/Devices/HID/Management.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -6,7 +6,7 @@
#include <AK/StringView.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -5,7 +5,7 @@
*/
#include <Kernel/FileSystem/OpenFileDescription.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -6,7 +6,7 @@
#include <AK/StringView.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -6,7 +6,7 @@
#include <AK/StringView.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -19,7 +19,7 @@
#include <Kernel/Memory/SharedInodeVMObject.h>
#include <Kernel/PerformanceEventBuffer.h>
#include <Kernel/PerformanceManager.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
#include <LibELF/Validation.h>
#if ARCH(X86_64)

View file

@ -14,7 +14,7 @@
#include <Kernel/FileSystem/RAMFS/FileSystem.h>
#include <Kernel/FileSystem/SysFS/FileSystem.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -10,7 +10,7 @@
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/KLexicalPath.h>
#include <Kernel/Net/LocalSocket.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -5,7 +5,7 @@
*/
#include <Kernel/PerformanceEventBuffer.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -5,7 +5,7 @@
*/
#include <Kernel/FileSystem/FIFO.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -5,7 +5,7 @@
*/
#include <AK/StringView.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -9,7 +9,7 @@
#include <Kernel/API/POSIX/select.h>
#include <Kernel/Debug.h>
#include <Kernel/FileSystem/OpenFileDescription.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -5,7 +5,7 @@
*/
#include <Kernel/API/prctl_numbers.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -5,7 +5,7 @@
*/
#include <AK/Types.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -6,8 +6,8 @@
#include <Kernel/Coredump.h>
#include <Kernel/PerformanceManager.h>
#include <Kernel/Process.h>
#include <Kernel/Scheduler.h>
#include <Kernel/Tasks/Process.h>
#include <Kernel/Tasks/Scheduler.h>
#include <Kernel/Time/TimeManagement.h>
namespace Kernel {

View file

@ -10,9 +10,9 @@
#include <Kernel/Memory/Region.h>
#include <Kernel/Memory/ScopedAddressSpaceSwitcher.h>
#include <Kernel/Memory/SharedInodeVMObject.h>
#include <Kernel/Process.h>
#include <Kernel/Scheduler.h>
#include <Kernel/ThreadTracer.h>
#include <Kernel/Tasks/Process.h>
#include <Kernel/Tasks/Scheduler.h>
#include <Kernel/Tasks/ThreadTracer.h>
namespace Kernel {

View file

@ -7,7 +7,7 @@
#include <Kernel/Memory/AnonymousVMObject.h>
#include <Kernel/Memory/InodeVMObject.h>
#include <Kernel/Memory/MemoryManager.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -7,7 +7,7 @@
#include <Kernel/Debug.h>
#include <Kernel/FileSystem/OpenFileDescription.h>
#include <Kernel/PerformanceManager.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -6,7 +6,7 @@
#include <AK/StringView.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -7,7 +7,7 @@
#include <AK/StringView.h>
#include <Kernel/FileSystem/Custody.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -6,7 +6,7 @@
#include <AK/StringView.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
#include <Kernel/Time/TimeManagement.h>
namespace Kernel {

View file

@ -6,7 +6,7 @@
#include <AK/StringView.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -6,8 +6,8 @@
*/
#include <Kernel/API/Syscall.h>
#include <Kernel/Process.h>
#include <Kernel/Scheduler.h>
#include <Kernel/Tasks/Process.h>
#include <Kernel/Tasks/Scheduler.h>
namespace Kernel {

View file

@ -6,7 +6,7 @@
#include <Kernel/FileSystem/OpenFileDescription.h>
#include <Kernel/Net/LocalSocket.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -4,8 +4,8 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Process.h>
#include <Kernel/TTY/TTY.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -5,7 +5,7 @@
*/
#include <Kernel/API/POSIX/sys/limits.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -7,7 +7,7 @@
#include <Kernel/Arch/SmapDisabler.h>
#include <Kernel/InterruptDisabler.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -7,7 +7,7 @@
#include <AK/ByteBuffer.h>
#include <Kernel/FileSystem/OpenFileDescription.h>
#include <Kernel/Net/LocalSocket.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
#include <Kernel/UnixTypes.h>
namespace Kernel {

View file

@ -7,7 +7,7 @@
#include <AK/RefPtr.h>
#include <Kernel/FileSystem/Custody.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -6,7 +6,7 @@
#include <Kernel/FileSystem/Custody.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -5,7 +5,7 @@
*/
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -6,7 +6,7 @@
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/Memory/MemoryManager.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
#include <Kernel/Time/TimeManagement.h>
namespace Kernel {

View file

@ -7,8 +7,8 @@
#include <AK/Checked.h>
#include <Kernel/Memory/MemoryManager.h>
#include <Kernel/PerformanceManager.h>
#include <Kernel/Process.h>
#include <Kernel/Scheduler.h>
#include <Kernel/Tasks/Process.h>
#include <Kernel/Tasks/Scheduler.h>
namespace Kernel {

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
#include <Kernel/Time/TimeManagement.h>
namespace Kernel {

View file

@ -4,7 +4,7 @@
* SPDX-License-Identifier: BSD-2-Clause
*/
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -6,7 +6,7 @@
*/
#include <AK/TypedTransfer.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
#include <Kernel/Version.h>
namespace Kernel {

View file

@ -6,7 +6,7 @@
#include <AK/StringView.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -11,7 +11,7 @@
#include <Kernel/FileSystem/Custody.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/KLexicalPath.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -6,7 +6,7 @@
#include <AK/StringView.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -8,7 +8,7 @@
#include <AK/StringView.h>
#include <Kernel/FileSystem/VirtualFileSystem.h>
#include <Kernel/KLexicalPath.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -6,7 +6,7 @@
#include <AK/Variant.h>
#include <Kernel/Debug.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {

View file

@ -7,7 +7,7 @@
#include <AK/NumericLimits.h>
#include <Kernel/Debug.h>
#include <Kernel/FileSystem/OpenFileDescription.h>
#include <Kernel/Process.h>
#include <Kernel/Tasks/Process.h>
namespace Kernel {