ARM: MPU: Arch specific memory domain APIs

Added architecture specific support for memory domain destroy
and remove partition for arm and nxp. An optimized version of
remove partition was also added.

Signed-off-by: Adithya Baglody <adithya.nagaraj.baglody@intel.com>
This commit is contained in:
Adithya Baglody 2017-10-06 15:43:11 +05:30 committed by Andrew Boie
commit 83bedcc912
6 changed files with 80 additions and 4 deletions

View file

@ -299,6 +299,11 @@ extern "C" {
#endif /* CONFIG_NXP_MPU */
#endif /* CONFIG_USERSPACE */
#ifndef _ASMLANGUAGE
/* Typedef for the k_mem_partition attribute*/
typedef u32_t k_mem_partition_attr_t;
#endif /* _ASMLANGUAGE */
#ifdef CONFIG_ARM_USERSPACE
#ifndef _ASMLANGUAGE
/* Syscall invocation macros. arm-specific machine constraints used to ensure