Loading files
This file is pinned to the selected release. Download the original to open it in your design tool.
0ac335783This file is pinned to the selected release. Download the original to open it in your design tool.
// Copyright 2023 ETH Zurich and University of Bologna.
// Licensed under the Apache License, Version 2.0, see LICENSE for details.
// SPDX-License-Identifier: Apache-2.0
typedef struct {
uint32_t volatile cnt;
uint32_t volatile iteration;
} snrt_barrier_t;
inline volatile uint32_t *snrt_mutex();
inline void snrt_mutex_acquire(volatile uint32_t *pmtx);
inline void snrt_mutex_ttas_acquire(volatile uint32_t *pmtx);
inline void snrt_mutex_release(volatile uint32_t *pmtx);
inline void snrt_cluster_hw_barrier();
inline void snrt_global_barrier();