summaryrefslogtreecommitdiffhomepage
path: root/Source/CodeManager.cxx
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-26 19:17:00 +0100
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-01-26 19:17:00 +0100
commitdd192787a70a973f2474720aea49af3f6ddabb7a (patch)
tree6405e001c3b8eaf65e2b964d9917de0767914c0e /Source/CodeManager.cxx
parent5b972c4818f5bbcff5537c1fc3866f548647a3ef (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 'Source/CodeManager.cxx')
-rw-r--r--Source/CodeManager.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/CodeManager.cxx b/Source/CodeManager.cxx
index 8b0689c0..ba117346 100644
--- a/Source/CodeManager.cxx
+++ b/Source/CodeManager.cxx
@@ -20,11 +20,11 @@ namespace hCore
{
namespace Detail
{
- UInt32 rt_get_pef_platform(void)
+ UInt32 rt_get_pef_platform(void) noexcept
{
-#ifdef __powerpc
- return kPefArchPOWER;
-#elif defined(__arc__)
+#ifdef __32x0__
+ return kPefArch32x0;
+#elif defined(__64x0__)
return kPefArch64x0;
#elif defined(__x86_64__)
return kPefArchAMD64;