Skip to content

Commit a22cb1b

Browse files
dcpleungFlavio Ceolin
authored andcommitted
tests: mem_protect: enable for Xtensa
This enables tests/kernel/mem_protect/mem_protect to be tested on Xtensa. Signed-off-by: Daniel Leung <[email protected]> Signed-off-by: Flavio Ceolin <[email protected]>
1 parent 9645a2c commit a22cb1b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/kernel/mem_protect/mem_protect/src/mem_protect.h

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,8 @@ static inline void set_fault_valid(bool valid)
6767
#else
6868
#define MEM_REGION_ALLOC (4)
6969
#endif
70+
#elif defined(CONFIG_XTENSA)
71+
#define MEM_REGION_ALLOC (4096)
7072
#else
7173
#error "Test suite not compatible for the given architecture"
7274
#endif

0 commit comments

Comments
 (0)