blob: 1e573cad6f0852987ea59a4a66287da46eeb2379 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
|
/* Copyright 2020 SiFive, Inc */
/* SPDX-License-Identifier: Apache-2.0 */
#ifndef METAL__LIM_H
#define METAL__LIM_H
/*! @file lim.h
*
* API for manipulating LIM allocation
*/
/*! @def METAL_PLACE_IN_LIM
* @brief Link a function into the LIM
*
* Link a function into the LIM (Loosely Integrated
* Memory) if the LIM is present on the target device.
*/
#define METAL_PLACE_IN_LIM __attribute__((section(".lim")))
#endif
|