summaryrefslogtreecommitdiff
path: root/i386/grub/glue.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2014-07-06 18:48:45 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2014-07-06 18:48:45 +0200
commit97447914d6dcc32ada4ee028e1e2bab262501316 (patch)
tree6c6ac032d3ceced2a37b81bd64345e368acc1f22 /i386/grub/glue.h
parent02356436fc183e0b8ef357cde5196c493ab33d15 (diff)
Document that io_map_cached leaks memory
Diffstat (limited to 'i386/grub/glue.h')
-rw-r--r--i386/grub/glue.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/i386/grub/glue.h b/i386/grub/glue.h
index e1c62eb..ae41014 100644
--- a/i386/grub/glue.h
+++ b/i386/grub/glue.h
@@ -26,6 +26,8 @@
#include <mach/mach_types.h>
#include <i386/vm_param.h>
+/* Warning: this leaks memory maps for now, do not use it yet for something
+ * else than Mach shutdown. */
vm_offset_t io_map_cached(vm_offset_t phys_addr, vm_size_t size);
#endif /* _GRUB_GLUE_H */