diff options
Diffstat (limited to 'dev')
| -rw-r--r-- | dev/FMT/SIGG.hxx | 39 | ||||
| -rw-r--r-- | dev/ZBA/Sources/Thread.cxx | 5 | ||||
| -rw-r--r-- | dev/ZKA/HALKit/AMD64/HalProcessorMgr.cxx (renamed from dev/ZKA/HALKit/AMD64/HalProcessor.cxx) | 6 | ||||
| -rw-r--r-- | dev/ZKA/HALKit/AMD64/ReadMe.md | 4 |
4 files changed, 7 insertions, 47 deletions
diff --git a/dev/FMT/SIGG.hxx b/dev/FMT/SIGG.hxx deleted file mode 100644 index a1e8400f..00000000 --- a/dev/FMT/SIGG.hxx +++ /dev/null @@ -1,39 +0,0 @@ -/* ------------------------------------------- - - Copyright ZKA Technologies. - -------------------------------------------- */ - -#pragma once - -/// @file SIGG.hxx -/// @brief SIGG is the extended PE32+ container for drivers, not to confused with .sign.exe, .sign.dll formats. - -#include <NewKit/Defines.hxx> -#include <KernelKit/PE.hxx> -#include <KernelKit/MSDOS.hxx> - -#define kDriverSignedExt ".sigg" -#define kDriverExt ".sys" -#define kSignedDriverMagic "SIGG" - -/// @brief SIGG format, takes care of signed drivers. - -namespace Kernel -{ - namespace Detail - { - /// @brief Instablle Secure Driver record. - struct SIGNED_DRIVER_HEADER final - { - // doesn't change. - Char d_binary_magic[5]; - Int d_binary_version; - // can change. - Char d_binary_name[4096]; - UInt64 d_binary_checksum; - UInt64 d_binary_size; - Char d_binary_padding[512]; - }; - } // namespace Detail -} // namespace Kernel diff --git a/dev/ZBA/Sources/Thread.cxx b/dev/ZBA/Sources/Thread.cxx index ee9b73c1..8bcecc2c 100644 --- a/dev/ZBA/Sources/Thread.cxx +++ b/dev/ZBA/Sources/Thread.cxx @@ -15,9 +15,6 @@ #include <CFKit/LoaderUtils.hxx> #include <Modules/CoreCG/TextRenderer.hxx> -//! Get SIGG header from formats directory. -#include <FMT/SIGG.hxx> - EXTERN_C{ #include <string.h> } @@ -138,7 +135,7 @@ namespace Boot } else { - writer.Write("NEWOSLDR: Invalid executable. (note: SIGG executables aren't loadable by default).\r"); + writer.Write("NEWOSLDR: Invalid executable.\r"); } } diff --git a/dev/ZKA/HALKit/AMD64/HalProcessor.cxx b/dev/ZKA/HALKit/AMD64/HalProcessorMgr.cxx index 24c123df..53b8b0b0 100644 --- a/dev/ZKA/HALKit/AMD64/HalProcessor.cxx +++ b/dev/ZKA/HALKit/AMD64/HalProcessorMgr.cxx @@ -10,8 +10,8 @@ #include <HALKit/AMD64/Processor.hxx> /** - * @file HalProcessor.cxx - * @brief This file is about processor specific functions (in/out/cli/std...) + * @file HalProcessorMgr.cxx + * @brief CPU Processor managers. */ namespace Kernel::HAL @@ -61,6 +61,7 @@ namespace Kernel::HAL kcout << "=================================================\r"; kcout << "Post page allocation.\r"; kcout << "=================================================\r"; + kcout << (*pt_entry & eFlagsPresent ? "Page Present." : "Page Not Present.") << endl; kcout << (*pt_entry & eFlagsRw ? "Page RW." : "Page Not RW.") << endl; kcout << (*pt_entry & eFlagsUser ? "Page User." : "Page Not User.") << endl; @@ -76,6 +77,7 @@ namespace Kernel::HAL kcout << "=================================================\r"; kcout << "Post page change.\r"; kcout << "=================================================\r"; + kcout << (*pt_entry & eFlagsPresent ? "Page Present." : "Page Not Present.") << endl; kcout << (*pt_entry & eFlagsRw ? "Page RW." : "Page Not RW.") << endl; kcout << (*pt_entry & eFlagsUser ? "Page User." : "Page Not User.") << endl; diff --git a/dev/ZKA/HALKit/AMD64/ReadMe.md b/dev/ZKA/HALKit/AMD64/ReadMe.md index 0be48c77..bb936737 100644 --- a/dev/ZKA/HALKit/AMD64/ReadMe.md +++ b/dev/ZKA/HALKit/AMD64/ReadMe.md @@ -1,4 +1,4 @@ -AMD64 Hardware Abstraction Layer +# AMD64 Hardware Abstraction Layer - Supported CPU: AMD64 CPU -- Supported Firmware: EDK 2
\ No newline at end of file +- Supported Firmware: EDK 2 |
