diff options
Diffstat (limited to 'Private/KernelKit/CodeManager.hpp')
| -rw-r--r-- | Private/KernelKit/CodeManager.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Private/KernelKit/CodeManager.hpp b/Private/KernelKit/CodeManager.hpp index 4bbbc350..ed42517a 100644 --- a/Private/KernelKit/CodeManager.hpp +++ b/Private/KernelKit/CodeManager.hpp @@ -8,6 +8,7 @@ Revision History: 30/01/24: Added file (amlel) + 3/8/24: Add UPP struct. ------------------------------------------- */ @@ -16,3 +17,17 @@ #include <KernelKit/PECodeManager.hxx> #include <KernelKit/PEFCodeManager.hxx> #include <KernelKit/PEFSharedObject.hxx> + +#define kUPPNameLen 64 + +namespace HCore { +/// \brief Much like Mac OS's UPP. +/// This is read-only by design. +/// It handles different kind of code. +/// ARM <-> AMD64 for example. +typedef struct UniversalProcedureTable final { + const Char NAME[kUPPNameLen]; + const VoidPtr TRAP; + const SizeT ARCH; +} PACKED UniversalProcedureTableType; +} // namespace HCore
\ No newline at end of file |
