Snitch Runtime
Loading...
Searching...
No Matches
memory_decls.h
1// Copyright 2023 ETH Zurich and University of Bologna.
2// Licensed under the Apache License, Version 2.0, see LICENSE for details.
3// SPDX-License-Identifier: Apache-2.0
4
5#pragma once
6
7#include <stdint.h>
8
9inline uint32_t __attribute__((const)) snrt_l1_start_addr();
10
11inline uint32_t __attribute__((const)) snrt_l1_end_addr();
12
13inline volatile uint32_t* __attribute__((const)) snrt_clint_mutex_ptr();
14
15inline volatile uint32_t* __attribute__((const)) snrt_clint_msip_ptr();
16
17inline volatile uint32_t* __attribute__((const)) snrt_cluster_clint_set_ptr();
18
19inline volatile uint32_t* __attribute__((const)) snrt_cluster_clint_clr_ptr();