diff options
author | Marc Zyngier <maz@kernel.org> | 2020-10-11 18:17:38 +0100 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2020-11-09 17:08:15 +0000 |
commit | 7cd0aaafaadcaaf280887f8b478393a9fcfc69e3 (patch) | |
tree | 28d678eda3bdb58f3b259da9a7383297b3f08e78 /drivers/firmware/psci/psci.c | |
parent | 1db9d9ded771389aae5760d20dd1bac113451b9c (diff) |
KVM: arm64: Turn host HVC handling into a dispatch table
Now that we can use function pointer, use a dispatch table to call
the individual HVC handlers, leading to more maintainable code.
Further improvements include helpers to declare the mapping of
local variables to values passed in the host context.
Reviewed-by: Alexandru Elisei <alexandru.elisei@arm.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Diffstat (limited to 'drivers/firmware/psci/psci.c')
0 files changed, 0 insertions, 0 deletions