[FREELDR] Fix build with the 'Grossly Crying Compiler' (aka. GCC).

This commit is contained in:
Hermès Bélusca-Maïto 2019-10-13 21:07:23 +02:00
parent c85ef31f6a
commit 3c9e562bd3
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0

View file

@ -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,