diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-08-24 10:47:51 +0200 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-08-24 10:52:24 +0200 |
| commit | ae87ff9f949a71a398b4355fe9074c0531de34ba (patch) | |
| tree | 9ea55b396abbfcc699edcc9afb9a964145236129 /dev/SIGG/Format.hxx | |
| parent | 4185fcc698e237225902646736c6b23f6b5e54be (diff) | |
[IMP] CoreCG's User Interface Kit, this is a driver/kernel library only.
+ Reserved for pre-boot/boot operations, before user mode jump.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'dev/SIGG/Format.hxx')
| -rw-r--r-- | dev/SIGG/Format.hxx | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/dev/SIGG/Format.hxx b/dev/SIGG/Format.hxx new file mode 100644 index 00000000..e7d9f60b --- /dev/null +++ b/dev/SIGG/Format.hxx @@ -0,0 +1,37 @@ +/* ------------------------------------------- + + Copyright ZKA Technologies. + +------------------------------------------- */ + +#pragma once + +#include <NewKit/Defines.hxx> +#include <KernelKit/PEF.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 |
