[RESEND Patch V2 0/4] xen: auto-generate symbols for xen hypercalls

Juergen Gross
2015-01-21T07:49:40Z

The Xen hypercalls are defined in include/xen/interface/xen.h. There
are some places where for each hypercall a table element is created.
Instead of manually add each hypercall element to these tables use
an auto generated header built during the make process of the kernel.

Changes in V2:
- add "autogenerated" comment to generated header file as suggested by
David Vrabel (patch 1)
- some minor adjustments to patch 4 as suggested by David Vrabel

Juergen Gross (4):
xen: build infrastructure for generating hypercall depending symbols
xen: synchronize include/xen/interface/xen.h with xen
xen: use generated hypervisor symbols in arch/x86/xen/trace.c
xen: use generated hypercall symbols in arch/x86/xen/xen-head.S

arch/x86/syscalls/Makefile | 9 +++++++
arch/x86/xen/trace.c | 50 +++--------------------------------
arch/x86/xen/xen-head.S | 63 +++++++--------------------------------------
include/xen/interface/xen.h | 6 ++++-
scripts/xen-hypercalls.sh | 12 +++++++++
5 files changed, 40 insertions(+), 100 deletions(-)
create mode 100644 scripts/xen-hypercalls.sh

--
2.1.2