acrn-hypervisor/hypervisor/debug
Zhi Jin 6367650a70 hv: debug: add the hypervisor NPK log
The npk_log is a log destination for the hypervisor, similar to the
console_log and the mem_log. It can be enabled/disabled/configured
by the SOS kernel via the hypercall HC_SETUP_HV_NPK_LOG.
The configuration includes:
1. Set the MMIO base address of the reserved NPK master.
2. Set the log level of the hypervisor NPK log.
After that, the npk_log can be enabled to write the hypervisor logs to
the MMIO address of the reserved NPK master with a simple header.

Signed-off-by: Zhi Jin <zhi.jin@intel.com>
Signed-off-by: Liu, Xiaojing <xiaojing.liu@intel.com>
Reviewed-by: CHEN Gang <gang.c.chen@intel.com>
Acked-by: Anthony Xu <anthony.xu@intel.com>
2018-08-23 11:09:25 +08:00
..
console.c hv:fixed several return value violations 2018-08-20 09:51:07 +08:00
dump.c hv: code clean up regarding to % and / operations 2018-08-22 15:37:53 +08:00
logmsg.c hv: debug: add the hypervisor NPK log 2018-08-23 11:09:25 +08:00
npk_log.c hv: debug: add the hypervisor NPK log 2018-08-23 11:09:25 +08:00
printf.c hv: treewide: fix 'Potential side effect problem in expression' 2018-08-08 10:50:06 +08:00
sbuf.c HV: Logical conjunction needs brackets 2018-08-14 09:53:32 +08:00
shell_priv.h hv: debug: add the hypervisor NPK log 2018-08-23 11:09:25 +08:00
shell.c hv: debug: add the hypervisor NPK log 2018-08-23 11:09:25 +08:00
uart16550.c hv:Rename port/mmio read and write APIs 2018-08-02 14:03:38 +08:00
uart16550.h hv:cleanup console/uart code 2018-08-02 11:25:40 +08:00
vuart.c hv: code clean up regarding to % and / operations 2018-08-22 15:37:53 +08:00