diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-10-01 03:03:13 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2023-10-01 04:27:00 +0200 |
commit | 42bdb9e4fea494b85b394dd99d1686e812eb8a28 (patch) | |
tree | e4cbc60130c81c94043f603ef8a826d0a896e842 /vm | |
parent | 511536317e810a5d204530ed8513f645acf67d9c (diff) | |
download | gnumach-42bdb9e4fea494b85b394dd99d1686e812eb8a28.tar.gz gnumach-42bdb9e4fea494b85b394dd99d1686e812eb8a28.tar.bz2 gnumach-42bdb9e4fea494b85b394dd99d1686e812eb8a28.zip |
ddb: Add whatis command
This is convenient when tracking buffer overflows
Diffstat (limited to 'vm')
-rw-r--r-- | vm/pmap.h | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -157,6 +157,10 @@ boolean_t pmap_is_modified(phys_addr_t pa); extern phys_addr_t pmap_extract(pmap_t, vm_offset_t); /* Perform garbage collection, if any. */ extern void pmap_collect(pmap_t); + +/* Lookup an address. */ +int pmap_whatis(pmap_t, vm_offset_t); + /* Specify pageability. */ extern void pmap_change_wiring(pmap_t, vm_offset_t, boolean_t); |