Enabled IPC debug features under new config

Introduced a new config flag to enable
userError format strings to be written to the IPC buffer.
Another config bool has been introduced to toggle
printing the error out and this can also be set at runtime.

Signed-off-by: Saer Debel <saer.debel@data61.csiro.au>
This commit is contained in:
Saer Debel
2020-04-06 10:59:34 +10:00
parent 9dad7382e1
commit a221ee1ca8
14 changed files with 102 additions and 10 deletions

View File

@@ -330,6 +330,15 @@ config_option(
DEPENDS "NOT KernelVerificationBuild"
DEFAULT_DISABLED OFF
)
config_option(
KernelInvocationReportErrorIPC KERNEL_INVOCATION_REPORT_ERROR_IPC
"Allows the kernel to write the userError to the IPC buffer"
DEFAULT OFF
DEPENDS "KernelPrinting"
DEFAULT_DISABLED OFF
)
config_choice(
KernelBenchmarks
KERNEL_BENCHMARK