mirror of
https://github.com/ipxe/ipxe
synced 2025-12-23 13:30:57 +03:00
[bios] Allow memmap.c to be compiled for x86_64
Signed-off-by: Michael Brown <mcb30@ipxe.org>
This commit is contained in:
@@ -92,7 +92,7 @@ static unsigned int extmemsize_e801 ( void ) {
|
|||||||
"int $0x15\n\t"
|
"int $0x15\n\t"
|
||||||
"pushfw\n\t"
|
"pushfw\n\t"
|
||||||
"popw %w0\n\t" )
|
"popw %w0\n\t" )
|
||||||
: "=r" ( flags ),
|
: "=R" ( flags ),
|
||||||
"=a" ( extmem_1m_to_16m_k ),
|
"=a" ( extmem_1m_to_16m_k ),
|
||||||
"=b" ( extmem_16m_plus_64k ),
|
"=b" ( extmem_16m_plus_64k ),
|
||||||
"=c" ( confmem_1m_to_16m_k ),
|
"=c" ( confmem_1m_to_16m_k ),
|
||||||
|
|||||||
Reference in New Issue
Block a user