blob: db8310e601773359c1ba36774bf5b0ab93d5e970 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
/*
* SPDX-FileCopyrightText: (c) 2025-2026 Tenstorrent USA, Inc.
* SPDX-License-Identifier: BSD-2-Clause
*/
#ifndef __TENSTORRENT_PMA_H__
#define __TENSTORRENT_PMA_H__
/* Max number of PMAs for devices (CPU, IOMMU) for Tenstorrent platforms. */
#define TT_MAX_PMAS 32
u64 tt_pma_get(unsigned int n);
void tt_pma_set(unsigned int n, u64 pma);
bool tt_pma_validate(unsigned int i, u64 pma);
void tt_pma_print(unsigned int i, u64 pma);
#endif
|