acrn-hypervisor/hypervisor/arch/x86/guest
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.c HV: Add const qualifiers where required 2018-08-17 10:02:12 +08:00
instr_emul.c HV: Logical conjunction needs brackets under /arch/x86/guest 2018-08-14 09:53:32 +08:00
instr_emul.h HV: instr_emul: Remove dead code 2018-08-07 12:09:22 +08:00
mptable.c HV: Adding mptable support for partition mode ACRN 2018-08-03 13:36:40 +08:00
pm.c HV: Logical conjunction needs brackets under /arch/x86/guest 2018-08-14 09:53:32 +08:00
ucode.c hv: get correct fault address for copy_to/from_gva 2018-08-09 14:46:13 +08:00
vcpu.c hv: VM BSP vcpu mode for ACRN partition mode 2018-08-16 16:27:07 +08:00
vlapic_priv.h hv: apicv: remove APIC_OFFSET_SELF_IPI(0x3F0) register 2018-08-17 08:57:31 +08:00
vlapic.c hv: vmx_vapic: fix two build warnings 2018-08-17 08:57:31 +08:00
vm.c hv: Add vrtc emulation support for ACRN partition mode 2018-08-16 16:23:11 +08:00
vmcall.c HV: Enclose debug specific code with #ifdef HV_DEBUG 2018-08-15 11:17:29 +08:00
vmsr.c HV: Logical conjunction needs brackets under /arch/x86/guest 2018-08-14 09:53:32 +08:00