acrn-hypervisor/hypervisor/include
Junjie Mao 3571afc683 HV: hypercall: revisit types in structure parameters
While fixing the MISRA C violations related to integral types, we have unified
the type of the following data:

    uint8_t:
        phys_pin, virt_pin, vpic_pin, ioapic_pin, vioapic_pin

    uint16_t:
        vm_id, pcpu_id, vcpu_id, vpid

    uint32_t:
        vector, irq

This patch revisits the types of the fields in vhm_request as well as the
structures used as parameters in the hypercalls, and make them aligned with the
types the hypervisor uses for such data. Reserved fields are added to keep the
size and layout of the structures. Implicit paddings are also made explicit as
reserved fields.

Signed-off-by: Junjie Mao <junjie.mao@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-07-19 14:38:15 +08:00
..
arch/x86 HV:treewide:Fix type conversion in VMX, timer and MTTR module 2018-07-19 12:58:07 +08:00
common HV:misc:fix "signed/unsigned conversion with cast" 2018-07-16 15:45:40 +08:00
debug hv:fix MISRA-C return value violation 2018-07-13 13:04:39 +08:00
lib HV: handle integral issue report by MISRA-C 2018-07-16 16:24:29 +08:00
public HV: hypercall: revisit types in structure parameters 2018-07-19 14:38:15 +08:00
hv_debug.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
hv_lib.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
hypervisor.h hv: mmu: revisit mmu modify page table attributes 2018-07-19 11:11:32 +08:00