From 1ab61e6bb20dd39f85fca30c1d0a83db12fea9d6 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 28 Feb 2024 17:48:25 +0100 Subject: HCoreKrnl: Fix IDT, will get the rt_handle_interrupts right, and not corrupt the registers, see below. - New register layout in Stackframe. - Thinking about a way to wrap this handler into a valid win64 call. Signed-off-by: Amlal El Mahrouss --- Public/Kits/SystemKit/CoreAPI.hxx | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Public/Kits/SystemKit/CoreAPI.hxx') diff --git a/Public/Kits/SystemKit/CoreAPI.hxx b/Public/Kits/SystemKit/CoreAPI.hxx index 5d9bfb1a..9d907104 100644 --- a/Public/Kits/SystemKit/CoreAPI.hxx +++ b/Public/Kits/SystemKit/CoreAPI.hxx @@ -31,6 +31,9 @@ typedef __UINT16_TYPE__ WORD; typedef __UINT32_TYPE__ DWORD; typedef __UINT64_TYPE__ QWORD; +typedef __WCHAR_TYPE__ WCHAR; +typedef WCHAR* PWCHAR; + #ifdef __x86_64__ # define _M_AMD64 #endif -- cgit v1.2.3