Commit 3f653641 authored by Fuad Tabba's avatar Fuad Tabba Committed by Will Deacon
Browse files

ANDROID: KVM: arm64: refactor vcpu_read_sys_reg and vcpu_write_sys_reg for hyp use



Move vcpu_read_sys_reg and vcpu_write_sys_reg to a shared header
to be used by hyp in protected mode.

Refactored as macros to avoid including kvm.h, which would have
been needed for struct vcpu.

No functional change intended.

Signed-off-by: default avatarFuad Tabba <tabba@google.com>
Bug: 209580772
Change-Id: I6b949d60b1cab6aa12978e2f9b775192701990c6
Signed-off-by: default avatarWill Deacon <willdeacon@google.com>
parent 1e5b5635
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment