]> git.karo-electronics.de Git - karo-tx-linux.git/commit
kvm: Use proper segment + offset in e820 bios
authorPekka Enberg <penberg@cs.helsinki.fi>
Fri, 16 Jul 2010 12:44:26 +0000 (15:44 +0300)
committerPekka Enberg <penberg@cs.helsinki.fi>
Mon, 19 Jul 2010 05:30:26 +0000 (08:30 +0300)
commite9d504bb8ff0cf6148d5c26eb3a90caee5ebca86
tree38cbdc0a83f8d4c1c45f8b510bd6a7fa2cbf45c9
parentcbaa405893fafc8d1cca263607ae9c7a6c40a27a
kvm: Use proper segment + offset in e820 bios

This patch fixes E820 BIOS emulation on AMD CPUs that, unlike Intel ones,
require proper 16-bit segment/offset addressing in virtualized 16-bit mode.

Reported-by: Asias He <asias.hejun@gmail.com>
Tested-by: Asias He <asias.hejun@gmail.com>
Acked-by: Cyrill Gorcunov <gorcunov@gmail.com>
Signed-off-by: Pekka Enberg <penberg@cs.helsinki.fi>
tools/kvm/bios/bios-rom.S
tools/kvm/bios/e820.c
tools/kvm/include/kvm/segment.h [new file with mode: 0644]