mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-04 10:25:00 +00:00
modularization: clean up namings in vMTRR module
- rename 3 module interface APIs init_mtrr() -> init_vmtrr() mtrr_rdmsr -> read_vmtrr() mtrr_wrmsr() -> write_vmtrr() - follow naming convention for other modules, rename struct mtrr_state to struct acrn_vmtrr. And add acrn_vcpu to it. - because MTRR is x86 architecture specific, move struct acrn_vmtrr to struct acrn_vcpu_arch. Tracked-on: #1842 Signed-off-by: Zide Chen <zide.chen@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -472,13 +472,13 @@ EPT
|
||||
Virtual MTRR
|
||||
------------
|
||||
|
||||
.. doxygenfunction:: init_mtrr
|
||||
.. doxygenfunction:: init_vmtrr
|
||||
:project: Project ACRN
|
||||
|
||||
.. doxygenfunction:: mtrr_wrmsr
|
||||
.. doxygenfunction:: write_vmtrr
|
||||
:project: Project ACRN
|
||||
|
||||
.. doxygenfunction:: mtrr_rdmsr
|
||||
.. doxygenfunction:: read_vmtrr
|
||||
:project: Project ACRN
|
||||
|
||||
VPID
|
||||
|
Reference in New Issue
Block a user