diff options
| author | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-26 19:17:00 +0100 |
|---|---|---|
| committer | Amlal El Mahrouss <amlal.elmahrouss@icloud.com> | 2024-01-26 19:17:00 +0100 |
| commit | dd192787a70a973f2474720aea49af3f6ddabb7a (patch) | |
| tree | 6405e001c3b8eaf65e2b964d9917de0767914c0e /KernelKit/CodeManager.hpp | |
| parent | 5b972c4818f5bbcff5537c1fc3866f548647a3ef (diff) | |
h-core: Breaking kernel changes, IDevice becomes DeviceInterface, the
UPT is Read Only by default.
DebugManager allocates space for users by default (for a debug message)
Update PEF enum kPefArch.
Move Seeker into the /Services directory.
Complete merge of SupportKit to KernelKit.
Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'KernelKit/CodeManager.hpp')
| -rw-r--r-- | KernelKit/CodeManager.hpp | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/KernelKit/CodeManager.hpp b/KernelKit/CodeManager.hpp index fdf80e91..04d5647b 100644 --- a/KernelKit/CodeManager.hpp +++ b/KernelKit/CodeManager.hpp @@ -56,16 +56,15 @@ namespace hCore namespace Utils { /// \brief Much like Mac OS's UPP. + /// This is read-only by design. /// It handles different kind of code. /// PowerPC <-> AMD64 for example. typedef struct UniversalProcedureTable { - public: - Char symbolName[kPefNameLen]; - VoidPtr symbolPtr; - SizeT symbolArchitecture; - - } UniversalProcedureTableType; + const Char NAME[kPefNameLen]; + const VoidPtr TRAP; + const SizeT ARCH; + } __attribute__((packed)) UniversalProcedureTableType; bool execute_from_image(PEFLoader& exec); } |
