diff options
author | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-04-27 15:06:55 +0100 |
---|---|---|
committer | kfraser@localhost.localdomain <kfraser@localhost.localdomain> | 2007-04-27 15:06:55 +0100 |
commit | cee87f9f44074302242968b88abe0a229b434986 (patch) | |
tree | eeddac4e6a2b577141c8d5c83d6b010d71f9fb9a /xen/arch/x86/x86_64/entry.S | |
parent | b8057a726d7f47b47f6c4ef97032aba93409c026 (diff) | |
download | xen-cee87f9f44074302242968b88abe0a229b434986.tar.gz xen-cee87f9f44074302242968b88abe0a229b434986.tar.bz2 xen-cee87f9f44074302242968b88abe0a229b434986.zip |
xen: More 'IS_COMPAT' cleanups.
Signed-off-by: Keir Fraser <keir@xensource.com>
Diffstat (limited to 'xen/arch/x86/x86_64/entry.S')
-rw-r--r-- | xen/arch/x86/x86_64/entry.S | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/xen/arch/x86/x86_64/entry.S b/xen/arch/x86/x86_64/entry.S index 2063857c68..2d47c3a305 100644 --- a/xen/arch/x86/x86_64/entry.S +++ b/xen/arch/x86/x86_64/entry.S @@ -235,7 +235,7 @@ ENTRY(int80_direct_trap) jz int80_slow_path movq VCPU_domain(%rbx),%rax - testb $1,DOMAIN_is_compat(%rax) + testb $1,DOMAIN_is_32bit_pv(%rax) jnz compat_int80_direct_trap call create_bounce_frame @@ -356,7 +356,7 @@ ENTRY(domain_crash_synchronous) # create_bounce_frame() temporarily clobbers CS.RPL. Fix up. movq CPUINFO_current_vcpu(%rax),%rax movq VCPU_domain(%rax),%rax - testb $1,DOMAIN_is_compat(%rax) + testb $1,DOMAIN_is_32bit_pv(%rax) setz %al leal (%rax,%rax,2),%eax orb %al,UREGS_cs(%rsp) @@ -373,7 +373,7 @@ ENTRY(ret_from_intr) testb $3,UREGS_cs(%rsp) jz restore_all_xen movq VCPU_domain(%rbx),%rax - testb $1,DOMAIN_is_compat(%rax) + testb $1,DOMAIN_is_32bit_pv(%rax) jz test_all_events jmp compat_test_all_events @@ -395,7 +395,7 @@ handle_exception_saved: jz restore_all_xen leaq VCPU_trap_bounce(%rbx),%rdx movq VCPU_domain(%rbx),%rax - testb $1,DOMAIN_is_compat(%rax) + testb $1,DOMAIN_is_32bit_pv(%rax) jnz compat_post_handle_exception testb $TBF_EXCEPTION,TRAPBOUNCE_flags(%rdx) jz test_all_events |