ladybird/Kernel/Forward.h

103 lines
1.9 KiB
C
Raw Normal View History

2020-02-16 00:50:16 +00:00
/*
* Copyright (c) 2020, Andreas Kling <kling@serenityos.org>
*
* SPDX-License-Identifier: BSD-2-Clause
2020-02-16 00:50:16 +00:00
*/
#pragma once
#include <AK/DistinctNumeric.h>
#include <Kernel/API/POSIX/sys/types.h>
2020-02-16 00:50:16 +00:00
namespace Kernel {
enum class LockRank;
2020-02-16 00:50:16 +00:00
class BlockDevice;
class CharacterDevice;
class Coredump;
class Credentials;
2020-02-16 00:50:16 +00:00
class Custody;
2021-07-11 09:49:16 +00:00
class Device;
2020-02-16 00:50:16 +00:00
class DiskCache;
class DoubleBuffer;
class File;
class FATInode;
class OpenFileDescription;
class DisplayConnector;
2021-07-11 09:49:16 +00:00
class FileSystem;
class FutexQueue;
2020-02-16 00:50:16 +00:00
class IPv4Socket;
class Inode;
class InodeIdentifier;
class InodeWatcher;
class MountFile;
class Jail;
2020-02-16 00:50:16 +00:00
class KBuffer;
class KString;
2020-02-16 00:50:16 +00:00
class LocalSocket;
class Mutex;
class MasterPTY;
2021-07-11 09:49:16 +00:00
class Mount;
class PerformanceEventBuffer;
2021-07-11 09:49:16 +00:00
class ProcFS;
class ProcFSInode;
2020-02-16 00:50:16 +00:00
class Process;
class ProcessGroup;
class RAMFS;
template<LockRank Rank>
2021-08-21 23:37:17 +00:00
class RecursiveSpinlock;
2020-02-16 00:50:16 +00:00
class Scheduler;
class Socket;
2021-07-11 09:49:16 +00:00
class SysFS;
class SysFSDirectory;
class SysFSRootDirectory;
class SysFSBusDirectory;
class SysFSDevicesDirectory;
2021-07-11 09:49:16 +00:00
class SysFSDirectoryInode;
class SysFSInode;
2020-02-16 00:50:16 +00:00
class TCPSocket;
class TTY;
2020-02-16 00:50:16 +00:00
class Thread;
2021-07-11 09:49:16 +00:00
class ThreadTracer;
class RAMFSInode;
2020-02-16 00:50:16 +00:00
class UDPSocket;
class UserOrKernelBuffer;
2021-07-11 09:49:16 +00:00
class VirtualFileSystem;
2020-02-16 00:50:16 +00:00
class WaitQueue;
class WorkQueue;
2020-02-16 00:50:16 +00:00
namespace Memory {
class AddressSpace;
class AnonymousVMObject;
class InodeVMObject;
class MappedROM;
class MemoryManager;
class PageDirectory;
class PhysicalPage;
class PhysicalRegion;
class PrivateInodeVMObject;
class Region;
class SharedInodeVMObject;
class VMObject;
class VirtualRange;
}
template<LockRank Rank>
2021-08-21 23:37:17 +00:00
class Spinlock;
2021-07-11 09:49:16 +00:00
template<typename LockType>
class SpinlockLocker;
2020-02-16 00:50:16 +00:00
2021-07-11 09:49:16 +00:00
struct InodeMetadata;
struct TrapFrame;
AK_TYPEDEF_DISTINCT_ORDERED_ID(pid_t, ProcessID);
AK_TYPEDEF_DISTINCT_ORDERED_ID(pid_t, ThreadID);
AK_TYPEDEF_DISTINCT_ORDERED_ID(pid_t, SessionID);
AK_TYPEDEF_DISTINCT_ORDERED_ID(pid_t, ProcessGroupID);
AK_TYPEDEF_DISTINCT_ORDERED_ID(uid_t, UserID);
AK_TYPEDEF_DISTINCT_ORDERED_ID(gid_t, GroupID);
2020-02-16 00:50:16 +00:00
}