summaryrefslogtreecommitdiffhomepage
path: root/Private/HALKit
diff options
context:
space:
mode:
authorAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-04-22 08:19:02 +0200
committerAmlal El Mahrouss <amlal.elmahrouss@icloud.com>2024-04-22 08:19:47 +0200
commite548e79578d692dce885e7ef3cb38d993e90e07f (patch)
tree9bb266f04cada12c6b9f7bca8ced160164599069 /Private/HALKit
parent593e9b91591a9b98f6f46b5db046fe56f719ef24 (diff)
MHR-5: A new part of the porting has been done.
- Separate makefiles for each targets. - New Toolbox calls as well. - Check for platform to deduce __kernelDispatchCall. Signed-off-by: Amlal El Mahrouss <amlal.elmahrouss@icloud.com>
Diffstat (limited to 'Private/HALKit')
-rw-r--r--Private/HALKit/AMD64/Processor.hpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/Private/HALKit/AMD64/Processor.hpp b/Private/HALKit/AMD64/Processor.hpp
index 7e2624d7..70452d1d 100644
--- a/Private/HALKit/AMD64/Processor.hpp
+++ b/Private/HALKit/AMD64/Processor.hpp
@@ -26,11 +26,11 @@
#define IsActiveLow(FLG) (FLG & 2)
#define IsLevelTriggered(FLG) (FLG & 8)
-#define kInterruptGate 0x8E
-#define kTrapGate 0xEF
-#define kTaskGate 0b10001100
-#define kGdtCodeSelector 0x08
-#define kVirtualAddressStartOffset 0x100
+#define kInterruptGate (0x8E)
+#define kTrapGate (0xEF)
+#define kTaskGate (0b10001100)
+#define kGdtCodeSelector (0x08)
+#define kVirtualAddressStartOffset (0x100)
namespace NewOS {
namespace Detail::AMD64 {