diff options
author | Ian Campbell <ian.campbell@citrix.com> | 2013-02-22 08:57:41 +0000 |
---|---|---|
committer | Ian Campbell <ian.campbell@citrix.com> | 2013-02-22 12:14:50 +0000 |
commit | 6c7d2bad2f3ebba6fe79d9811c2cde237fa4bf16 (patch) | |
tree | 041f3b03612d0f67c3bf2f14e2df850fcb43fe8f /tools/include | |
parent | 0d6e920c68ff0271bfd4ac154683d0573dd3ab39 (diff) | |
download | xen-6c7d2bad2f3ebba6fe79d9811c2cde237fa4bf16.tar.gz xen-6c7d2bad2f3ebba6fe79d9811c2cde237fa4bf16.tar.bz2 xen-6c7d2bad2f3ebba6fe79d9811c2cde237fa4bf16.zip |
xen: event channel arrays are xen_ulong_t and not unsigned long
On ARM we want these to be the same size on 32- and 64-bit.
This is an ABI change on ARM. X86 does not change.
Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'tools/include')
-rw-r--r-- | tools/include/xen-foreign/mkheader.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/tools/include/xen-foreign/mkheader.py b/tools/include/xen-foreign/mkheader.py index eee28f3094..e3e61f3913 100644 --- a/tools/include/xen-foreign/mkheader.py +++ b/tools/include/xen-foreign/mkheader.py @@ -21,17 +21,18 @@ inttypes["arm32"] = { "unsigned long" : "uint32_t", "long" : "uint32_t", "xen_pfn_t" : "uint64_t", + "xen_ulong_t" : "uint64_t", }; header["arm32"] = """ #define __arm___ARM32 1 """; - # x86_32 inttypes["x86_32"] = { "unsigned long" : "uint32_t", "long" : "uint32_t", "xen_pfn_t" : "uint32_t", + "xen_ulong_t" : "uint32_t", }; header["x86_32"] = """ #define __i386___X86_32 1 @@ -46,6 +47,7 @@ inttypes["x86_64"] = { "unsigned long" : "__align8__ uint64_t", "long" : "__align8__ uint64_t", "xen_pfn_t" : "__align8__ uint64_t", + "xen_ulong_t" : "__align8__ uint64_t", }; header["x86_64"] = """ #if defined(__GNUC__) && !defined(__STRICT_ANSI__) |