acrn-hypervisor/hypervisor/include/arch/x86
Arindam Roy d3db5a6705 HV: Add const qualifiers where required
V1:
In order to better comply with MISRA C,
add const qualifiers whereeven required.
In the patch, these are being added to pointers
which are normally used in "get" functions.

V2: Corrected the issues in the patch
pointed by Junjie in his review comments.
Moved the const qualifiers to the correct
places. Removed some changes which are not
needed.

V3: Updated patch comment.
This modifies a subset of all the functions
which might need constant qualifiers
for the their parameters.
This is not and exhaustive patch. This only
targets obvious places where we can use
the const qualifier. More changes will be
submitted in future patches, if required.

Signed-off-by: Arindam Roy <arindam.roy@intel.com>
2018-08-17 10:02:12 +08:00
..
guest HV: Add const qualifiers where required 2018-08-17 10:02:12 +08:00
apicreg.h hv: vioapic: remove EOI register support 2018-08-06 12:32:35 +08:00
assign.h hv: treewide: fix 'Function prototype/defn param type mismatch' 2018-08-01 15:53:29 +08:00
cpu.h HV: remove 'spinlock_rfags' declaration 2018-08-16 09:43:04 +08:00
cpufeatures.h HV:CPU: Add 'U/UL' for unsigned const value 2018-07-09 10:27:21 +08:00
cpuid.h HV: Add const qualifiers where required 2018-08-17 10:02:12 +08:00
gdt.h HV:treewide:fix value outside range of underlying type 2018-08-06 16:07:41 +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: softirq: move softirq.c to common directory 2018-08-01 11:36:27 +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 const qualifiers where required 2018-08-17 10:02:12 +08:00
ioapic.h hv: treewide: fix 'Variable should be declared static' 2018-08-10 10:15:36 +08:00
ioreq.h HV: io: drop REQ_STATE_FAILED 2018-08-15 12:04:12 +08:00
irq.h add smp_call_function support 2018-08-15 12:05:18 +08:00
lapic.h lapic: add send_dest_ipi function 2018-08-15 12:05:18 +08:00
mmu.h HV: Add const qualifiers where required 2018-08-17 10:02:12 +08:00
msr.h Revert "[REVERT-ME]: disable turbo mode" 2018-08-15 11:05:49 +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 add smp_call_function support 2018-08-15 12:05:18 +08:00
pgtable_types.h hv: mmu: revisit mmu modify page table attributes 2018-07-19 11:11:32 +08:00
pgtable.h HV: Add const qualifiers where required 2018-08-17 10:02:12 +08:00
timer.h hv: treewide: fix 'Procedure parameter has a type but no identifier' 2018-08-03 13:29:24 +08:00
trusty.h hv:Refine destroy_secure_world API 2018-08-10 10:17:09 +08:00
vmexit.h HV:treewide:fix "Reference parameter to procedure is reassigned" 2018-07-27 12:17:12 +08:00
vmx.h HV: Add const qualifiers where required 2018-08-17 10:02:12 +08:00
vtd.h HV: logical and high level precedence expression needs brackets 2018-07-24 10:10:39 +08:00
zeropage.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00