diff options
author | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-06-05 15:18:13 +0100 |
---|---|---|
committer | kaf24@firebug.cl.cam.ac.uk <kaf24@firebug.cl.cam.ac.uk> | 2006-06-05 15:18:13 +0100 |
commit | 3e19af6e66e439c5297a8c885f256674c17aff50 (patch) | |
tree | 39c2991c59a7e1185f8e6aae8a51538ad0ec5483 /tools/libxc/xc_core.c | |
parent | 08f2d66ff68e069cc7cc6f6ec3097aa545568527 (diff) | |
download | xen-3e19af6e66e439c5297a8c885f256674c17aff50.tar.gz xen-3e19af6e66e439c5297a8c885f256674c17aff50.tar.bz2 xen-3e19af6e66e439c5297a8c885f256674c17aff50.zip |
[VMXASSIST] Extensions to vmxassist to handle additional mode switch cases.
Extends vmxassist to handle two cases related to mode switching found
while experimenting with different boot loaders.
The first case is use of the JMP instruction with memory location
operands to complete a switch to protected mode. This patch adds
emulation for this form of the JMP instruction to vmxassist.
The second case is where boot loader code does not save/restore a
non-zero SS register across a protected mode traversal.
Zeroing the SS register in vmxassist results in all sorts of problems
in the domU after returning back to real mode. This patch stores
segment register values before entering protected mode and correctly
restores the old values (instead of an incorrect zero value) when
reentering real mode.
Signed-off-by: Kevin Tronkowski <ktronkowski@virtualiron.com>
Diffstat (limited to 'tools/libxc/xc_core.c')
0 files changed, 0 insertions, 0 deletions