[FREELDR] Fix x64 build.

This commit is contained in:
Hermès Bélusca-Maïto 2019-08-07 18:47:54 +02:00
parent 5b326e74cd
commit 268cdf5702
No known key found for this signature in database
GPG key ID: 3B2539C65E7B93D0
3 changed files with 3 additions and 3 deletions

View file

@ -154,7 +154,7 @@ elseif(ARCH STREQUAL "amd64")
list(APPEND FREELDR_ARC_SOURCE list(APPEND FREELDR_ARC_SOURCE
lib/fs/pxe.c lib/fs/pxe.c
arch/i386/ntoskrnl.c arch/i386/ntoskrnl.c
arch/i386/drivemap.c # arch/i386/drivemap.c
arch/i386/hardware.c arch/i386/hardware.c
arch/i386/hwacpi.c arch/i386/hwacpi.c
arch/i386/hwapm.c arch/i386/hwapm.c

View file

@ -164,7 +164,7 @@ VOID LoadOperatingSystem(IN OperatingSystemItem* OperatingSystem)
/* We must have the "BootType" value (it has been possibly added by InitOperatingSystemList()) */ /* We must have the "BootType" value (it has been possibly added by InitOperatingSystemList()) */
ASSERT(*BootType); ASSERT(*BootType);
#if defined(_M_IX86) #ifdef _M_IX86
/* Install the drive mapper according to this section drive mappings */ /* Install the drive mapper according to this section drive mappings */
DriveMapMapDrivesInSection(SectionName); DriveMapMapDrivesInSection(SectionName);
#endif #endif

View file

@ -107,10 +107,10 @@
#include <arch/pc/machpc.h> #include <arch/pc/machpc.h>
#include <arch/pc/x86common.h> #include <arch/pc/x86common.h>
#include <arch/pc/pxe.h> #include <arch/pc/pxe.h>
#include <arch/i386/drivemap.h>
#endif #endif
#if defined(_M_IX86) #if defined(_M_IX86)
#include <arch/i386/i386.h> #include <arch/i386/i386.h>
#include <arch/i386/drivemap.h>
#include <arch/i386/machxbox.h> #include <arch/i386/machxbox.h>
#include <internal/i386/intrin_i.h> #include <internal/i386/intrin_i.h>
#elif defined(_M_AMD64) #elif defined(_M_AMD64)