diff options
| author | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-29 15:01:34 -0500 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal@nekernel.org> | 2025-11-29 15:01:34 -0500 |
| commit | ceabd82ac8e796249feacf39c836034ed5e11c6d (patch) | |
| tree | e446d471a0eaf4ed7ac67e878ce4fb02334a2acb /src/kernel/KernelKit | |
| parent | 0376382a848ef5ebbb0e02428c9d1df8a099d8b4 (diff) | |
chore: source code review and fixes.
Signed-off-by: Amlal El Mahrouss <amlal@nekernel.org>
Diffstat (limited to 'src/kernel/KernelKit')
| -rw-r--r-- | src/kernel/KernelKit/BinaryMutex.h | 4 | ||||
| -rw-r--r-- | src/kernel/KernelKit/CodeMgr.h | 4 | ||||
| -rw-r--r-- | src/kernel/KernelKit/DebugOutput.h | 4 | ||||
| -rw-r--r-- | src/kernel/KernelKit/DriveMgr.h | 10 | ||||
| -rw-r--r-- | src/kernel/KernelKit/FileMgr.h | 14 | ||||
| -rw-r--r-- | src/kernel/KernelKit/HardwareThreadScheduler.h | 22 | ||||
| -rw-r--r-- | src/kernel/KernelKit/ILoader.h | 6 | ||||
| -rw-r--r-- | src/kernel/KernelKit/IPEFDylibObject.h | 4 | ||||
| -rw-r--r-- | src/kernel/KernelKit/KPC.h | 2 | ||||
| -rw-r--r-- | src/kernel/KernelKit/PCI/DMA.h | 2 | ||||
| -rw-r--r-- | src/kernel/KernelKit/PE32CodeMgr.h | 4 | ||||
| -rw-r--r-- | src/kernel/KernelKit/PEFCodeMgr.h | 4 | ||||
| -rw-r--r-- | src/kernel/KernelKit/ThreadLocalStorage.h | 10 | ||||
| -rw-r--r-- | src/kernel/KernelKit/ThreadLocalStorage.inl | 8 | ||||
| -rw-r--r-- | src/kernel/KernelKit/Timer.h | 6 | ||||
| -rw-r--r-- | src/kernel/KernelKit/TraceSrv.h | 2 | ||||
| -rw-r--r-- | src/kernel/KernelKit/UserMgr.h | 12 | ||||
| -rw-r--r-- | src/kernel/KernelKit/UserProcessScheduler.h | 16 | ||||
| -rw-r--r-- | src/kernel/KernelKit/ZXD.h | 2 |
19 files changed, 68 insertions, 68 deletions
diff --git a/src/kernel/KernelKit/BinaryMutex.h b/src/kernel/KernelKit/BinaryMutex.h index 5431ab72..46d11b8d 100644 --- a/src/kernel/KernelKit/BinaryMutex.h +++ b/src/kernel/KernelKit/BinaryMutex.h @@ -21,10 +21,10 @@ class BinaryMutex final { public: bool IsLocked() const; - bool Unlock() noexcept; + bool Unlock(); public: - BOOL WaitForProcess(const UInt32& sec) noexcept; + BOOL WaitForProcess(const UInt32& sec); public: bool Lock(USER_PROCESS* process); diff --git a/src/kernel/KernelKit/CodeMgr.h b/src/kernel/KernelKit/CodeMgr.h index e537b26d..f3260f1f 100644 --- a/src/kernel/KernelKit/CodeMgr.h +++ b/src/kernel/KernelKit/CodeMgr.h @@ -38,12 +38,12 @@ typedef void (*rtl_cxx_dtor_kind)(void); /// accessible. /// @param main the start of the process. /// @return The team's process id. -BOOL rtl_create_kernel_task(HAL::StackFramePtr main, const KID kid) noexcept; +BOOL rtl_create_kernel_task(HAL::StackFramePtr main, const KID kid); /// @brief Executes a new process from a function. User code only. /// @note This sets up a new stack, anything on the main function that calls the Kernel will not be /// accessible. /// @param main the start of the process. /// @return The team's process id. -ProcessID rtl_create_user_process(rtl_main_kind main, const Char* process_name) noexcept; +ProcessID rtl_create_user_process(rtl_main_kind main, const Char* process_name); } // namespace Kernel diff --git a/src/kernel/KernelKit/DebugOutput.h b/src/kernel/KernelKit/DebugOutput.h index 3f9b5125..301a3a9e 100644 --- a/src/kernel/KernelKit/DebugOutput.h +++ b/src/kernel/KernelKit/DebugOutput.h @@ -37,7 +37,7 @@ class TerminalDevice final NE_DEVICE<const Char*> { NE_COPY_DEFAULT(TerminalDevice) - STATIC TerminalDevice The() noexcept; + STATIC TerminalDevice The(); }; class Utf8TerminalDevice final NE_DEVICE<const Utf8Char*> { @@ -54,7 +54,7 @@ class Utf8TerminalDevice final NE_DEVICE<const Utf8Char*> { NE_COPY_DEFAULT(Utf8TerminalDevice) - STATIC Utf8TerminalDevice The() noexcept; + STATIC Utf8TerminalDevice The(); }; inline TerminalDevice end_line() { diff --git a/src/kernel/KernelKit/DriveMgr.h b/src/kernel/KernelKit/DriveMgr.h index daf93b89..9f66e31c 100644 --- a/src/kernel/KernelKit/DriveMgr.h +++ b/src/kernel/KernelKit/DriveMgr.h @@ -74,7 +74,7 @@ struct DriveTrait final { Void (*fOutput)(DrivePacket& packet){nullptr}; Void (*fVerify)(DrivePacket& packet){nullptr}; Void (*fInit)(DrivePacket& packet){nullptr}; - const Char* (*fProtocol)(Void){nullptr}; + const Char* (*fProtocol)(Void) {nullptr}; }; namespace Probe { @@ -143,7 +143,7 @@ class IMountpoint final { /// @brief Unimplemented drive. /// @param pckt the packet to read. /// @return -Void io_drv_unimplemented(DriveTrait::DrivePacket* pckt) noexcept; +Void io_drv_unimplemented(DriveTrait::DrivePacket* pckt); /// @brief Gets the drive kind (ATA, SCSI, AHCI...) /// @param void none. @@ -152,16 +152,16 @@ const Char* io_drv_kind(Void); /// @brief Makes a new drive. /// @return the new drive as a trait. -DriveTrait io_construct_blank_drive(Void) noexcept; +DriveTrait io_construct_blank_drive(Void); /// @brief Fetches the main drive. /// @param trait the new drive as a trait. -Void io_construct_main_drive(DriveTrait& trait) noexcept; +Void io_construct_main_drive(DriveTrait& trait); /// @brief Fetches the main drive. /// @return the new drive as a trait. /// @deprecated use io_construct_main_drive(DriveTrait& trait) instead. -DriveTrait io_construct_main_drive(Void) noexcept; +DriveTrait io_construct_main_drive(Void); namespace Detect { Void io_detect_drive(DriveTrait& trait); diff --git a/src/kernel/KernelKit/FileMgr.h b/src/kernel/KernelKit/FileMgr.h index 93d5f580..9aebe1e9 100644 --- a/src/kernel/KernelKit/FileMgr.h +++ b/src/kernel/KernelKit/FileMgr.h @@ -169,7 +169,7 @@ class NeFileSystemMgr final : public IFilesystemMgr { public: /// @brief Get NeFS parser class. /// @return The filesystem parser class. - NeFileSystemParser* GetParser() noexcept; + NeFileSystemParser* GetParser(); private: NeFileSystemParser* mParser{nullptr}; @@ -215,7 +215,7 @@ class Ext2FileSystemMgr final : public IFilesystemMgr { public: /// @brief Get NeFS parser class. /// @return The filesystem parser class. - Ext2FileSystemParser* GetParser() noexcept; + Ext2FileSystemParser* GetParser(); private: Ext2FileSystemParser* mParser{nullptr}; @@ -261,7 +261,7 @@ class HeFileSystemMgr final : public IFilesystemMgr { public: /// @brief Get NeFS parser class. /// @return The filesystem parser class. - HeFileSystemParser* GetParser() noexcept; + HeFileSystemParser* GetParser(); private: HeFileSystemParser* mParser{nullptr}; @@ -285,7 +285,7 @@ class FileStream final { FileStream(const FileStream&); public: - ErrorOr<Int64> Write(SizeT offset, const VoidPtr data, SizeT len) noexcept { + ErrorOr<Int64> Write(SizeT offset, const VoidPtr data, SizeT len) { if (this->fFileRestrict != kFileMgrRestrictReadWrite && this->fFileRestrict != kFileMgrRestrictReadWriteBinary && this->fFileRestrict != kFileMgrRestrictWrite && @@ -304,7 +304,7 @@ class FileStream final { return ErrorOr<Int64>(kErrorInvalidData); } - ErrorOr<Int64> Write(const Char* name, const VoidPtr data, SizeT len) noexcept { + ErrorOr<Int64> Write(const Char* name, const VoidPtr data, SizeT len) { if (this->fFileRestrict != kFileMgrRestrictReadWrite && this->fFileRestrict != kFileMgrRestrictReadWriteBinary && this->fFileRestrict != kFileMgrRestrictWrite && @@ -323,7 +323,7 @@ class FileStream final { return ErrorOr<Int64>(kErrorInvalidData); } - VoidPtr Read(const Char* name, SizeT sz) noexcept { + VoidPtr Read(const Char* name, SizeT sz) { if (this->fFileRestrict != kFileMgrRestrictReadWrite && this->fFileRestrict != kFileMgrRestrictReadWriteBinary && this->fFileRestrict != kFileMgrRestrictRead && @@ -366,7 +366,7 @@ class FileStream final { /// @brief Leak MIME. /// @return The MIME. - Char* MIME() noexcept { return const_cast<Char*>(fMime); } + Char* MIME() { return const_cast<Char*>(fMime); } enum { kFileMgrRestrictRead = 100, diff --git a/src/kernel/KernelKit/HardwareThreadScheduler.h b/src/kernel/KernelKit/HardwareThreadScheduler.h index 36a870ba..6493e550 100644 --- a/src/kernel/KernelKit/HardwareThreadScheduler.h +++ b/src/kernel/KernelKit/HardwareThreadScheduler.h @@ -54,18 +54,18 @@ class HardwareThread final { operator bool(); public: - void Wake(const BOOL wakeup = false) noexcept; - void Busy(const BOOL busy = false) noexcept; + void Wake(const BOOL wakeup = false); + void Busy(const BOOL busy = false); public: BOOL Switch(HAL::StackFramePtr frame); - BOOL IsWakeup() noexcept; + BOOL IsWakeup(); public: - HAL::StackFramePtr StackFrame() noexcept; - ThreadKind& Kind() noexcept; - BOOL IsBusy() noexcept; - ThreadID& ID() noexcept; + HAL::StackFramePtr StackFrame(); + ThreadKind& Kind(); + BOOL IsBusy(); + ThreadID& ID(); private: HAL::StackFramePtr fStack{nullptr}; @@ -95,12 +95,12 @@ class HardwareThreadScheduler final : public ISchedulable { NE_COPY_DEFAULT(HardwareThreadScheduler) public: - HAL::StackFramePtr Leak() noexcept; + HAL::StackFramePtr Leak(); public: Ref<HardwareThread*> operator[](SizeT idx); - bool operator!() noexcept; - operator bool() noexcept; + bool operator!(); + operator bool(); Bool IsUser() override { return Yes; } @@ -116,7 +116,7 @@ class HardwareThreadScheduler final : public ISchedulable { public: /// @brief Returns the amount of threads present in the system. /// @returns SizeT the amount of cores present. - SizeT Capacity() noexcept; + SizeT Capacity(); private: Array<HardwareThread, kMaxAPInsideSched> fThreadList; diff --git a/src/kernel/KernelKit/ILoader.h b/src/kernel/KernelKit/ILoader.h index 28dd1ed9..c6c87411 100644 --- a/src/kernel/KernelKit/ILoader.h +++ b/src/kernel/KernelKit/ILoader.h @@ -23,9 +23,9 @@ class ILoader { 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 ErrorOr<VoidPtr> FindSymbol(_Input const Char* name, _Input Int32 kind) = 0; }; diff --git a/src/kernel/KernelKit/IPEFDylibObject.h b/src/kernel/KernelKit/IPEFDylibObject.h index 17ef02d5..54cfdcb1 100644 --- a/src/kernel/KernelKit/IPEFDylibObject.h +++ b/src/kernel/KernelKit/IPEFDylibObject.h @@ -38,7 +38,7 @@ class IPEFDylibObject final NE_DYLIB_OBJECT { DylibTraits* Get() { return fMounted; } public: - void Mount(DylibTraits* to_mount) noexcept { + void Mount(DylibTraits* to_mount) { if (!to_mount || !to_mount->ImageObject) return; fMounted = to_mount; @@ -53,7 +53,7 @@ class IPEFDylibObject final NE_DYLIB_OBJECT { } } - void Unmount() noexcept { + void Unmount() { if (fMounted) fMounted = nullptr; }; diff --git a/src/kernel/KernelKit/KPC.h b/src/kernel/KernelKit/KPC.h index dbdc2a93..c712ac98 100644 --- a/src/kernel/KernelKit/KPC.h +++ b/src/kernel/KernelKit/KPC.h @@ -74,5 +74,5 @@ inline constexpr KPCError kErrorUnimplemented = -1; /// @brief Does a system wide bug check. /// @param void no params are needed. /// @return if error-free: false, otherwise true. -Boolean err_bug_check_raise(Void) noexcept; +Boolean err_bug_check_raise(Void); } // namespace Kernel diff --git a/src/kernel/KernelKit/PCI/DMA.h b/src/kernel/KernelKit/PCI/DMA.h index 80103dab..0cc642c1 100644 --- a/src/kernel/KernelKit/PCI/DMA.h +++ b/src/kernel/KernelKit/PCI/DMA.h @@ -47,7 +47,7 @@ class DMAWrapper final { T* Get(UIntPtr off = 0); public: - operator bool(); + operator bool(); bool operator!(); public: diff --git a/src/kernel/KernelKit/PE32CodeMgr.h b/src/kernel/KernelKit/PE32CodeMgr.h index 52bc22b4..38ebce72 100644 --- a/src/kernel/KernelKit/PE32CodeMgr.h +++ b/src/kernel/KernelKit/PE32CodeMgr.h @@ -66,7 +66,7 @@ class PE32Loader : public ILoader { ErrorOr<VoidPtr> GetBlob() override; public: - bool IsLoaded() noexcept; + bool IsLoaded(); private: #ifdef __FSKIT_INCLUDES_NEFS__ @@ -87,5 +87,5 @@ enum { kPETypeInvalid, kPETypeText = 100, kPETypeData, kPETypeBSS }; typedef LDR_SECTION_HEADER PE_SECTION_INFO; -ProcessID rtl_create_user_process(PE32Loader& exec, const Int32& process_kind) noexcept; +ProcessID rtl_create_user_process(PE32Loader& exec, const Int32& process_kind); } // namespace Kernel
\ No newline at end of file diff --git a/src/kernel/KernelKit/PEFCodeMgr.h b/src/kernel/KernelKit/PEFCodeMgr.h index 41b135e0..d076adca 100644 --- a/src/kernel/KernelKit/PEFCodeMgr.h +++ b/src/kernel/KernelKit/PEFCodeMgr.h @@ -50,7 +50,7 @@ class PEFLoader : public ILoader { ErrorOr<VoidPtr> GetBlob() override; public: - bool IsLoaded() noexcept; + bool IsLoaded(); private: #ifdef __FSKIT_INCLUDES_NEFS__ @@ -68,7 +68,7 @@ class PEFLoader : public ILoader { }; namespace Utils { - ProcessID rtl_create_user_process(PEFLoader& exec, const Int32& procKind) noexcept; + ProcessID rtl_create_user_process(PEFLoader& exec, const Int32& procKind); } // namespace Utils } // namespace Kernel diff --git a/src/kernel/KernelKit/ThreadLocalStorage.h b/src/kernel/KernelKit/ThreadLocalStorage.h index 205d6df9..7ee3572b 100644 --- a/src/kernel/KernelKit/ThreadLocalStorage.h +++ b/src/kernel/KernelKit/ThreadLocalStorage.h @@ -36,21 +36,21 @@ Kernel::Boolean tls_check_tib(THREAD_INFORMATION_BLOCK* the_tib); ///! @brief new ptr syscall. template <typename T> -T* tls_new_ptr(void) noexcept; +T* tls_new_ptr(void); ///! @brief delete ptr syscall. template <typename T> -Kernel::Boolean tls_delete_ptr(T* ptr) noexcept; +Kernel::Boolean tls_delete_ptr(T* ptr); //! @brief Delete process pointer. //! @param obj The pointer to delete. template <typename T> -inline Kernel::Bool tls_delete_ptr(Kernel::ErrorOr<T> obj) noexcept; +inline Kernel::Bool tls_delete_ptr(Kernel::ErrorOr<T> obj); //! @brief Delete process pointer. //! @param obj The pointer to delete. template <typename T> -inline Kernel::Bool tls_delete_ptr(Kernel::ErrorOr<T*> obj) noexcept; +inline Kernel::Bool tls_delete_ptr(Kernel::ErrorOr<T*> obj); template <typename T, typename... Args> T* tls_new_class(Args&&... args); @@ -59,7 +59,7 @@ T* tls_new_class(Args&&... args); EXTERN_C Kernel::Void rt_install_tib(THREAD_INFORMATION_BLOCK* TIB, THREAD_INFORMATION_BLOCK* PIB); /// @brief TLS check (syscall) -EXTERN_C Kernel::Bool tls_check_syscall_impl(Kernel::VoidPtr TIB) noexcept; +EXTERN_C Kernel::Bool tls_check_syscall_impl(Kernel::VoidPtr TIB); #include <KernelKit/ThreadLocalStorage.inl> diff --git a/src/kernel/KernelKit/ThreadLocalStorage.inl b/src/kernel/KernelKit/ThreadLocalStorage.inl index 66a3d282..c3c96c30 100644 --- a/src/kernel/KernelKit/ThreadLocalStorage.inl +++ b/src/kernel/KernelKit/ThreadLocalStorage.inl @@ -12,7 +12,7 @@ #endif template <typename T> -inline T* tls_new_ptr(void) noexcept { +inline T* tls_new_ptr(void) { using namespace Kernel; auto ref_process = UserProcessScheduler::The().TheCurrentProcess(); @@ -28,7 +28,7 @@ inline T* tls_new_ptr(void) noexcept { //! @brief Delete process pointer. //! @param obj The pointer to delete. template <typename T> -inline Kernel::Bool tls_delete_ptr(T* obj) noexcept { +inline Kernel::Bool tls_delete_ptr(T* obj) { using namespace Kernel; if (!obj) return No; @@ -44,14 +44,14 @@ inline Kernel::Bool tls_delete_ptr(T* obj) noexcept { //! @brief Delete process pointer. //! @param obj The pointer to delete. template <typename T> -inline Kernel::Bool tls_delete_ptr(Kernel::ErrorOr<T> obj) noexcept { +inline Kernel::Bool tls_delete_ptr(Kernel::ErrorOr<T> obj) { return tls_delete_ptr(obj.Leak()); } //! @brief Delete process pointer. //! @param obj The pointer to delete. template <typename T> -inline Kernel::Bool tls_delete_ptr(Kernel::ErrorOr<T*> obj) noexcept { +inline Kernel::Bool tls_delete_ptr(Kernel::ErrorOr<T*> obj) { return tls_delete_ptr(obj->Leak()); } diff --git a/src/kernel/KernelKit/Timer.h b/src/kernel/KernelKit/Timer.h index 46db5671..605cd0fa 100644 --- a/src/kernel/KernelKit/Timer.h +++ b/src/kernel/KernelKit/Timer.h @@ -25,7 +25,7 @@ class TimerInterface { NE_COPY_DEFAULT(TimerInterface) public: - virtual BOOL Wait() noexcept; + virtual BOOL Wait(); }; class SoftwareTimer final : public TimerInterface { @@ -37,7 +37,7 @@ class SoftwareTimer final : public TimerInterface { NE_COPY_DEFAULT(SoftwareTimer) public: - BOOL Wait() noexcept override; + BOOL Wait() override; private: UIntPtr* fDigitalTimer{nullptr}; @@ -53,7 +53,7 @@ class HardwareTimer final : public TimerInterface { NE_COPY_DEFAULT(HardwareTimer) public: - BOOL Wait() noexcept override; + BOOL Wait() override; private: volatile UInt8* fDigitalTimer{nullptr}; diff --git a/src/kernel/KernelKit/TraceSrv.h b/src/kernel/KernelKit/TraceSrv.h index 4af5e2ae..176c86d9 100644 --- a/src/kernel/KernelKit/TraceSrv.h +++ b/src/kernel/KernelKit/TraceSrv.h @@ -18,6 +18,6 @@ namespace Detail { inline constexpr auto kDebugDelim = ';'; inline constexpr auto kDebugEnd = '\r'; - typedef UInt64 dk_socket_type; + typedef UInt64 dk_socket_type; } // namespace Detail } // namespace Kernel
\ No newline at end of file diff --git a/src/kernel/KernelKit/UserMgr.h b/src/kernel/KernelKit/UserMgr.h index 3ce6254d..4f41ecdb 100644 --- a/src/kernel/KernelKit/UserMgr.h +++ b/src/kernel/KernelKit/UserMgr.h @@ -64,23 +64,23 @@ class User final { public: /// @brief Get software ring - const UserRingKind& Ring() noexcept; + const UserRingKind& Ring(); /// @brief Get user name - Char* Name() noexcept; + Char* Name(); /// @brief Is he a standard user? - Bool IsStdUser() noexcept; + Bool IsStdUser(); /// @brief Is she a super user? - Bool IsSuperUser() noexcept; + Bool IsSuperUser(); /// @brief Saves a password from the public key. - Bool Save(const UserPublicKey password) noexcept; + Bool Save(const UserPublicKey password); /// @brief Checks if a password matches the **password**. /// @param password the password to check. - Bool Login(const UserPublicKey password) noexcept; + Bool Login(const UserPublicKey password); private: UserRingKind mUserRing{UserRingKind::kRingStdUser}; diff --git a/src/kernel/KernelKit/UserProcessScheduler.h b/src/kernel/KernelKit/UserProcessScheduler.h index b2ab7dc2..fa34b966 100644 --- a/src/kernel/KernelKit/UserProcessScheduler.h +++ b/src/kernel/KernelKit/UserProcessScheduler.h @@ -128,23 +128,23 @@ class USER_PROCESS final { /***********************************************************************************/ //! @brief Gets the local exit code. /***********************************************************************************/ - KPCError& GetExitCode() noexcept; + KPCError& GetExitCode(); /***********************************************************************************/ ///! @brief Get the process's name ///! @example 'C Runtime Library' /***********************************************************************************/ - const Char* GetName() noexcept; + const Char* GetName(); /***********************************************************************************/ //! @brief return local error code of process. //! @return Int32 local error code. /***********************************************************************************/ - KPCError& GetLocalCode() noexcept; + KPCError& GetLocalCode(); - const User* GetOwner() noexcept; - const ProcessStatusKind& GetStatus() noexcept; - const AffinityKind& GetAffinity() noexcept; + const User* GetOwner(); + const ProcessStatusKind& GetStatus(); + const AffinityKind& GetAffinity(); private: KPCError LastExitCode{0}; @@ -168,7 +168,7 @@ class UserProcessTeam final { Array<USER_PROCESS, kSchedProcessLimitPerTeam>& AsArray(); Ref<USER_PROCESS>& AsRef(); - ProcessID& Id() noexcept; + ProcessID& Id(); public: USER_PROCESS_ARRAY mProcessList; @@ -209,7 +209,7 @@ class UserProcessScheduler final : public ISchedulable { public: USER_PROCESS_REF& TheCurrentProcess(); - SizeT Run() noexcept; + SizeT Run(); public: STATIC UserProcessScheduler& The(); diff --git a/src/kernel/KernelKit/ZXD.h b/src/kernel/KernelKit/ZXD.h index 81df0ade..88094d4b 100644 --- a/src/kernel/KernelKit/ZXD.h +++ b/src/kernel/KernelKit/ZXD.h @@ -17,7 +17,7 @@ struct ZXD_STUB_HEADER; enum ZXD_FLAGS { kZXDFlagsInvalid = 0, - kZXDFlagsDriver = 120, + kZXDFlagsDriver = 120, kZXDFlagsBoot, kZXDFlagsKernel, kZXDFlagsCount = kZXDFlagsKernel - kZXDFlagsDriver + 1, |
