acrn-hypervisor/hypervisor/common
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
..
hv_main.c HV:treewide:Update cpu_id type as uint_16 2018-07-04 16:39:26 +08:00
hypercall.c HV:Treewide:Update the type of vcpu id as uint16_t 2018-07-04 14:28:52 +08:00
io_request.c HV:Treewide:Update the type of vcpu id as uint16_t 2018-07-04 14:28:52 +08:00
ptdev.c HV:common:fix "expression is not Boolean" 2018-06-20 14:19:47 +08:00
schedule.c HV:common:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
stack_protector.c HV:common:fix "expression is not Boolean" 2018-06-20 14:19:47 +08:00
trusty_hypercall.c HV:common:transfer local variable type 2018-06-29 09:49:29 +08:00
vm_load.c HV:Treewide:Update the type of vcpu id as uint16_t 2018-07-04 14:28:52 +08:00