acrn-hypervisor/hypervisor/include/debug
Kaige Fu 80a79fed39 HV: Replace printf with pr_acrnlog after logmsg init
There are some massages which is not fatal error but should to print
to serial and sbuf(hvlog) at the same time. pr_fatal is for fatal error
massages and it is not good choice for the situation above.

Introduce a new API pr_acrnlog to deal with the situation. And replace the
following printf with pr_acrnlog for massages should be print to sbuf and
serial. Then developers can get those massages on serial and BTM(Boot Time
Measurement) can use acrnlog to get those massages from sbuf.

BTM refers to Boot Time Measurement which will read acrnlog file to get
timestamps of steps we want.

Signed-off-by: Kaige Fu <kaige.fu@intel.com>
Reviewed-by: Kevin Tian <kevin.tian@intel.com>
2018-05-30 14:49:09 +08:00
..
assert.h Remove STATIC_ASSERT Macro and replace with standard _Static_assert 2018-05-15 17:19:38 +08:00
console.h initial import 2018-05-11 14:44:28 +08:00
dump.h hv:Merge dump_interrupt and dump_exception to a commond API 2018-05-23 13:38:52 +08:00
logmsg.h HV: Replace printf with pr_acrnlog after logmsg init 2018-05-30 14:49:09 +08:00
printf.h Move s[n]printf to lib for release 2018-05-15 17:19:37 +08:00
sbuf.h Don't use HV_DEBUG outside debug directory 2018-05-15 17:19:37 +08:00
serial.h Minor cleanup not to use uart for release on platform uefi 2018-05-15 17:19:37 +08:00
shell.h initial import 2018-05-11 14:44:28 +08:00
trace.h HV: treewide: give names to unnamed structs/unions 2018-05-29 14:12:15 +08:00
vuart.h initial import 2018-05-11 14:44:28 +08:00