summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/SystemKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-03-04 05:20:58 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2025-03-04 05:20:58 +0100
commitd62341f615974257eac4125ab68be519efcf0a6e (patch)
treea68661ff4108eb294e06c16319b8f938e3b2ff3a /dev/Kernel/SystemKit
parentfe61c5e33bd2a739885f3f7edc3c0c0798f918c7 (diff)
CHORE&FEAT: Kernel/SCI: Lots of Chore and feat, see below.
- Add traits for CmdListEntry in GPU's SCI. (GPU.h) - Set standard user directory as /user/ instead of /usr/. (User.cc/User.h) - Replace fSourcePid with fPID. (HardwareThreadScheduler.cc/HardwareThreadScheduler.h)
Diffstat (limited to 'dev/Kernel/SystemKit')
-rw-r--r--dev/Kernel/SystemKit/SwapDisk.h12
1 files changed, 6 insertions, 6 deletions
diff --git a/dev/Kernel/SystemKit/SwapDisk.h b/dev/Kernel/SystemKit/SwapDisk.h
index 16413bf5..e46b57ea 100644
--- a/dev/Kernel/SystemKit/SwapDisk.h
+++ b/dev/Kernel/SystemKit/SwapDisk.h
@@ -18,7 +18,7 @@
namespace NeOS
{
- struct SWAP_DISK_HEADER;
+ struct SwapDiskHdr;
/// @brief This class is a disk swap delegate for any data. available as a syscall too.
class SwapDisk final
@@ -29,11 +29,11 @@ namespace NeOS
NE_COPY_DEFAULT(SwapDisk);
- BOOL Write(const Char* fork_name, const SizeT fork_name_len, SWAP_DISK_HEADER* data, const SizeT data_len);
- SWAP_DISK_HEADER* Read(const Char* fork_name, const SizeT fork_name_len, const SizeT data_len);
+ BOOL Write(const Char* fork_name, const SizeT fork_name_len, SwapDiskHdr* data, const SizeT data_len);
+ SwapDiskHdr* Read(const Char* fork_name, const SizeT fork_name_len, const SizeT data_len);
};
- typedef struct SWAP_DISK_HEADER
+ typedef struct SwapDiskHdr
{
UInt32 fMagic;
SizeT fHeaderSz;
@@ -42,7 +42,7 @@ namespace NeOS
UInt64 fVirtualAddress;
SizeT fBlobSz;
Char fBlob[];
- } PACKED SWAP_DISK_HEADER;
+ } PACKED SwapDiskHdr;
- typedef SWAP_DISK_HEADER* SWAP_DISK_HEADER_REF;
+ typedef SwapDiskHdr* SwapDiskHdrRef;
} // namespace NeOS