aboutsummaryrefslogtreecommitdiff
path: root/tools/build/cross-build/include/common/sys
diff options
context:
space:
mode:
authorWei Hu <whu@FreeBSD.org>2022-09-26 06:30:37 +0000
committerWei Hu <whu@FreeBSD.org>2022-09-26 06:30:37 +0000
commit7a58bf04433f711e1db6b2c263d8d07c7fd0819b (patch)
tree5383d4a811178df75f5edce2b82c4ba26d9dd900 /tools/build/cross-build/include/common/sys
parent45ff071ddccac0a158cfeb53285e6bb2df6bc835 (diff)
downloadsrc-7a58bf04433f711e1db6b2c263d8d07c7fd0819b.tar.gz
src-7a58bf04433f711e1db6b2c263d8d07c7fd0819b.zip
arm64: Enabling new hypercalls using HvCallSetVpRegisters and HvCallGetVpRegisters
Enabling HvCallSetVpRegisters and HvCallGetVpRegisters for hypercalls to read and write to specific MSRs. This is required for implementing wrmsr and rdmsr, which is required for Hyper-V vmbus driver for ARM64. Also we need to use arm smccc hvc 1.2 version as we need to access registers beyond X0-X3 for HvCallGetVpRegisters. Currently scoping it only for Hyper-V. Reviewed by: lwhsu, andrew, whu Tested by: Souradeep Chakrabarti <schakrabarti@microsoft.com> Signed-off-by: Souradeep Chakrabarti <schakrabarti@microsoft.com> Sponsored by: Microsoft Differential Revision: https://reviews.freebsd.org/D36256
Diffstat (limited to 'tools/build/cross-build/include/common/sys')
0 files changed, 0 insertions, 0 deletions