acrn-hypervisor/hypervisor/common
Shiqing Gao cdd19dc51b hv: treewide: fix 'Variable should be declared static'
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>
2018-08-10 10:15:36 +08:00
..
hv_main.c move global x2apic_enabled into arch dir 2018-08-07 09:55:13 +08:00
hypercall.c HV: trusty: refine secure_world_control 2018-08-09 15:09:15 +08:00
io_request.c hv:cleanup vmid related code 2018-08-06 12:27:53 +08:00
ptdev.c hv: treewide: fix 'Variable should be declared static' 2018-08-10 10:15:36 +08:00
schedule.c add cpu_do_idle to handle idle 2018-08-08 10:00:51 +08:00
softirq.c hv: softirq: refine softirq 2018-08-01 11:36:27 +08:00
stack_protector.c HV:common:fix "expression is not Boolean" 2018-06-20 14:19:47 +08:00
trusty_hypercall.c HV: trusty: new hypercall to save/restore context of secure world 2018-08-09 15:09:15 +08:00
vm_load.c vcpu: add get/set register APIs 2018-08-07 09:55:13 +08:00