Zephyr Project API 4.0.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
sparse.h
Go to the documentation of this file.
1/*
2 * Copyright (c) 2022 Intel Corporation
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6
7#ifndef ZEPHYR_INCLUDE_DEBUG_SPARSE_H
8#define ZEPHYR_INCLUDE_DEBUG_SPARSE_H
9
10#if defined(__CHECKER__)
11#define __sparse_cache __attribute__((address_space(__cache)))
12#define __sparse_force __attribute__((force))
13#else
14#define __sparse_cache
15#define __sparse_force
16#endif
17
18#endif