From 5f6549b7d46118ba416faa170ff088d98c9144f0 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Wed, 10 Jul 2024 01:13:08 +0200 Subject: MHR-36: See below. - Implement MSR functions has_msr, get_msr, set_msr. - Moved SMP interrupt to interrupt 34 in AMD64. - Fix syntax error in STB.hxx. Signed-off-by: Amlal El Mahrouss --- Boot/BootKit/STB.hxx | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'Boot/BootKit') diff --git a/Boot/BootKit/STB.hxx b/Boot/BootKit/STB.hxx index b94572d7..6e9b8067 100644 --- a/Boot/BootKit/STB.hxx +++ b/Boot/BootKit/STB.hxx @@ -18,8 +18,10 @@ #define STBI_ASSERT(x) MUST_PASS(x) #define STBI_MALLOC(x) Kernel::ke_new_ke_heap(x, true, true) -#define STBI_REALLOC(p, x) Kernel::ke_update_ke_heap(p, x); +#define STBI_REALLOC(p, x) Kernel::ke_realloc_ke_heap(p, x); #define STBI_FREE(x) Kernel::ke_delete_ke_heap(x) #define STB_IMAGE_IMPLEMENTATION 1 +#include + #include -- cgit v1.2.3