From 3c9e562bd3a3e6c0a75029bec12972cc9fb3da8f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Herm=C3=A8s=20B=C3=A9lusca-Ma=C3=AFto?= Date: Sun, 13 Oct 2019 21:07:23 +0200 Subject: [PATCH] [FREELDR] Fix build with the 'Grossly Crying Compiler' (aka. GCC). --- boot/freeldr/freeldr/ntldr/arch/i386/winldr.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/boot/freeldr/freeldr/ntldr/arch/i386/winldr.c b/boot/freeldr/freeldr/ntldr/arch/i386/winldr.c index ae1a7979be9..4f70cf323bf 100644 --- a/boot/freeldr/freeldr/ntldr/arch/i386/winldr.c +++ b/boot/freeldr/freeldr/ntldr/arch/i386/winldr.c @@ -64,8 +64,8 @@ typedef struct #define TYPE_CODE (0x10 | DESCRIPTOR_CODE | DESCRIPTOR_EXECUTE_READ) #define TYPE_DATA (0x10 | DESCRIPTOR_READ_WRITE) -PKGDTENTRY FORCEINLINE +PKGDTENTRY KiGetGdtEntry( IN PVOID pGdt, IN USHORT Selector) @@ -73,8 +73,8 @@ KiGetGdtEntry( return (PKGDTENTRY)((ULONG_PTR)pGdt + (Selector & ~RPL_MASK)); } -VOID FORCEINLINE +VOID KiSetGdtDescriptorBase( IN OUT PKGDTENTRY Entry, IN ULONG32 Base) @@ -85,8 +85,8 @@ KiSetGdtDescriptorBase( // Entry->BaseUpper = (ULONG)(Base >> 32); } -VOID FORCEINLINE +VOID KiSetGdtDescriptorLimit( IN OUT PKGDTENTRY Entry, IN ULONG Limit) @@ -126,8 +126,8 @@ KiSetGdtEntryEx( // Entry->MustBeZero = 0; } -VOID FORCEINLINE +VOID KiSetGdtEntry( IN OUT PKGDTENTRY Entry, IN ULONG32 Base,