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:
Yang, Yu-chu
2018-07-12 13:14:13 -07:00
committed by lijinxia
parent 8925eb5647
commit 90b342bd53
18 changed files with 24 additions and 16 deletions

View File

@@ -242,6 +242,7 @@ struct stack_canary {
uint8_t reserved[40];
uint64_t canary;
};
void __stack_chk_fail(void);
#endif
extern struct cpuinfo_x86 boot_cpu_data;
@@ -263,6 +264,8 @@ bool is_vapic_intr_delivery_supported(void);
bool is_vapic_virt_reg_supported(void);
bool cpu_has_cap(uint32_t bit);
void load_cpu_state_data(void);
void bsp_boot_init(void);
void cpu_secondary_init(void);
void start_cpus();
void stop_cpus();

View File

@@ -72,6 +72,7 @@ int quick_handler_nolock(struct irq_desc *desc, void *handler_data);
int init_default_irqs(uint16_t cpu);
void dispatch_exception(struct intr_excp_ctx *ctx);
void dispatch_interrupt(struct intr_excp_ctx *ctx);
void setup_notification(void);