mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-09-23 09:47:44 +00:00
HV: prototyping non-static function
Includes header file of non-static function, and declare the in-file use function static. Signed-off-by: Yang, Yu-chu <yu-chu.yang@intel.com> Acked-by: Anthony Xu <anthony.xu@intel.com>
This commit is contained in:
@@ -407,7 +407,7 @@ void setup_ioapic_irq(void)
|
||||
ASSERT(nr_gsi <= NR_MAX_GSI, "GSI table overflow");
|
||||
}
|
||||
|
||||
void dump_ioapic(void)
|
||||
static void dump_ioapic(void)
|
||||
{
|
||||
uint32_t irq;
|
||||
|
||||
@@ -457,7 +457,7 @@ void resume_ioapic(void)
|
||||
}
|
||||
|
||||
#ifdef HV_DEBUG
|
||||
void get_rte_info(struct ioapic_rte *rte, bool *mask, bool *irr,
|
||||
static void get_rte_info(struct ioapic_rte *rte, bool *mask, bool *irr,
|
||||
bool *phys, uint32_t *delmode, bool *level, uint32_t *vector, uint32_t *dest)
|
||||
{
|
||||
*mask = ((rte->lo_32 & IOAPIC_RTE_INTMASK) == IOAPIC_RTE_INTMSET);
|
||||
|
Reference in New Issue
Block a user