summaryrefslogtreecommitdiffhomepage
path: root/dev/ZKAKit/KernelKit
diff options
context:
space:
mode:
authorAmlal <amlalelmahrouss@icloud.com>2024-11-30 19:48:33 +0100
committerAmlal <amlalelmahrouss@icloud.com>2024-11-30 19:48:33 +0100
commit98b24c3a90d3c97a06cb553d08369943605efbe0 (patch)
treed5762818e678ec0047d03ccea54108873e6c5f94 /dev/ZKAKit/KernelKit
parentb2588beae1dceeb0a0c5e95976874c6d6d53c703 (diff)
META: Add new error code for CD trays. New Power mgmt and CD-ROM API. Also format code.
Signed-off-by: Amlal <amlalelmahrouss@icloud.com>
Diffstat (limited to 'dev/ZKAKit/KernelKit')
-rw-r--r--dev/ZKAKit/KernelKit/DriveMgr.h1
-rw-r--r--dev/ZKAKit/KernelKit/LPC.h1
-rw-r--r--dev/ZKAKit/KernelKit/LoaderInterface.h6
-rw-r--r--dev/ZKAKit/KernelKit/ThreadLocalStorage.h2
-rw-r--r--dev/ZKAKit/KernelKit/ThreadLocalStorage.inl2
-rw-r--r--dev/ZKAKit/KernelKit/UserProcessScheduler.h2
6 files changed, 7 insertions, 7 deletions
diff --git a/dev/ZKAKit/KernelKit/DriveMgr.h b/dev/ZKAKit/KernelKit/DriveMgr.h
index ffad6feb..a8a410ba 100644
--- a/dev/ZKAKit/KernelKit/DriveMgr.h
+++ b/dev/ZKAKit/KernelKit/DriveMgr.h
@@ -145,7 +145,6 @@ namespace Kernel
private:
DriveTrait mA, mB, mC, mD;
-
};
/// @brief Unimplemented drive.
diff --git a/dev/ZKAKit/KernelKit/LPC.h b/dev/ZKAKit/KernelKit/LPC.h
index 2bf54dd7..68bc9196 100644
--- a/dev/ZKAKit/KernelKit/LPC.h
+++ b/dev/ZKAKit/KernelKit/LPC.h
@@ -55,6 +55,7 @@ namespace Kernel
inline constexpr HError kErrorIPC = 59;
inline constexpr HError kErrorSign = 60;
inline constexpr HError kErrorInvalidCreds = 61;
+ inline constexpr HError kErrorCDTrayBroken = 62;
inline constexpr HError kErrorUnimplemented = 0;
/// @brief Raises a bug check stop code.
diff --git a/dev/ZKAKit/KernelKit/LoaderInterface.h b/dev/ZKAKit/KernelKit/LoaderInterface.h
index a95aae4e..dc9bc477 100644
--- a/dev/ZKAKit/KernelKit/LoaderInterface.h
+++ b/dev/ZKAKit/KernelKit/LoaderInterface.h
@@ -25,9 +25,9 @@ namespace Kernel
public:
virtual _Output ErrorOr<VoidPtr> GetBlob() = 0;
- virtual _Output const Char* AsString() = 0;
- virtual _Output const Char* MIME() = 0;
- virtual _Output const Char* Path() = 0;
+ virtual _Output const Char* AsString() = 0;
+ virtual _Output const Char* MIME() = 0;
+ virtual _Output const Char* Path() = 0;
virtual _Output ErrorOr<VoidPtr> FindStart() = 0;
virtual _Output VoidPtr FindSymbol(_Input const Char* name, _Input Int32 kind) = 0;
};
diff --git a/dev/ZKAKit/KernelKit/ThreadLocalStorage.h b/dev/ZKAKit/KernelKit/ThreadLocalStorage.h
index 18cdbdd8..93e0a9a4 100644
--- a/dev/ZKAKit/KernelKit/ThreadLocalStorage.h
+++ b/dev/ZKAKit/KernelKit/ThreadLocalStorage.h
@@ -24,7 +24,7 @@ struct THREAD_INFORMATION_BLOCK;
struct PACKED THREAD_INFORMATION_BLOCK final
{
Kernel::Char Cookie[kTLSCookieLen]{0}; //! Thread magic number.
- Kernel::VoidPtr Record{nullptr}; //! Thread information record.
+ Kernel::VoidPtr Record{nullptr}; //! Thread information record.
};
///! @brief Cookie Sanity check.
diff --git a/dev/ZKAKit/KernelKit/ThreadLocalStorage.inl b/dev/ZKAKit/KernelKit/ThreadLocalStorage.inl
index 1ae3d5cd..d9850c01 100644
--- a/dev/ZKAKit/KernelKit/ThreadLocalStorage.inl
+++ b/dev/ZKAKit/KernelKit/ThreadLocalStorage.inl
@@ -72,7 +72,7 @@ template <typename T>
inline Kernel::Bool tls_delete_class(T* obj)
{
using namespace Kernel;
-
+
if (!obj)
return No;
diff --git a/dev/ZKAKit/KernelKit/UserProcessScheduler.h b/dev/ZKAKit/KernelKit/UserProcessScheduler.h
index e7b023ed..dbadc9d8 100644
--- a/dev/ZKAKit/KernelKit/UserProcessScheduler.h
+++ b/dev/ZKAKit/KernelKit/UserProcessScheduler.h
@@ -20,7 +20,7 @@
#define kSchedMaxStackSz mib_cast(8)
#define kProcessInvalidID (-1)
-#define kProcessNameLen (128U)
+#define kProcessNameLen (128U)
////////////////////////////////////////////////////
// The current date is: Thu 11/28/2024 //