xen-vtx-unstable
view xen/arch/x86/shadow_guest32.c @ 6759:b5d91089e42c
Newer binutils is a bit stricter and errors out when you try
to use movl on a 16 bit word on x86_64. Using just a "mov"
compiles fine and should result in the same code.
{standard input}: Assembler messages:
{standard input}:2138: Error: suffix or operands invalid for `mov'
{standard input}:2140: Error: suffix or operands invalid for `mov'
{standard input}:2142: Error: suffix or operands invalid for `mov'
{standard input}:2144: Error: suffix or operands invalid for `mov'
Signed-off-by: Rik van Riel <riel@redhat.com>
to use movl on a 16 bit word on x86_64. Using just a "mov"
compiles fine and should result in the same code.
{standard input}: Assembler messages:
{standard input}:2138: Error: suffix or operands invalid for `mov'
{standard input}:2140: Error: suffix or operands invalid for `mov'
{standard input}:2142: Error: suffix or operands invalid for `mov'
{standard input}:2144: Error: suffix or operands invalid for `mov'
Signed-off-by: Rik van Riel <riel@redhat.com>
author | kaf24@firebug.cl.cam.ac.uk |
---|---|
date | Tue Sep 13 10:21:22 2005 +0000 (2005-09-13) |
parents | 291e816acbf4 |
children |
line source
1 #define GUEST_PGENTRY_32
2 #if defined (__x86_64__)
4 #include "shadow.c"
5 struct shadow_ops MODE_D_HANDLER = {
6 .guest_paging_levels = 2,
7 .invlpg = shadow_invlpg_64,
8 .fault = shadow_fault_64,
9 .update_pagetables = shadow_update_pagetables,
10 .sync_all = sync_all,
11 .remove_all_write_access = remove_all_write_access,
12 .do_update_va_mapping = do_update_va_mapping,
13 .mark_mfn_out_of_sync = mark_mfn_out_of_sync,
14 .is_out_of_sync = is_out_of_sync,
15 .gva_to_gpa = gva_to_gpa_64,
16 };
18 #endif