]> git.ipfire.org Git - thirdparty/ipxe.git/commitdiff
[bios] Allow memmap.c to be compiled for x86_64
authorMichael Brown <mcb30@ipxe.org>
Tue, 16 Feb 2016 18:49:38 +0000 (18:49 +0000)
committerMichael Brown <mcb30@ipxe.org>
Tue, 16 Feb 2016 19:32:32 +0000 (19:32 +0000)
Signed-off-by: Michael Brown <mcb30@ipxe.org>
src/arch/i386/firmware/pcbios/memmap.c

index bcacecd6a947da2e9a762f49729d92b28c4b08cc..88bfec9f4816d8fa24e9842597f82150625e0ecb 100644 (file)
@@ -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 ),