|
|
|
|
|
|
|
|
|
|
xen-changelog
[Xen-changelog] [xen-unstable] x86/hvm/asid: Use C99 integer types for a
# HG changeset patch
# User Christoph Egger <Christoph.Egger@xxxxxxx>
# Date 1302700472 -3600
# Node ID 2284c79b606ac14ef5c5bc2c1cce62188b5bd9ee
# Parent ebebb4c54561c91b0813ed6b0ced3f73c9877db7
x86/hvm/asid: Use C99 integer types for asid numbers
Signed-off-by: Christoph Egger <Christoph.Egger@xxxxxxx>
---
diff -r ebebb4c54561 -r 2284c79b606a xen/arch/x86/hvm/asid.c
--- a/xen/arch/x86/hvm/asid.c Wed Apr 13 14:09:55 2011 +0100
+++ b/xen/arch/x86/hvm/asid.c Wed Apr 13 14:14:32 2011 +0100
@@ -48,9 +48,9 @@
/* Per-CPU ASID management. */
struct hvm_asid_data {
- u64 core_asid_generation;
- u32 next_asid;
- u32 max_asid;
+ uint64_t core_asid_generation;
+ uint32_t next_asid;
+ uint32_t max_asid;
bool_t disabled;
};
@@ -58,7 +58,7 @@
void hvm_asid_init(int nasids)
{
- static s8 g_disabled = -1;
+ static int8_t g_disabled = -1;
struct hvm_asid_data *data = &this_cpu(hvm_asid_data);
data->max_asid = nasids - 1;
diff -r ebebb4c54561 -r 2284c79b606a xen/include/asm-x86/hvm/vcpu.h
--- a/xen/include/asm-x86/hvm/vcpu.h Wed Apr 13 14:09:55 2011 +0100
+++ b/xen/include/asm-x86/hvm/vcpu.h Wed Apr 13 14:14:32 2011 +0100
@@ -100,8 +100,8 @@
bool_t hcall_preempted;
bool_t hcall_64bit;
- u64 asid_generation;
- u32 asid;
+ uint64_t asid_generation;
+ uint32_t asid;
u32 msr_tsc_aux;
_______________________________________________
Xen-changelog mailing list
Xen-changelog@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-changelog
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-changelog] [xen-unstable] x86/hvm/asid: Use C99 integer types for asid numbers,
Xen patchbot-unstable <=
|
|
|
|
|