aboutsummaryrefslogtreecommitdiff
path: root/tools/testing
diff options
context:
space:
mode:
authorDominik Brodowski <[email protected]>2019-11-06 08:06:12 +0100
committerArd Biesheuvel <[email protected]>2019-11-07 10:18:45 +0100
commit41e8a7c249bf50f2f719c2ff21ab92be70651f06 (patch)
tree114cc5691015fd074612735939c948c328f52173 /tools/testing
parent8b5c712f27044dc7812ceea5964eb2ea8952da78 (diff)
efi/random: use arch-independent efi_call_proto()
To handle all arch-specific peculiarities when calling an EFI protocol function, a wrapper efi_call_proto() exists on all relevant architectures. On arm/arm64, this is merely a plain function call. On x86, a special EFI entry stub needs to be used, however, as the calling convention differs. To make the efi/random stub arch-independent, use efi_call_proto() instead of the existing non-portable calls to the EFI get_rng protocol function. This also requires the addition of some typedefs. Signed-off-by: Dominik Brodowski <[email protected]> Signed-off-by: Ard Biesheuvel <[email protected]>
Diffstat (limited to 'tools/testing')
0 files changed, 0 insertions, 0 deletions