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:
Pekka Enberg
2010-07-08 21:27:35 +03:00
committed by Will Deacon
parent 9292f77631
commit 2f3976eeee
9 changed files with 163 additions and 25 deletions
+15
View File
@@ -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