summaryrefslogtreecommitdiff
path: root/FreeRTOS/Demo/RISC-V_RV32_SiFive_HiFive1-RevB_FreedomStudio/bsp/install/include/metal/itim.h
blob: 3decefff25950fb8a99f0150d65d9338d9b099e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
/* Copyright 2018 SiFive, Inc */
/* SPDX-License-Identifier: Apache-2.0 */

#ifndef METAL__ITIM_H
#define METAL__ITIM_H

/*! @file itim.h
 *
 * API for manipulating ITIM allocation
 */

/*! @def METAL_PLACE_IN_ITIM
 * @brief Link a function into the ITIM
 *
 * Link a function into the ITIM (Instruction Tightly Integrated
 * Memory) if the ITIM is present on the target device.
 */
#define METAL_PLACE_IN_ITIM __attribute__((section(".itim")))

#endif