summaryrefslogtreecommitdiff
path: root/i386/i386/io_map.c
diff options
context:
space:
mode:
Diffstat (limited to 'i386/i386/io_map.c')
-rw-r--r--i386/i386/io_map.c3
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(