acrn-hypervisor/hypervisor/boot
Qiang Zhang 95c4d18423 hv: compile out unused function if CONFIG_MULTIBOOT2 is disabled
When CONFIG_MULTIBOOT2 is disabled, 'create_service_vm_efi_mmap_desc' is
unused and build fails because [-Werror=unused-function] is set.

boot/guest/bzimage_loader.c:188:17: error: 'create_service_vm_efi_mmap_desc' defined but not used [-Werror=unused-function]
  188 | static uint16_t create_service_vm_efi_mmap_desc(struct acrn_vm *vm, struct efi_memory_desc *efi_mmap_desc)
      |                 ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
cc1: all warnings being treated as errors

Tracked-On: #7634
Signed-off-by: Qiang Zhang <qiang4.zhang@linux.intel.com>
2022-07-07 11:25:31 +08:00
..
guest hv: compile out unused function if CONFIG_MULTIBOOT2 is disabled 2022-07-07 11:25:31 +08:00
include Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00
multiboot Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00
acpi_base.c Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00
boot.c HV: treewide: fix violations of coding guideline C-TY-12 2021-11-04 18:15:47 +08:00
reloc.c Remove "All rights reserved" string headers 2022-04-06 13:21:02 +08:00