acrn-hypervisor/hypervisor/include/arch/x86/guest
Xiangyang Wu b76c92bf3e HV:treewide:Update cpu_id type as uint_16
There are extra type conversion in the HV since cpu_id
type is uint32_t and the return value type of get_cpu_id
is uint16_t. BTW, the name of cpu_id is not clear enough
to express its usage.

So the following updates are made in this patch:
Update cpu_id type as unit_16 to reduce type casting;
Update related temporary variables type;
Update related print argument;
Change the input parameter name of interrupt_init as
cpu_id to keep align with function implement;
Rename cpu_id as pcpu_id as needed.

Signed-off-by: Xiangyang Wu <xiangyang.wu@intel.com>
Acked-by: Eddie Dong <eddie.dong@intel.com>
2018-07-04 16:39:26 +08:00
..
guest_pm.h hv: trap vm0 write/read pm1a/pm1b registers 2018-06-29 00:50:01 +08:00
guest.h HV:Treewide:Update the type of vcpu id as uint16_t 2018-07-04 14:28:52 +08:00
ucode.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vcpu.h HV:treewide:Update cpu_id type as uint_16 2018-07-04 16:39:26 +08:00
vioapic.h hv: add ioapic reset function 2018-07-02 16:12:54 +08:00
vlapic.h HV:Treewide:Update the type of vcpu id as uint16_t 2018-07-04 14:28:52 +08:00
vm.h HV:guest:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
vpic.h HV: irq: convert hexadecimals used in bitops to unsigned 2018-06-21 13:12:39 +08:00