diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-07-06 18:48:45 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2014-07-06 18:48:45 +0200 |
commit | 97447914d6dcc32ada4ee028e1e2bab262501316 (patch) | |
tree | 6c6ac032d3ceced2a37b81bd64345e368acc1f22 /i386/i386 | |
parent | 02356436fc183e0b8ef357cde5196c493ab33d15 (diff) |
Document that io_map_cached leaks memory
Diffstat (limited to 'i386/i386')
-rw-r--r-- | i386/i386/io_map.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/i386/i386/io_map.c b/i386/i386/io_map.c index 03d7152..2c2aa72 100644 --- a/i386/i386/io_map.c +++ b/i386/i386/io_map.c @@ -66,6 +66,9 @@ io_map( * This maps the all pages containing [PHYS_ADDR:PHYS_ADDR + SIZE]. * For contiguous requests to those pages will reuse the previously * established mapping. + * + * Warning: this leaks memory maps for now, do not use it yet for something + * else than Mach shutdown. */ vm_offset_t io_map_cached( |