mirror of
https://github.com/projectacrn/acrn-hypervisor.git
synced 2025-11-14 19:02:02 +00:00
Enable acrnlog (memory logging) in release builds, default log level is still controlled by DEBUG_OPTIONS/MEM_LOGLEVEL in scenario file. Tracked-On: #8805 Signed-off-by: Jiaqing Zhao <jiaqing.zhao@linux.intel.com> Reviewed-by: Yifan Liu <yifan1.liu@intel.com>
15 lines
380 B
C
15 lines
380 B
C
/*
|
|
* Copyright (C) 2018-2022 Intel Corporation.
|
|
*
|
|
* SPDX-License-Identifier: BSD-3-Clause
|
|
*/
|
|
|
|
#include <types.h>
|
|
#include <acrn_hv_defs.h>
|
|
|
|
void npk_log_setup(__unused struct hv_npk_log_param *param) {}
|
|
void npk_log_write(__unused const char *buf, __unused size_t len) {}
|
|
|
|
bool npk_need_log(__unused uint32_t severity) { return false; }
|
|
void npk_log(__unused char *buffer) {}
|