Skip to content

Commit 387e220

Browse files
authored
Fix missing mm_modify_permissions in sim mode (#928)
Signed-off-by: volcano0dr <volcano_dr@163.com>
1 parent 3be7be4 commit 387e220

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

sdk/trts/trts_emm_sim.cpp

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,3 +45,11 @@ int mm_uncommit(void* addr, size_t size)
4545
UNUSED(size);
4646
return 0;
4747
}
48+
49+
int mm_modify_permissions(void* addr, size_t size, int prot)
50+
{
51+
UNUSED(addr);
52+
UNUSED(size);
53+
UNUSED(prot);
54+
return 0;
55+
}

0 commit comments

Comments
 (0)