mirror of
https://github.com/clearlinux/kvmtool.git
synced 2026-06-16 02:15:47 +00:00
kvm: BIOS E820 memory map emulation
This patch adds BIOS E820 memory map emulation to KVM. Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
This commit is contained in:
committed by
Will Deacon
parent
9292f77631
commit
2f3976eeee
+15
@@ -0,0 +1,15 @@
|
||||
/*
|
||||
* code16gcc.h
|
||||
*
|
||||
* This file is -include'd when compiling 16-bit C code.
|
||||
* Note: this asm() needs to be emitted before gcc emits any code.
|
||||
* Depending on gcc version, this requires -fno-unit-at-a-time or
|
||||
* -fno-toplevel-reorder.
|
||||
*
|
||||
* Hopefully gcc will eventually have a real -m16 option so we can
|
||||
* drop this hack long term.
|
||||
*/
|
||||
|
||||
#ifndef __ASSEMBLY__
|
||||
asm(".code16gcc");
|
||||
#endif
|
||||
Reference in New Issue
Block a user