TT Zephyr Platforms 18.11.99
Tenstorrent Firmware
Loading...
Searching...
No Matches
bh_fwtable.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2025 Tenstorrent AI ULC
3 * SPDX-License-Identifier: Apache-2.0
4 */
5
6#ifndef BH_FWTABLE_H
7#define BH_FWTABLE_H
8
9#include <stdint.h>
10#include <zephyr/device.h>
11
12#ifdef __cplusplus
13extern "C" {
14#endif
15
16/*
17 * FIXME: these proto files as well as all of the entities within them need to be namespaced
18 * with a tt_bh_fwtable_ prefix (or something unique and similar).
19 */
20#include "fw_table.pb.h"
21#include "flash_info.pb.h"
22#include "read_only.pb.h"
23
24const FwTable *tt_bh_fwtable_get_fw_table(const struct device *dev);
25const FlashInfoTable *tt_bh_fwtable_get_flash_info_table(const struct device *dev);
26const ReadOnly *tt_bh_fwtable_get_read_only_table(const struct device *dev);
27
36
40
41#ifdef __cplusplus
42}
43#endif
44
45#endif /* BH_FWTABLE_H*/
uint32_t tt_bh_fwtable_get_asic_location(const struct device *dev)
const ReadOnly * tt_bh_fwtable_get_read_only_table(const struct device *dev)
const FwTable * tt_bh_fwtable_get_fw_table(const struct device *dev)
PcbType tt_bh_fwtable_get_pcb_type(const struct device *dev)
bool tt_bh_fwtable_is_p300_left_chip(void)
const FlashInfoTable * tt_bh_fwtable_get_flash_info_table(const struct device *dev)
PcbType
Definition bh_fwtable.h:28
@ PcbTypeP100
Definition bh_fwtable.h:30
@ PcbTypeUBB
Definition bh_fwtable.h:33
@ PcbTypeOrion
Definition bh_fwtable.h:29
@ PcbTypeP150
Definition bh_fwtable.h:31
@ PcbTypeUnknown
Definition bh_fwtable.h:34
@ PcbTypeP300
Definition bh_fwtable.h:32
__UINT32_TYPE__ uint32_t