acrn-hypervisor/hypervisor/arch/x86
Yan, Like 5b14df3a35 hv: irq: fix type for vector in ioapic setup
Fix the type for vector in ioapic setup, which is a potential problem:
- return VECTOR_INVALID instead of false in irq_desc_alloc_vector()
  when irq is out of range;
- change variable type from int to uint32_t for vector, and correct
  the returned value check.

Signed-off-by: Yan, Like <like.yan@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-06-26 10:47:35 +08:00
..
configs HV: config: add Kconfig and defconfigs for sbl & uefi 2018-06-08 17:21:13 +08:00
debug HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
guest Rename phy_cpu_num as phys_cpu_num 2018-06-22 16:12:52 +08:00
assign.c HV: remove unused API lookp_entry_by_id() 2018-06-22 12:17:35 +08:00
cpu_primary.S init: separate init function based on different stack 2018-06-25 17:29:11 +08:00
cpu_state_tbl.c HV:x86:fix "expression is not Boolean" 2018-06-20 14:19:47 +08:00
cpu.c hv: cpu_context is not only used by guest. 2018-06-25 17:29:45 +08:00
cpuid.c HV: cpu: convert hexadecimals used in bitops to unsigned 2018-06-21 13:12:39 +08:00
ept.c hv: uos needn't to ummap trap mmio memory 2018-06-22 16:12:01 +08:00
gdt.c HV: mmu: convert hexadecimals used in bitops to unsigned 2018-06-21 13:12:39 +08:00
idt.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
interrupt.c HV: treewide: convert hexadecimals used in bitops to unsigned 2018-06-21 13:12:39 +08:00
intr_lapic.c HV: treewide: enforce unsignedness of pcpu_id 2018-06-21 16:59:21 +08:00
intr_main.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
io.c HV: treewide: convert hexadecimals used in bitops to unsigned 2018-06-21 13:12:39 +08:00
ioapic.c hv: irq: fix type for vector in ioapic setup 2018-06-26 10:47:35 +08:00
irq.c hv: irq: fix type for vector in ioapic setup 2018-06-26 10:47:35 +08:00
Kconfig HV: correct loglevel definitions and default values 2018-06-20 13:23:46 +08:00
mmu.c Rename phy_cpu_num as phys_cpu_num 2018-06-22 16:12:52 +08:00
mtrr.c hv: remove config_page_table_attr 2018-06-22 16:12:01 +08:00
notify.c HV: treewide: enforce unsignedness of pcpu_id 2018-06-21 16:59:21 +08:00
pm.c hv: Add initialize pm.c 2018-06-14 13:41:45 +08:00
retpoline-thunk.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
softirq.c Rename phy_cpu_num as phys_cpu_num 2018-06-22 16:12:52 +08:00
timer.c Rename phy_cpu_num as phys_cpu_num 2018-06-22 16:12:52 +08:00
trampoline.S init: separate init function based on different stack 2018-06-25 17:29:11 +08:00
trusty.c hv: remove config_page_table_attr 2018-06-22 16:12:01 +08:00
vmexit.c hv: cpu_context is not only used by guest. 2018-06-25 17:29:45 +08:00
vmx_asm.S hv: cpu_context is not only used by guest. 2018-06-25 17:29:45 +08:00
vmx.c HV: treewide: enforce unsignedness of pcpu_id 2018-06-21 16:59:21 +08:00
vtd.c vtd:fix "negative shift" 2018-06-22 12:18:45 +08:00