acrn-hypervisor/hypervisor/include/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
..
gpr.h hv: move define of struct cpu_gp_regs to a separate headfile 2018-08-09 16:43:58 +08:00
guest_pm.h hv: treewide: fix 'No definition in system for prototyped procedure' 2018-07-20 10:38:32 +08:00
guest.h HV: Add const qualifiers where required 2018-08-17 10:02:12 +08:00
mptable.h HV: Adding mptable support for partition mode ACRN 2018-08-03 13:36:40 +08:00
ucode.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vcpu.h dump vcpu registers on correct vcpu 2018-08-15 12:05:18 +08:00
vioapic.h hv:fix return value violations for vpic/vioapic 2018-08-16 09:01:08 +08:00
vlapic.h hv: treewide: fix 'Prototype and definition name mismatch' 2018-08-06 16:04:40 +08:00
vm0_boot.h hv: move boot_ctx offset definitions 2018-08-14 13:05:06 +08:00
vm.h hv: Add vrtc emulation support for ACRN partition mode 2018-08-16 16:23:11 +08:00
vpic.h hv:fix return value violations for vpic/vioapic 2018-08-16 09:01:08 +08:00