mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2026-01-04 15:14:27 +00:00
hv: fix 'User name starts with underscore'
There are chances that names with leading underscore declared by developers are conflict with the ones reserved for the compiler. What this patch does: - rename these functions/variables/macros starting with underscore to avoid such unintentational mistakes. - remove gpr.h without any contents Tracked-On: #861 Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Acked-by: Eddie Dong <eddie.dong@intel.com>
This commit is contained in:
@@ -27,8 +27,8 @@
|
||||
* $FreeBSD$
|
||||
*/
|
||||
|
||||
#ifndef _VLAPIC_H_
|
||||
#define _VLAPIC_H_
|
||||
#ifndef VLAPIC_H
|
||||
#define VLAPIC_H
|
||||
|
||||
/*
|
||||
* 16 priority levels with at most one vector injected per level.
|
||||
@@ -186,4 +186,4 @@ int apic_write_vmexit_handler(struct vcpu *vcpu);
|
||||
int veoi_vmexit_handler(struct vcpu *vcpu);
|
||||
int tpr_below_threshold_vmexit_handler(__unused struct vcpu *vcpu);
|
||||
void calcvdest(struct vm *vm, uint64_t *dmask, uint32_t dest, bool phys);
|
||||
#endif /* _VLAPIC_H_ */
|
||||
#endif /* VLAPIC_H */
|
||||
|
||||
Reference in New Issue
Block a user