These map 1:1 to the ODP ones at the time being but may be redefined if needed.
Signed-off-by: Christophe Milard <christophe.mil...@linaro.org> --- drivers/driver_log.h | 26 ++++++++++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 drivers/driver_log.h diff --git a/drivers/driver_log.h b/drivers/driver_log.h new file mode 100644 index 0000000..79353f3 --- /dev/null +++ b/drivers/driver_log.h @@ -0,0 +1,26 @@ +/* Copyright (c) 2015, Linaro Limited + * All rights reserved. + * + * SPDX-License-Identifier: BSD-3-Clause + */ + +#include <odp_debug_internal.h> + +/** + * Log error message. + */ +#define DRV_ERR(fmt, ...) \ + ODP_ERR("DRIVER: " fmt, ##__VA_ARGS__) + +/** + * Log debug message. + */ +#define DRV_DBG(fmt, ...) \ + ODP_DBG("DRIVER: " fmt, ##__VA_ARGS__) + +/** + * Log debug message. + */ +#define DRV_ABORT(fmt, ...) \ + ODP_ABORT("DRIVER: " fmt, ##__VA_ARGS__) + -- 2.1.4 _______________________________________________ lng-odp mailing list lng-odp@lists.linaro.org https://lists.linaro.org/mailman/listinfo/lng-odp