mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 09:47:44 +00:00
HV: treewide: fix violations of coding guideline C-FN-09
The coding guideline gule C-FN-09 requires that 'the formal parameter name of a function shall be consistent'. This patch fixes two places where the formal parameters are named differently in declarations and definitions. More specifically, the names in declarations are replaced with those in definitions. This patch has no semantic impact. Tracked-On: #6776 Signed-off-by: Junjie Mao <junjie.mao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -25,13 +25,13 @@ struct acrn_vm;
|
||||
* @brief Check if the GPA range is guest valid GPA or not
|
||||
*
|
||||
* @param[in] vm the pointer that points to VM data structure
|
||||
* @param[in] base The specified start guest physical address of guest
|
||||
* physical memory region
|
||||
* @param[in] mr_base_gpa The specified start guest physical address of guest
|
||||
* physical memory region
|
||||
* @param[in] size The size of guest physical memory region
|
||||
*
|
||||
* @retval true if the GPA range is guest valid GPA, false otherwise.
|
||||
*/
|
||||
bool ept_is_valid_mr(struct acrn_vm *vm, uint64_t base, uint64_t size);
|
||||
bool ept_is_valid_mr(struct acrn_vm *vm, uint64_t mr_base_gpa, uint64_t size);
|
||||
|
||||
/**
|
||||
* @brief EPT page tables destroy
|
||||
|
Reference in New Issue
Block a user