move misc/slist.h to sys/slist.h and create a shim for backward-compatibility. No functional changes to the headers. A warning in the shim can be controlled with CONFIG_COMPAT_INCLUDES. Related to #16539 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
29 lines
682 B
C
29 lines
682 B
C
/*
|
|
* Copyright (c) 2017 Linaro Limited.
|
|
* Copyright (c) 2018 Nordic Semiconductor ASA.
|
|
*
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <sys/slist.h>
|
|
#include <arch/arm/cortex_m/mpu/arm_mpu.h>
|
|
|
|
|
|
static const struct arm_mpu_region mpu_regions[] = {
|
|
/* Region 0 */
|
|
MPU_REGION_ENTRY("FLASH_0",
|
|
CONFIG_FLASH_BASE_ADDRESS,
|
|
REGION_FLASH_ATTR(CONFIG_FLASH_BASE_ADDRESS, \
|
|
CONFIG_FLASH_SIZE * 1024)),
|
|
/* Region 1 */
|
|
MPU_REGION_ENTRY("SRAM_0",
|
|
CONFIG_SRAM_BASE_ADDRESS,
|
|
REGION_RAM_ATTR(CONFIG_SRAM_BASE_ADDRESS, \
|
|
CONFIG_SRAM_SIZE * 1024)),
|
|
};
|
|
|
|
const struct arm_mpu_config mpu_config = {
|
|
.num_regions = ARRAY_SIZE(mpu_regions),
|
|
.mpu_regions = mpu_regions,
|
|
};
|