acrn-hypervisor/hypervisor/include/arch/x86
Shiqing Gao e0973e4883 hv: ioapic: convert some MACROs to inline functions
Convert GSI_MASK_IRQ and GSI_UNMASK_IRQ to inline functions.

v1 -> v2:
After changing GSI_MASK_IRQ and GSI_UNMASK_IRQ from MACROs to functions,
'gsi_(mask|unmask)_irq' are the exposed APIs and 'irq_gsi_mask_unmask'
becomes internal.
In order to reflect this change,
- change 'irq_gsi_mask_unmask' as internal function in ioapic.c
- declare 'gsi_(mask|unmask)_irq' in ioapic.h
- define 'gsi_(mask|unmask)_irq' in ioapic.c

Tracked-On: #861
Signed-off-by: Shiqing Gao <shiqing.gao@intel.com>
Reviewed-by: Junjie Mao <junjie.mao@intel.com>
2018-09-25 11:09:56 +08:00
..
guest HV: modify code for intr storm detect & handling 2018-09-25 11:09:35 +08:00
apicreg.h HV:fix potential buffer overflow issues 2018-09-18 16:14:27 +08:00
assign.h hv: ptdev: remove vector index from structure ptdev_msi_info 2018-08-23 11:10:04 +08:00
cpu.h hv: treewide: fix 'Use of function like macro' 2018-09-11 10:49:48 +08:00
cpufeatures.h HV:CPU: Add 'U/UL' for unsigned const value 2018-07-09 10:27:21 +08:00
cpuid.h hv:Replace vlapic pointer with instance in vcpu_arch 2018-09-12 09:20:07 +08:00
gdt.h hv: remove unused MACROs 2018-09-18 09:43:43 +08:00
hob_parse.h HV: handle integral issues as MISRA-C report 2018-07-20 10:39:46 +08:00
host_pm.h hv: trap vm0 write/read pm1a/pm1b registers 2018-06-29 00:50:01 +08:00
hv_arch.h hv: merge pgtable_types.h and pgtable.h 2018-09-13 16:17:48 +08:00
idt.h HV:treewide:transfer the struct member types to non-basic types 2018-06-29 15:48:19 +08:00
io.h hv: add mmio functions for 64bit values 2018-08-23 11:09:25 +08:00
ioapic.h hv: ioapic: convert some MACROs to inline functions 2018-09-25 11:09:56 +08:00
ioreq.h hv: Replace dynamic memory allocation for I/O bitmaps 2018-09-12 09:20:07 +08:00
irq.h hv:Fix Implict conversion:actual to formal param 2018-09-18 13:09:39 +08:00
lapic.h hv: remove unused MACROs 2018-09-18 09:43:43 +08:00
mmu.h hv: treewide: fix 'Use of function like macro' 2018-09-11 10:49:48 +08:00
msr.h hv: treewide: fix 'Use of function like macro' 2018-09-11 10:49:48 +08:00
mtrr.h HV: remove 'warm_reboot()'function and other minor cleanup 2018-08-14 09:54:48 +08:00
multiboot.h hv: Partition mode ACRN -kernel load and bootargs load address 2018-08-13 09:34:02 +08:00
per_cpu.h hv: Replace dynamic allocation with static memory for vmxon_region 2018-09-07 10:23:04 +08:00
pgtable.h hv: merge pgtable_types.h and pgtable.h 2018-09-13 16:17:48 +08:00
timer.h HV: modify code for intr storm detect & handling 2018-09-25 11:09:35 +08:00
trusty.h hv: remove unused MACROs 2018-09-18 09:43:43 +08:00
vmexit.h hv: treewide: convert some MACROs to inline functions 2018-09-04 12:27:18 +08:00
vmx.h hv: add SMAP/SMEP check during guest page walking 2018-09-13 09:21:59 +08:00
vtd.h hv: vtd: use EPT as translation table for PTDev in SOS 2018-08-23 11:46:57 +08:00
zeropage.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00