From 1ac157da77c863b62b1d2f467626a440d57cf17d Mon Sep 17 00:00:00 2001 From: bellard Date: Tue, 3 Feb 2004 23:28:30 +0000 Subject: more precise TLB invalidation - init cleanup git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@596 c046a42c-6fe2-441c-8c8c-71466251a162 --- target-i386/exec.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'target-i386/exec.h') diff --git a/target-i386/exec.h b/target-i386/exec.h index c3d24d55d2..c757abc5e4 100644 --- a/target-i386/exec.h +++ b/target-i386/exec.h @@ -134,8 +134,9 @@ void helper_ltr_T0(void); void helper_movl_crN_T0(int reg); void helper_movl_drN_T0(int reg); void helper_invlpg(unsigned int addr); -void cpu_x86_update_cr0(CPUX86State *env); -void cpu_x86_update_cr3(CPUX86State *env); +void cpu_x86_update_cr0(CPUX86State *env, uint32_t new_cr0); +void cpu_x86_update_cr3(CPUX86State *env, uint32_t new_cr3); +void cpu_x86_update_cr4(CPUX86State *env, uint32_t new_cr4); void cpu_x86_flush_tlb(CPUX86State *env, uint32_t addr); int cpu_x86_handle_mmu_fault(CPUX86State *env, uint32_t addr, int is_write, int is_user, int is_softmmu); -- cgit v1.2.1