diff options
author | Keir Fraser <keir.fraser@citrix.com> | 2008-03-16 14:11:34 +0000 |
---|---|---|
committer | Keir Fraser <keir.fraser@citrix.com> | 2008-03-16 14:11:34 +0000 |
commit | 33c8483360bba3536dc678a94e7f70cb75828066 (patch) | |
tree | 96762b4f3dc117f35580f54b3c7e1d63db0b4f1d /xen/include/asm-x86/hvm/support.h | |
parent | 266a06100af5272c956bf7dba719b0b823647a5b (diff) | |
download | xen-33c8483360bba3536dc678a94e7f70cb75828066.tar.gz xen-33c8483360bba3536dc678a94e7f70cb75828066.tar.bz2 xen-33c8483360bba3536dc678a94e7f70cb75828066.zip |
x86: Allow bitop functions to be applied only to fields of at least 4
bytes. Otherwise the 'longword' processor instructions used will
overlap with adjacent fields with unpredictable consequences.
This change requires some code fixup and just a few casts (mainly when
operating on guest-shared fields which cannot be changed, and which by
observation are clearly safe).
Based on ideas from Jan Beulich <jbeulich@novell.com>
Signed-off-by: Keir Fraser <keir.fraser@citrix.com>
Diffstat (limited to 'xen/include/asm-x86/hvm/support.h')
-rw-r--r-- | xen/include/asm-x86/hvm/support.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xen/include/asm-x86/hvm/support.h b/xen/include/asm-x86/hvm/support.h index d2da0e87c9..cbdea537fc 100644 --- a/xen/include/asm-x86/hvm/support.h +++ b/xen/include/asm-x86/hvm/support.h @@ -78,7 +78,7 @@ extern unsigned int opt_hvm_debug_level; #define HVM_DBG_LOG(level, _f, _a...) #endif -extern char hvm_io_bitmap[]; +extern unsigned long hvm_io_bitmap[]; void hvm_enable(struct hvm_function_table *); |