acrn-hypervisor/hypervisor/debug
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
..
console.c check UART valid or not when setup console timer 2018-06-01 14:22:27 +08:00
dump.c hv: support gva2gpa in different paging modes 2018-06-01 19:14:13 +08:00
logmsg.c HV:treewide:C99-friendly per_cpu implementation change the per_cpu method 2018-06-05 17:09:00 +08:00
printf.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
sbuf.c HV:treewide:C99-friendly per_cpu implementation change the per_cpu method 2018-06-05 17:09:00 +08:00
serial.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
serial_internal.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
shell_internal.c hv: support gva2gpa in different paging modes 2018-06-01 19:14:13 +08:00
shell_internal.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
shell_public.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
uart16550.c license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
uart16550.h license: Replace license text with SPDX tag 2018-06-01 10:43:06 +08:00
vuart.c HV: further cleanup of header inclusions 2018-05-25 10:45:56 +08:00