acrn-hypervisor/hypervisor/include/arch/x86
Huihuang Shi e591315a65 HV:treewide:C99-friendly per_cpu implementation change the per_cpu method
The current implementation of per_cpu relies on several non-c99 features,
and in additional involves arbitrary pointer arithmetic which is not MIS-
RA C friendly.

This patch introduces struct per_cpu_region which holds all the per_cpu
variables. Allocation of per_cpu data regions and access to per_cpu vari-
ables are greatly simplified, at the cost of making all per_cpu varaibl-
es accessible in files.

Signed-off-by: Huihuang Shi <huihuang.shi@intel.com>
2018-06-05 17:09:00 +08:00
..
guest hv: vmx: add vpid support 2018-06-04 17:11:15 +08:00
apicreg.h lapic: continuous LVT registers as an array 2018-05-30 13:52:11 +08:00
assign.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
cpu.h HV:treewide:C99-friendly per_cpu implementation change the per_cpu method 2018-06-05 17:09:00 +08:00
cpufeatures.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
cpuid.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
gdt.h HV:treewide:C99-friendly per_cpu implementation change the per_cpu method 2018-06-05 17:09:00 +08:00
hv_arch.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
idt.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
io.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
ioapic.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
irq.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
lapic.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
mmu.h hv: vmx: add vpid support 2018-06-04 17:11:15 +08:00
msr.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
multiboot.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
per_cpu.h HV:treewide:C99-friendly per_cpu implementation change the per_cpu method 2018-06-05 17:09:00 +08:00
reboot.h hv: Add reboot shell command 2018-05-18 16:38:40 +08:00
softirq.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
timer.h HV:treewide:C99-friendly per_cpu implementation change the per_cpu method 2018-06-05 17:09:00 +08:00
trusty.h fix "ISO C99 does not support '_Static_assert'" 2018-06-01 16:39:28 +08:00
vmexit.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vmx.h hv: vmx: add vpid support 2018-06-04 17:11:15 +08:00
vtd.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
zeropage.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00