acrn-hypervisor/hypervisor/include/arch/x86
Zide Chen 3a5b5b084f hv: fix MISRA-C violations in vpic.c and vioapic.c
120D: Pointer param should be declared pointer to const.
  add 'const' qualifier to function signatures when it's possible.
  - vioapic_set_irqline_nolock()
  - vioapic_set_irqline_lock()
  - master_pic()
  - vpic_ocw2()
  - vpic_ocw3()
  - vpic_set_irqline()
  - vpic_get_irqline_trigger_mode()
  - vm_pic()
  - vm_ioapic

93S: Value is not of appropriate type.
  change '0' to '0U' in function vpic_icw1().

Tracked-On: #861
Signed-off-by: Zide Chen <zide.chen@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2019-01-11 23:04:54 +08:00
..
boot move idt.S and idt.h out of boot component 2018-12-12 09:07:43 +08:00
guest hv: fix MISRA-C violations in vpic.c and vioapic.c 2019-01-11 23:04:54 +08:00
abl_seed_parse.h HV:treewide:rename vm data structure 2018-11-05 15:35:49 +08:00
apicreg.h hv: replace CPU_PAGE_SIZE with PAGE_SIZE 2018-12-03 15:14:57 +08:00
assign.h hv: passthrough: Change interrupt pin to uint32_t 2019-01-10 23:52:25 +08:00
cpu.h hv: coding style: use the defined data type __packed 2019-01-02 09:35:00 +08:00
cpu_caps.h hv: coding style: remove basic type declaration use 2019-01-08 15:41:39 +08:00
cpufeatures.h hv: add fast string enhanced rep movsb/stosb check on initial 2018-12-18 16:30:27 +08:00
cpuid.h hv: disable more features from guest CPUID 2019-01-09 23:04:41 +08:00
e820.h hv: coding style: refine page related 2018-12-20 15:44:08 +08:00
gdt.h hv: coding style: remove no real declaration for external variable 2018-12-20 20:20:08 +08:00
host_pm.h hv:Move pm state structure to pm.h 2019-01-07 11:23:22 +08:00
hv_arch.h scheduler: refine runqueue related functions 2018-12-21 10:34:15 +08:00
idt.h hv: irq: fix MISRA-C violations in irq.c and idt.h 2018-12-20 09:09:31 +08:00
init.h hv: init: minor fix related to header file 2019-01-11 21:53:09 +08:00
io.h hv: mmio_read: add `const` qualifier 2018-12-26 10:57:41 +08:00
ioapic.h hv: ioapic: Change interrupt pin to uint32_t 2019-01-10 23:52:25 +08:00
ioreq.h hv: rename register_io_emulation_handler 2019-01-08 11:28:13 +08:00
irq.h hv:Unify the MACRO name for invalid interrupt pin 2019-01-10 23:52:25 +08:00
lapic.h doc: hv: add comments to irq APIs for documentation 2018-11-02 15:34:36 -07:00
mmu.h hv:Change structure boot_cpu_data to static 2019-01-07 11:23:22 +08:00
msr.h hv: disable more features from guest CPUID 2019-01-09 23:04:41 +08:00
multiboot.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
page.h hv: coding style: refine page related 2018-12-20 15:44:08 +08:00
per_cpu.h hv: coding style: use the defined data type __packed 2019-01-02 09:35:00 +08:00
pgtable.h doc: replace return with retval 2018-11-30 14:55:17 +08:00
sbl_seed_parse.h HV:treewide:rename vm data structure 2018-11-05 15:35:49 +08:00
security.h Make ibrs_type as internal variable 2018-12-19 09:07:14 +08:00
timer.h remove check_tsc 2018-12-17 14:31:52 +08:00
trampoline.h hv: update coding style for tampoline.c 2018-12-25 13:25:14 +08:00
trusty.h hv: coding style: refine initialize_trusty to one exit 2018-12-20 21:53:51 +08:00
vmcs.h modulization: move functions related with cpu caps into cpu_caps.c 2018-12-19 09:07:14 +08:00
vmexit.h hv: use int32_t replace int 2018-12-12 13:08:10 +08:00
vmx.h modulization: vmx on/off should not use vcpu param 2018-12-18 10:00:56 +08:00
vtd.h hv: Write Buffer Flush - VT-d 2018-12-24 22:18:30 +08:00
zeropage.h hv: minimize the case of "identifier reuse" 2018-12-07 15:21:39 +08:00