Snitch Runtime
Loading...
Searching...
No Matches
sw
runtime
impl
snitch_cluster_global_interrupts.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
// Use cluster interrupts behind the scenes, since we only have one cluster
6
inline
void
snrt_int_sw_clear(uint32_t hartid) {
7
snrt_int_cluster_clr(1 << hartid);
8
}
9
10
inline
void
snrt_int_sw_set(uint32_t hartid) {
11
snrt_int_cluster_set(1 << hartid);
12
}
Generated by
1.12.0