mirror of
https://github.com/Motorhead1991/qemu.git
synced 2026-02-25 13:45:36 -07:00
Avoids the following bogus warning:
pvh_main.c: In function ‘pvh_load_kernel’:
pvh_main.c:101:42: warning: array subscript 0 is outside array bounds of ‘uint16_t[0]’ {aka ‘short unsigned int[]’} [-Warray-bounds]
101 | uint32_t ebda_paddr = ((uint32_t)*((uint16_t *)EBDA_BASE_ADDR)) << 4;
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Cc: qemu-stable@nongnu.org
Reviewed-by: Richard Henderson <richard.henderson@linaro.org>
Signed-off-by: Paolo Bonzini <pbonzini@redhat.com>
|
||
|---|---|---|
| .. | ||
| code16gcc.h | ||
| flat.lds | ||
| kvmvapic.S | ||
| linuxboot.S | ||
| linuxboot_dma.c | ||
| Makefile | ||
| multiboot.S | ||
| multiboot_dma.S | ||
| optionrom.h | ||
| optrom.h | ||
| optrom_fw_cfg.h | ||
| pvh.S | ||
| pvh_main.c | ||