From 2bd0e7b9652a975f6dc89faf4eba904cf27f4d3b Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Thu, 21 Feb 2008 14:50:27 +0000 Subject: 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 --- tools/tests/test_x86_emulator.c | 1 + 1 file changed, 1 insertion(+) (limited to 'tools/tests') 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 = ®s; + ctxt.force_writeback = 0; ctxt.addr_size = 32; ctxt.sp_size = 32; -- cgit v1.2.3