|
TT Zephyr Platforms 19.6.99
Tenstorrent Firmware
|
Tenstorrent virtual console log backend implementation. More...
#include <zephyr/logging/log_backend.h>#include <zephyr/logging/log_core.h>#include <zephyr/logging/log_output.h>#include <zephyr/logging/log_backend_std.h>#include <soc.h>Data Structures | |
| struct | tt_virt_console_msg |
| union | tt_virt_console_reg |
Macros | |
| #define | OPCODE_ASCII 0x0 |
| #define | OPCODE_HEX 0x1 |
Functions | |
| static void | tt_console_out (int character) |
| static int | char_out (uint8_t *data, size_t length, void *ctx) |
| LOG_OUTPUT_DEFINE (log_output_tt_virt, char_out, buf, sizeof(buf)) | |
| static void | log_backend_tt_virt_process (const struct log_backend *const backend, union log_msg_generic *msg) |
| static int | format_set (const struct log_backend *const backend, uint32_t log_type) |
| static void | log_backend_tt_virt_init (struct log_backend const *const backend) |
| static void | log_backend_tt_virt_panic (struct log_backend const *const backend) |
| static void | dropped (const struct log_backend *const backend, uint32_t cnt) |
| LOG_BACKEND_DEFINE (log_backend_tt_virt, log_backend_tt_virt_api, true) | |
Variables | |
| static uint8_t | buf [1] |
| static uint32_t | log_format_current = CONFIG_LOG_BACKEND_TT_VIRT_OUTPUT_DEFAULT |
| struct tt_virt_console_msg | __packed |
| const struct log_backend_api | log_backend_tt_virt_api |
Tenstorrent virtual console log backend implementation.
Sends log messages to the Tenstorrent virtual console, used in pre-silicon development environments.
| #define OPCODE_ASCII 0x0 |
| #define OPCODE_HEX 0x1 |
|
static |
|
static |
| LOG_BACKEND_DEFINE | ( | log_backend_tt_virt | , |
| log_backend_tt_virt_api | , | ||
| true | ) |
|
static |
|
static |
|
static |
|
static |
| struct tt_virt_console_msg __packed |
|
static |
| const struct log_backend_api log_backend_tt_virt_api |
|
static |