xen: arm: include public/xen.h in foreign interface checking
authorIan Campbell <ian.campbell@citrix.com>
Fri, 19 Jul 2013 11:51:09 +0000 (12:51 +0100)
committerIan Campbell <ian.campbell@citrix.com>
Tue, 20 Aug 2013 14:41:01 +0000 (15:41 +0100)
commitf07cb646ff013b631a6efb53bb0e38ea9b2e7c60
tree29a74304ff3af07ace4853b6bd8e9d220dccd988
parent6bba043afe0f29ff4f87b839b55b58b15cca1c08
xen: arm: include public/xen.h in foreign interface checking

mkheader.py doesn't cope with
struct foo { };
so add a newline.

Define unsigned long and long to a non-existent type on ARM so as to catch
their use.

Teach mkheader.py to cope with structs which are ifdef'd. This cannot cope
with #defines between the #ifdef and the struct definitions, so move
MAX_GUEST_CMDLINE to be next to its only usage.

Signed-off-by: Ian Campbell <ian.campbell@citrix.com>
Acked-by: Keir Fraser <keir@xen.org>
Acked-by: Ian Jackson <ian.jackson@eu.citrix.com>
tools/include/xen-foreign/Makefile
tools/include/xen-foreign/mkheader.py
tools/include/xen-foreign/reference.size
tools/include/xen-foreign/structs.py
xen/include/public/arch-arm.h
xen/include/public/xen.h