diff options
| -rw-r--r-- | Private/HALKit/AMD64/Processor.hpp | 26 | ||||
| -rw-r--r-- | Private/HALKit/RISCV/Hart.hxx | 18 |
2 files changed, 36 insertions, 8 deletions
diff --git a/Private/HALKit/AMD64/Processor.hpp b/Private/HALKit/AMD64/Processor.hpp index 883d1910..bacfb393 100644 --- a/Private/HALKit/AMD64/Processor.hpp +++ b/Private/HALKit/AMD64/Processor.hpp @@ -1,11 +1,15 @@ -/* - * ======================================================== - * - * HCore - * Copyright Mahrouss Logic, all rights reserved. - * - * ======================================================== - */ +/* ------------------------------------------- + + Copyright Mahrouss Logic + + File: Prcoessor.hxx + Purpose: AMD processor abstraction. + + Revision History: + + 30/01/24: Added file (amlel) + +------------------------------------------- */ #pragma once @@ -13,6 +17,12 @@ #include <NewKit/Defines.hpp> #include <NewKit/Utils.hpp> +#ifdef kCPUBackendName +#undef kCPUBackendName +#endif // ifdef kCPUBackendName + +#define kCPUBackendName "AMD64" + #define IsActiveLow(flag) (flag & 2) #define IsLevelTriggered(flag) (flag & 8) diff --git a/Private/HALKit/RISCV/Hart.hxx b/Private/HALKit/RISCV/Hart.hxx new file mode 100644 index 00000000..f351d3e5 --- /dev/null +++ b/Private/HALKit/RISCV/Hart.hxx @@ -0,0 +1,18 @@ +/* ------------------------------------------- + + Copyright Mahrouss Logic + + File: Hart.hxx + Purpose: RISC-V hart abstraction. + + Revision History: + + 30/01/24: Added file (amlel) + +------------------------------------------- */ + +#pragma once + +#include <NewKit/Defines.hpp> + +typedef HCore::Int32 Rv64HartType; |
