mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-06-16 02:38:33 +00:00
Declare a variable with the static qualifier if it is of file scope and not used in another file. v1 -> v2: * remove the unnecessary change to the following variables, which is due to the report issue struct multiboot_info *mbi = (struct multiboot_info *) (HPA2HVA((uint64_t)boot_regs[1])); struct multiboot_mmap *mmap = (struct multiboot_mmap *) HPA2HVA((uint64_t)mbi->mi_mmap_addr); Signed-off-by: Shiqing Gao <shiqing.gao@intel.com> Reviewed-by: Junjie Mao <junjie.mao@intel.com> |
||
---|---|---|
.. | ||
hv_main.c | ||
hypercall.c | ||
io_request.c | ||
ptdev.c | ||
schedule.c | ||
softirq.c | ||
stack_protector.c | ||
trusty_hypercall.c | ||
vm_load.c |