WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-changelog

[Xen-changelog] [xen-unstable] x86/hvm/asid: Use C99 integer types for a

To: xen-changelog@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-changelog] [xen-unstable] x86/hvm/asid: Use C99 integer types for asid numbers
From: Xen patchbot-unstable <patchbot@xxxxxxx>
Date: Thu, 14 Apr 2011 11:20:09 +0100
Delivery-date: Thu, 14 Apr 2011 03:20:27 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-changelog-request@lists.xensource.com?subject=help>
List-id: BK change log <xen-changelog.lists.xensource.com>
List-post: <mailto:xen-changelog@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-changelog>, <mailto:xen-changelog-request@lists.xensource.com?subject=unsubscribe>
Reply-to: xen-devel@xxxxxxxxxxxxxxxxxxx
Sender: xen-changelog-bounces@xxxxxxxxxxxxxxxxxxx
# 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 <=