acrn-hypervisor/hypervisor/arch/x86
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
..
configs HV: config: add Kconfig and defconfigs for sbl & uefi 2018-06-08 17:21:13 +08:00
debug HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00
guest HV:treewide:Update cpu_id type as uint_16 2018-07-04 16:39:26 +08:00
assign.c HV:misc:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
cpu_primary.S init: separate init function based on different stack 2018-06-25 17:29:11 +08:00
cpu_state_tbl.c HV:x86:fix "expression is not Boolean" 2018-06-20 14:19:47 +08:00
cpu.c HV: timer: keep TSC frequency in KHz 2018-07-03 10:18:06 +08:00
cpuid.c HV:misc:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
ept.c HV:Treewide:Update the type of vcpu id as uint16_t 2018-07-04 14:28:52 +08:00
gdt.c HV:misc:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
idt.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
io.c HV:Treewide:Update the type of vcpu id as uint16_t 2018-07-04 14:28:52 +08:00
ioapic.c HV:interrupt:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
irq.c HV:treewide:Update cpu_id type as uint_16 2018-07-04 16:39:26 +08:00
Kconfig HV: correct loglevel definitions and default values 2018-06-20 13:23:46 +08:00
lapic.c HV:treewide:Update cpu_id type as uint_16 2018-07-04 16:39:26 +08:00
mmu.c HV:transfer page_table_type type 2018-07-02 10:47:01 +08:00
mtrr.c HV:Treewide:Update the type of vcpu id as uint16_t 2018-07-04 14:28:52 +08:00
notify.c HV: treewide: enforce unsignedness of pcpu_id 2018-06-21 16:59:21 +08:00
pm.c HV:misc:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
retpoline-thunk.S license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
softirq.c HV:treewide:Update cpu_id type as uint_16 2018-07-04 16:39:26 +08:00
timer.c HV:misc:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
trampoline.S init: separate init function based on different stack 2018-06-25 17:29:11 +08:00
trusty.c hv: add context->vmx_ia32_pat to save and restore VMCS 2018-07-02 12:33:06 +08:00
virq.c HV: Make all trace event prefix consist with TRACE 2018-07-02 10:46:41 +08:00
vmexit.c HV:misc:fix "signed/unsigned conversion without cast" 2018-07-04 12:18:38 +08:00
vmx_asm.S hv: cpu_context is not only used by guest. 2018-06-25 17:29:45 +08:00
vmx.c HV: Fix wrong log message in init_host_state 2018-07-03 17:09:58 +08:00
vtd.c modified the lapic_id type to uint8_t 2018-06-29 13:16:02 +08:00
wakeup.S hv: add enter_s3 2018-06-29 00:50:01 +08:00