Zephyr API Documentation  3.7.0
A Scalable Open Source RTOS
Loading...
Searching...
No Matches
arm_mem.h
Go to the documentation of this file.
1/*
2 * Copyright 2022 NXP
3 *
4 * SPDX-License-Identifier: Apache-2.0
5 */
6#ifndef ZEPHYR_INCLUDE_ARCH_ARM64_ARM_MEM_H_
7#define ZEPHYR_INCLUDE_ARCH_ARM64_ARM_MEM_H_
8
9/*
10 * Define ARM specific memory flags used by k_mem_map_phys_bare()
11 * followed public definitions in include/kernel/mm.h.
12 */
13/* For ARM64, K_MEM_CACHE_NONE is nGnRnE. */
14#define K_MEM_ARM_DEVICE_nGnRnE K_MEM_CACHE_NONE
15
17#define K_MEM_ARM_DEVICE_nGnRE 3
18
20#define K_MEM_ARM_DEVICE_GRE 4
21
23#define K_MEM_ARM_NORMAL_NC 5
24
25#endif /* ZEPHYR_INCLUDE_ARCH_ARM64_ARM_MEM_H_ */