mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 09:47:44 +00:00
hv: vCAT: implementing the vCAT MSRs read handlers
Implement the read_vcbm() and read_vclosid() functions to handle the MSR_IA32_PQR_ASSOC and MSR_IA32_type_MASK_n vCAT MSRs read request. Tracked-On: #5917 Signed-off-by: dongshen <dongsheng.x.zhang@intel.com> Acked-by: Eddie Dong <eddie.dong@Intel.com>
This commit is contained in:
@@ -15,6 +15,8 @@ uint16_t vcat_get_vcbm_len(const struct acrn_vm *vm, int res);
|
||||
void init_vcat_msrs(struct acrn_vcpu *vcpu);
|
||||
uint16_t vcat_get_num_vclosids(const struct acrn_vm *vm);
|
||||
uint64_t vcat_pcbm_to_vcbm(const struct acrn_vm *vm, uint64_t pcbm, int res);
|
||||
int32_t read_vcbm(const struct acrn_vcpu *vcpu, uint32_t vmsr, uint64_t *rval);
|
||||
int32_t read_vclosid(const struct acrn_vcpu *vcpu, uint64_t *rval);
|
||||
|
||||
#endif /* VCAT_H_ */
|
||||
|
||||
|
Reference in New Issue
Block a user