david/ipxe
david
/
ipxe
Archived
1
0
Fork 0

[bios] Allow memmap.c to be compiled for x86_64

Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
Michael Brown 2016-02-16 18:49:38 +00:00
parent 7691e5eedb
commit 8819a34c0e
1 changed files with 1 additions and 1 deletions

View 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 ),