From b9b638d32b7f12ee62386abb04e0918939ec9839 Mon Sep 17 00:00:00 2001 From: Satoshi Tanda Date: Sun, 23 Feb 2020 13:11:59 -0800 Subject: [PATCH] Minor and cosmetic changes --- Sources/Platform/EFI/EfiAsm.asm | 4 ++-- Sources/Platform/EFI/EfiCommon.h | 1 + 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Sources/Platform/EFI/EfiAsm.asm b/Sources/Platform/EFI/EfiAsm.asm index ad3380c..c7110da 100644 --- a/Sources/Platform/EFI/EfiAsm.asm +++ b/Sources/Platform/EFI/EfiAsm.asm @@ -49,8 +49,8 @@ endm ; @brief The default host exception handlers. ; ; @details This is the function containing actually 256 stub functions generated -; with the INTERRUPT_HANDLER and INTERRUPT_HANDLER_WITH_CODE macros. Each function -; works as a hendler of the corresponding interrupt/exception in the host. +; with the INTERRUPT_HANDLER and INTERRUPT_HANDLER_WITH_CODE macros. Each function +; works as a hendler of the corresponding interrupt/exception in the host. ; AsmDefaultExceptionHandlers proc repeat 8 diff --git a/Sources/Platform/EFI/EfiCommon.h b/Sources/Platform/EFI/EfiCommon.h index 0f4f5f9..f6ee8e5 100644 --- a/Sources/Platform/EFI/EfiCommon.h +++ b/Sources/Platform/EFI/EfiCommon.h @@ -75,6 +75,7 @@ void __writedr(unsigned int, unsigned __int64); void __writemsr(unsigned long, unsigned __int64); void _lgdt(void *); void _sgdt(void *); +void _xsetbv(unsigned int, unsigned __int64); // // MSVC compatibility macro definitions.