Update documents for MMU access

This commit is contained in:
mio
2025-02-10 15:36:03 +08:00
parent a59bb4235e
commit 48fb28dfbc

View File

@@ -418,7 +418,10 @@ typedef enum uc_hook_type {
(UC_HOOK_MEM_READ + UC_HOOK_MEM_WRITE + UC_HOOK_MEM_FETCH)
/*
Callback function for hooking memory (READ, WRITE & FETCH)
Callback function for hooking memory (READ, WRITE & FETCH).
NOTE: The access might be splitted depending on the MMU implementation.
UC_TLB_VIRTUAL provides more fine-grained control about memory accessing.
@type: this memory is being READ, or WRITE
@address: address where memory is being written or read to
@@ -434,6 +437,9 @@ typedef void (*uc_cb_hookmem_t)(uc_engine *uc, uc_mem_type type,
Callback function for handling invalid memory access events (UNMAPPED and
PROT events)
NOTE: The access might be splitted depending on the MMU implementation.
UC_TLB_VIRTUAL provides more fine-grained control about memory accessing.
@type: this memory is being READ, or WRITE
@address: address where memory is being written or read to
@size: size of data being read or written