![]() |
TT-System-Firmware APIs 19.15.99
Tenstorrent Firmware
|


Go to the source code of this file.
Macros | |
| #define | SCRATCHPAD_SIZE CONFIG_TT_BH_ARC_SCRATCHPAD_SIZE |
Enumerations | |
| enum | HWInitStatus { kHwInitNotStarted = 0 , kHwInitStarted = 1 , kHwInitDone = 2 , kHwInitError = 3 } |
| enum | FWID { FW_ID_SMC_NORMAL = 0 , FW_ID_SMC_RECOVERY = 1 } |
| enum | init_stage_id { INIT_STAGE_REGULATOR = 0 , INIT_STAGE_CABLE_FAULT = 1 , INIT_STAGE_TENSIX = 2 , INIT_STAGE_MRISC_LOAD = 3 , INIT_STAGE_GDDR_TRAIN = 4 , INIT_STAGE_COUNT } |
Functions | |
| void | record_init_failure (enum init_stage_id stage) |
| Record a failure from an init function. | |
Variables | |
| uint32_t | error_status0 |
| #define SCRATCHPAD_SIZE CONFIG_TT_BH_ARC_SCRATCHPAD_SIZE |
| enum FWID |
| enum HWInitStatus |
| enum init_stage_id |
| void record_init_failure | ( | enum init_stage_id | stage | ) |
Record a failure from an init function.
Sets bit stage in STATUS_ERROR_STATUS0 and writes the shadow value through to scratch RAM immediately so the host can read it even if init hangs after this call. Safe to call multiple times; the bitmap accumulates.
|
extern |