aboutsummaryrefslogtreecommitdiffstats
path: root/tools/include/xen-foreign/mkheader.py
diff options
context:
space:
mode:
authorIan Campbell <ian.campbell@citrix.com>2013-02-22 08:57:40 +0000
committerIan Campbell <ian.campbell@citrix.com>2013-02-22 12:14:50 +0000
commit0d6e920c68ff0271bfd4ac154683d0573dd3ab39 (patch)
treee6694728364823ba177b0ef705720e1809d63c1a /tools/include/xen-foreign/mkheader.py
parenta0d110801d701c43e7b8c73dbd6b2444a10a7cdb (diff)
downloadxen-0d6e920c68ff0271bfd4ac154683d0573dd3ab39.tar.gz
xen-0d6e920c68ff0271bfd4ac154683d0573dd3ab39.tar.bz2
xen-0d6e920c68ff0271bfd4ac154683d0573dd3ab39.zip
tools: s/arm/arm32/ in foreign header checks.
Also define __arm__ARM32 as required. Signed-off-by: Ian Campbell <ian.campbell@citrix.com> Acked-by: Stefano Stabellini <stefano.stabellini@eu.citrix.com>
Diffstat (limited to 'tools/include/xen-foreign/mkheader.py')
-rw-r--r--tools/include/xen-foreign/mkheader.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/tools/include/xen-foreign/mkheader.py b/tools/include/xen-foreign/mkheader.py
index d189b076e8..eee28f3094 100644
--- a/tools/include/xen-foreign/mkheader.py
+++ b/tools/include/xen-foreign/mkheader.py
@@ -17,11 +17,15 @@ header = {};
footer = {};
#arm
-inttypes["arm"] = {
+inttypes["arm32"] = {
"unsigned long" : "uint32_t",
"long" : "uint32_t",
"xen_pfn_t" : "uint64_t",
};
+header["arm32"] = """
+#define __arm___ARM32 1
+""";
+
# x86_32
inttypes["x86_32"] = {