diff options
Diffstat (limited to 'include/user/page-protection.h')
| -rw-r--r-- | include/user/page-protection.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/include/user/page-protection.h b/include/user/page-protection.h index 448c7a0344..ea11cf9e32 100644 --- a/include/user/page-protection.h +++ b/include/user/page-protection.h @@ -12,9 +12,17 @@ #error Cannot include this header from system emulation #endif +#include "cpu-param.h" +#include "exec/target_long.h" #include "exec/translation-block.h" void page_protect(tb_page_addr_t page_addr); int page_unprotect(tb_page_addr_t address, uintptr_t pc); +typedef int (*walk_memory_regions_fn)(void *, target_ulong, + target_ulong, unsigned long); + +int walk_memory_regions(void *, walk_memory_regions_fn); + +void page_dump(FILE *f); #endif |