aboutsummaryrefslogtreecommitdiffstats
path: root/tools/tests
diff options
context:
space:
mode:
authorKeir Fraser <keir.fraser@citrix.com>2008-02-21 14:50:27 +0000
committerKeir Fraser <keir.fraser@citrix.com>2008-02-21 14:50:27 +0000
commit2bd0e7b9652a975f6dc89faf4eba904cf27f4d3b (patch)
treec3b9214647c19576097af59d2c02bd77a0d76ad7 /tools/tests
parent219c37ca95a548a36434f382e5c47f15f93954f4 (diff)
downloadxen-2bd0e7b9652a975f6dc89faf4eba904cf27f4d3b.tar.gz
xen-2bd0e7b9652a975f6dc89faf4eba904cf27f4d3b.tar.bz2
xen-2bd0e7b9652a975f6dc89faf4eba904cf27f4d3b.zip
x86_emulate: Allow writeback-avoidance optimisation to be defeated by
the caller. This is used in cases where the writeback may be to an MMIO region with side effects (the APIC EOI register is the main example of this). Also fix up build of the x86_emulate user-space test harness. Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'tools/tests')
-rw-r--r--tools/tests/test_x86_emulator.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/tools/tests/test_x86_emulator.c b/tools/tests/test_x86_emulator.c
index f261e7f4da..fe48921b59 100644
--- a/tools/tests/test_x86_emulator.c
+++ b/tools/tests/test_x86_emulator.c
@@ -118,6 +118,7 @@ int main(int argc, char **argv)
#endif
ctxt.regs = &regs;
+ ctxt.force_writeback = 0;
ctxt.addr_size = 32;
ctxt.sp_size = 32;