arm: remove unused header
This had two functions in it, neither were implemented anywhere. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
This commit is contained in:
parent
3f1cf02e05
commit
a6de79b4af
3 changed files with 0 additions and 44 deletions
|
@ -9,7 +9,6 @@
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <soc.h>
|
#include <soc.h>
|
||||||
#include "arm_core_mpu_dev.h"
|
#include "arm_core_mpu_dev.h"
|
||||||
#include <arch/arm/cortex_m/mpu/arm_core_mpu.h>
|
|
||||||
#include <linker/linker-defs.h>
|
#include <linker/linker-defs.h>
|
||||||
|
|
||||||
#define LOG_LEVEL CONFIG_MPU_LOG_LEVEL
|
#define LOG_LEVEL CONFIG_MPU_LOG_LEVEL
|
||||||
|
|
|
@ -9,7 +9,6 @@
|
||||||
#include <kernel.h>
|
#include <kernel.h>
|
||||||
#include <soc.h>
|
#include <soc.h>
|
||||||
#include "arm_core_mpu_dev.h"
|
#include "arm_core_mpu_dev.h"
|
||||||
#include <arch/arm/cortex_m/mpu/arm_core_mpu.h>
|
|
||||||
#include <sys/__assert.h>
|
#include <sys/__assert.h>
|
||||||
#include <linker/linker-defs.h>
|
#include <linker/linker-defs.h>
|
||||||
|
|
||||||
|
|
|
@ -1,42 +0,0 @@
|
||||||
/*
|
|
||||||
* Copyright (c) 2017 Linaro Limited.
|
|
||||||
*
|
|
||||||
* SPDX-License-Identifier: Apache-2.0
|
|
||||||
*/
|
|
||||||
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_MPU_ARM_CORE_MPU_H_
|
|
||||||
#define ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_MPU_ARM_CORE_MPU_H_
|
|
||||||
|
|
||||||
#include <kernel_structs.h>
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
extern "C" {
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Use the HW-specific MPU driver to program
|
|
||||||
* the static MPU regions.
|
|
||||||
*
|
|
||||||
* Program the static MPU regions through the HW-specific
|
|
||||||
* MPU driver. The function is meant to be invoked once,
|
|
||||||
* during system initialization.
|
|
||||||
*/
|
|
||||||
void z_arch_configure_static_mpu_regions(void);
|
|
||||||
|
|
||||||
/**
|
|
||||||
* @brief Use the HW-specific MPU driver to program
|
|
||||||
* the dynamic MPU regions.
|
|
||||||
*
|
|
||||||
* Program the dynamic MPU regions using the HW-specific MPU
|
|
||||||
* driver. This function is meant to be invoked every time the
|
|
||||||
* memory map is to be re-programmed, e.g during thread context
|
|
||||||
* switch, entering user mode, reconfiguring memory domain, etc.
|
|
||||||
*
|
|
||||||
* @param thread pointer to the current k_thread context
|
|
||||||
*/
|
|
||||||
void z_arch_configure_dynamic_mpu_regions(struct k_thread *thread);
|
|
||||||
|
|
||||||
#ifdef __cplusplus
|
|
||||||
}
|
|
||||||
#endif
|
|
||||||
|
|
||||||
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_MPU_ARM_CORE_MPU_H_ */
|
|
Loading…
Add table
Add a link
Reference in a new issue