From: Michael Brown Date: Tue, 16 Feb 2016 18:49:38 +0000 (+0000) Subject: [bios] Allow memmap.c to be compiled for x86_64 X-Git-Tag: v1.20.1~600 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8819a34c0e588e7007bd8a7a162193ace8186b72;p=thirdparty%2Fipxe.git [bios] Allow memmap.c to be compiled for x86_64 Signed-off-by: Michael Brown --- diff --git a/src/arch/i386/firmware/pcbios/memmap.c b/src/arch/i386/firmware/pcbios/memmap.c index bcacecd6a..88bfec9f4 100644 --- a/src/arch/i386/firmware/pcbios/memmap.c +++ b/src/arch/i386/firmware/pcbios/memmap.c @@ -92,7 +92,7 @@ static unsigned int extmemsize_e801 ( void ) { "int $0x15\n\t" "pushfw\n\t" "popw %w0\n\t" ) - : "=r" ( flags ), + : "=R" ( flags ), "=a" ( extmem_1m_to_16m_k ), "=b" ( extmem_16m_plus_64k ), "=c" ( confmem_1m_to_16m_k ),