mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-25 15:02:13 +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:
parent
fba343bd05
commit
d5c137eac5
@ -25,13 +25,13 @@ struct acrn_vm;
|
|||||||
* @brief Check if the GPA range is guest valid GPA or not
|
* @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] vm the pointer that points to VM data structure
|
||||||
* @param[in] base The specified start guest physical address of guest
|
* @param[in] mr_base_gpa The specified start guest physical address of guest
|
||||||
* physical memory region
|
* physical memory region
|
||||||
* @param[in] size The size 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.
|
* @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
|
* @brief EPT page tables destroy
|
||||||
|
@ -54,7 +54,7 @@ struct hv_timer {
|
|||||||
* @param[in] timer Pointer to timer.
|
* @param[in] timer Pointer to timer.
|
||||||
* @param[in] func irq callback if time reached.
|
* @param[in] func irq callback if time reached.
|
||||||
* @param[in] priv_data func private data.
|
* @param[in] priv_data func private data.
|
||||||
* @param[in] fire_tsc tsc deadline to interrupt.
|
* @param[in] timeout tsc deadline to interrupt.
|
||||||
* @param[in] period_in_cycle period of the periodic timer in unit of TSC cycles.
|
* @param[in] period_in_cycle period of the periodic timer in unit of TSC cycles.
|
||||||
*
|
*
|
||||||
* @remark Don't initialize a timer twice if it has been added to the timer list
|
* @remark Don't initialize a timer twice if it has been added to the timer list
|
||||||
@ -64,7 +64,7 @@ struct hv_timer {
|
|||||||
*/
|
*/
|
||||||
void initialize_timer(struct hv_timer *timer,
|
void initialize_timer(struct hv_timer *timer,
|
||||||
timer_handle_t func, void *priv_data,
|
timer_handle_t func, void *priv_data,
|
||||||
uint64_t fire_tsc, uint64_t period_in_cycle);
|
uint64_t timeout, uint64_t period_in_cycle);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @brief Check a timer whether expired.
|
* @brief Check a timer whether expired.
|
||||||
|
Loading…
Reference in New Issue
Block a user