mirror of
https://github.com/ipxe/ipxe
synced 2025-12-20 12:00:19 +03:00
[librm] Support ioremap() for addresses above 4GB in a 64-bit build
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -11,7 +11,6 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
|
||||
#define UACCESS_LIBRM
|
||||
#define IOAPI_X86
|
||||
#define IOMAP_VIRT
|
||||
#define PCIAPI_PCBIOS
|
||||
#define TIMER_PCBIOS
|
||||
#define CONSOLE_PCBIOS
|
||||
@@ -23,6 +22,12 @@ FILE_LICENCE ( GPL2_OR_LATER_OR_UBDL );
|
||||
#define TIME_RTC
|
||||
#define REBOOT_PCBIOS
|
||||
|
||||
#ifdef __x86_64__
|
||||
#define IOMAP_PAGES
|
||||
#else
|
||||
#define IOMAP_VIRT
|
||||
#endif
|
||||
|
||||
#define IMAGE_ELF /* ELF image support */
|
||||
#define IMAGE_MULTIBOOT /* MultiBoot image support */
|
||||
#define IMAGE_PXE /* PXE image support */
|
||||
|
||||
Reference in New Issue
Block a user