qemu/target-i386
aliguori dd5e3b1771 MTRR support on x86, part 2 (Carl-Daniel Hailfinger)
Load and save MTRR state together with machine state.

Add support for the MTRRcap MSR which is used by the latest Bochs BIOS
and some operating systems.

Fix a typo in ext2_feature_name.

With this patch, MTRR emulation should be good enough to not trigger any
sanity checks in well behaved BIOS/kernel code.
Some corner cases for BIOS/firmware usage remain to be implemented, but
that can be deferred to another patch.
Also, MTRR accesses on hardware not supporting MTRRs should cause #GP.
That can be enforced by another patch as well.

Signed-off-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net>
Signed-off-by: Anthony Liguori <aliguori@us.ibm.com>


git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@6472 c046a42c-6fe2-441c-8c8c-71466251a162
2009-01-29 17:02:17 +00:00
..
cpu.h MTRR support on x86, part 2 (Carl-Daniel Hailfinger) 2009-01-29 17:02:17 +00:00
exec.h Add noreturn function attribute 2009-01-14 19:00:36 +00:00
helper_template.h Update FSF address in GPL/LGPL boilerplate 2009-01-04 22:05:52 +00:00
helper.c Log reset events (Jan Kiszka) 2009-01-26 19:54:31 +00:00
helper.h TCG variable type checking. 2008-11-17 14:43:54 +00:00
kvm.c kvm-x86: Remove eflags conversion into emulator format (Jan Kiszka) 2009-01-26 20:32:22 +00:00
machine.c MTRR support on x86, part 2 (Carl-Daniel Hailfinger) 2009-01-29 17:02:17 +00:00
op_helper.c MTRR support on x86, part 2 (Carl-Daniel Hailfinger) 2009-01-29 17:02:17 +00:00
ops_sse_header.h Update FSF address in GPL/LGPL boilerplate 2009-01-04 22:05:52 +00:00
ops_sse.h Update FSF address in GPL/LGPL boilerplate 2009-01-04 22:05:52 +00:00
svm.h reworked SVM interrupt handling logic - fixed vmrun EIP saved value - reworked cr8 handling - added CPUState.hflags2 2008-06-04 17:02:19 +00:00
TODO SVM rework 2008-05-28 16:16:54 +00:00
translate.c global s/loglevel & X/qemu_loglevel_mask(X)/ (Eduardo Habkost) 2009-01-15 22:36:53 +00:00