Extend virtual/physical address conversions to include addresses in shared memory.
This commit is contained in:
parent
cce614c67e
commit
a9864bc100
@ -137,6 +137,9 @@ static inline bool arm_uservaddr(uintptr_t vaddr)
|
||||
(vaddr >= CONFIG_ARCH_HEAP_VBASE && vaddr < ARCH_HEAP_VEND)
|
||||
#ifdef CONFIG_ARCH_STACK_DYNAMIC
|
||||
|| (vaddr >= CONFIG_ARCH_STACK_VBASE && vaddr < ARCH_STACK_VEND)
|
||||
#endif
|
||||
#ifdef CONFIG_MM_SHM
|
||||
|| (vaddr >= CONFIG_ARCH_SHM_VBASE && vaddr < ARCH_SHM_VEND)
|
||||
#endif
|
||||
);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user