mirror of
https://github.com/RT-Thread/rt-thread.git
synced 2025-12-26 01:07:21 +00:00
[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
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user