diff options
| author | Shell <[email protected]> | 2024-06-07 21:34:03 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2024-06-07 21:34:03 +0800 |
| commit | f00db6381a383d85f1c145cbebac22967e7d2eb8 (patch) | |
| tree | 220a6143139c9b1d35d1652fed9fad2721d66788 /examples | |
| parent | 479fab77750594aa74c86beada156810fc651407 (diff) | |
[mm] precise & readable mm fault type (#9047)
* [smart] fixup: precise mm fault type
Also, fixup arm64 read access fault
* arm64: using meaningful macro on trap
* fixup: renaming macro
Diffstat (limited to 'examples')
| -rw-r--r-- | examples/utest/testcases/mm/lwp_mmap_fix_private.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/utest/testcases/mm/lwp_mmap_fix_private.c b/examples/utest/testcases/mm/lwp_mmap_fix_private.c index 71570bb4dc..22261e4b4f 100644 --- a/examples/utest/testcases/mm/lwp_mmap_fix_private.c +++ b/examples/utest/testcases/mm/lwp_mmap_fix_private.c @@ -56,7 +56,7 @@ static void test_mmap_fix_private(void) char *next_va; struct rt_aspace_fault_msg msg; msg.fault_op = MM_FAULT_OP_WRITE; - msg.fault_type = MM_FAULT_TYPE_ACCESS_FAULT; + msg.fault_type = MM_FAULT_TYPE_RWX_PERM; /* map new pages at ex_vaddr to anonymous */ next_va = ex_vaddr; |
