summaryrefslogtreecommitdiffhomepage
path: root/dev/Kernel/SystemKit/Swap.h
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-12-29 09:57:48 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-12-29 09:57:48 +0100
commit8b7216aaf2dacad7ce67d734d07b047fed8ec01e (patch)
tree7af56dd646a4d12a25024da7ad5e6406ff98f124 /dev/Kernel/SystemKit/Swap.h
parent5b1bb6cc086047e99a1d246fd2d337bf76887bd8 (diff)
IMPL: NeFS: Add file lock feature and validation for it.
- It is added to hide files from indexing. - And will be used to hide system files. IMPL: Swap: Add SwapDiskDelegate class, will also work on a swap packet structure. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/Kernel/SystemKit/Swap.h')
-rw-r--r--dev/Kernel/SystemKit/Swap.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/dev/Kernel/SystemKit/Swap.h b/dev/Kernel/SystemKit/Swap.h
new file mode 100644
index 00000000..5d9d1ade
--- /dev/null
+++ b/dev/Kernel/SystemKit/Swap.h
@@ -0,0 +1,18 @@
+
+/* -------------------------------------------
+
+ Copyright (C) 2024, Theater Quality Corp, all rights reserved.
+
+------------------------------------------- */
+
+#pragma once
+
+#include <NewKit/Defines.h>
+
+#define kSwapMgrBlockMaxSize mib_cast(16)
+#define KSwapMgrBlockMagic "SWEP "
+
+#define kSwapMgrPageFile "/System/pagefile.sys"
+
+/// @file Swap.h
+/// @brief Virtual memory swap API.