acrn-hypervisor/hypervisor/common
Victor Sun 960238cdcb HV: fix build issue on RELEASE version
The HV will be built failed with below compiler message:

  common/efi_mmap.c: In function ‘init_efi_mmap_entries’:
  common/efi_mmap.c:41:11: error: unused variable ‘efi_memdesc_nr’
			[-Werror=unused-variable]
  uint32_t efi_memdesc_nr = uefi_info->memmap_size / uefi_info->memdesc_size;
  ^~~~~~~~~~~~~~
  cc1: all warnings being treated as errors

The root cause is ASSERT() api is for DEBUG only so efi_memdesc_nr is not used
in RELEASE code.

The patch fix this issue by removing efi_memdesc_nr declaration;

Tracked-On: #6834

Signed-off-by: Victor Sun <victor.sun@intel.com>
2021-11-16 19:01:44 +08:00
..
delay.c hv/mod_timer: separate delay functions from the timer module 2021-05-18 16:43:28 +08:00
efi_mmap.c HV: fix build issue on RELEASE version 2021-11-16 19:01:44 +08:00
event.c hv: Change sched_event structure to resolve data race in event handling 2021-08-20 08:11:40 +08:00
hv_main.c hv: add priority based scheduler 2021-09-24 09:32:18 +08:00
hypercall.c hv: remove MAX_KATA_VM_NUM and CONFIG_KATA_VM 2021-11-16 14:42:59 +08:00
irq.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
ptdev.c ACRN: hv: Unify terminology for service vm 2021-11-02 10:00:55 +08:00
sched_bvt.c hv/mod_timer: refine timer interface 2021-05-18 16:43:28 +08:00
sched_iorr.c hv/mod_timer: refine timer interface 2021-05-18 16:43:28 +08:00
sched_noop.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
sched_prio.c hv: add priority based scheduler 2021-09-24 09:32:18 +08:00
schedule.c hv: add priority based scheduler 2021-09-24 09:32:18 +08:00
softirq.c hv: mod: do not use explicit arch name when including headers 2021-05-08 11:15:46 +08:00
ticks.c hv/mod_timer: split tsc handling code from timer. 2021-05-18 16:43:28 +08:00
timer.c hv/mod_timer: refine timer interface 2021-05-18 16:43:28 +08:00
trusty_hypercall.c ACRN: hv: Unify terminology for user vm 2021-11-02 10:00:55 +08:00
vm_load.c HV: Add elf loader sketch 2021-08-19 20:00:45 +08:00