xen/arm: call hypercall handlers via generated macro
authorJuergen Gross <jgross@suse.com>
Mon, 11 Jul 2022 10:09:48 +0000 (12:09 +0200)
committerJan Beulich <jbeulich@suse.com>
Mon, 11 Jul 2022 10:09:48 +0000 (12:09 +0200)
commit39fc5f5c02c2cb5ce7b7ef8d30dc8ee0737d0ec8
tree331610fc6ebeb4502c0b29136187205ab9adbb00
parent8523851dbc497088b5b207ff230b12d5514be121
xen/arm: call hypercall handlers via generated macro

Instead of using a function table use the generated macros for calling
the appropriate hypercall handlers.

This makes the calls of the handlers type safe.

For deprecated hypercalls define stub functions.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Julien Grall <jgrall@amazon.com>
Tested-by: Michal Orzel <michal.orzel@arm.com>
xen/arch/arm/traps.c