summaryrefslogtreecommitdiffstats
path: root/src/include
diff options
context:
space:
mode:
authorMichael Brown2014-05-02 19:45:18 +0200
committerMichael Brown2014-05-02 22:00:53 +0200
commitbcfaf119a7484afe1ccad79a8e48c9aa558e2f51 (patch)
tree2c36b9f00414ecb3024cda24c0930906ccc02d04 /src/include
parent[librm] Speed up real-to-protected mode transition under KVM (diff)
downloadipxe-bcfaf119a7484afe1ccad79a8e48c9aa558e2f51.tar.gz
ipxe-bcfaf119a7484afe1ccad79a8e48c9aa558e2f51.tar.xz
ipxe-bcfaf119a7484afe1ccad79a8e48c9aa558e2f51.zip
[librm] Speed up protected-mode calls under KVM
When making a call from real mode to protected mode, we save and restore the global and interrupt descriptor table registers. The restore currently takes place after returning to real mode, which generates two EXCEPTION_NMIs and corresponding VM exits when running under KVM on an Intel CPU. Avoid the VM exits by restoring the descriptor table registers inside prot_to_real, while still running in protected mode. Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/include')
0 files changed, 0 insertions, 0 deletions