aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKimplul <kimi.h.kuparinen@gmail.com>2024-11-02 15:28:23 +0200
committerKimplul <kimi.h.kuparinen@gmail.com>2024-11-02 15:28:23 +0200
commitd127146846f4d6561e15000d1469b715dafdb627 (patch)
tree2ee7d7512023df0dc25f0bd51da1c378ebb1a400 /include
parent4ce6aa975be40286465cd9ac6a669ff5a95fe5a1 (diff)
downloadkmi-d127146846f4d6561e15000d1469b715dafdb627.tar.gz
kmi-d127146846f4d6561e15000d1469b715dafdb627.zip
initial exec support
Diffstat (limited to 'include')
-rw-r--r--include/kmi/regions.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/kmi/regions.h b/include/kmi/regions.h
index 5167d28..74d4387 100644
--- a/include/kmi/regions.h
+++ b/include/kmi/regions.h
@@ -236,6 +236,8 @@ struct mem_region *find_first_region(struct mem_region_root *r);
*/
struct mem_region *find_used_region(struct mem_region_root *r, vm_t start);
+struct mem_region *find_addr_region(struct mem_region_root *r, vm_t addr);
+
/**
* Find used memory region closest to \c start.
* Useful when you don't necessarily need the exact region, just something close