]> git.saurik.com Git - apple/xnu.git/blobdiff - osfmk/arm/io_map_entries.h
xnu-7195.60.75.tar.gz
[apple/xnu.git] / osfmk / arm / io_map_entries.h
index 1a96d97649d88e33a044f1de54f4b6ad6a6999e9..1c5ec79a615bbeb6a2dbc953189002b618824d69 100644 (file)
 /*
  * @OSF_COPYRIGHT@
  */
 /*
  * @OSF_COPYRIGHT@
  */
-#ifdef KERNEL_PRIVATE
+#ifdef  KERNEL_PRIVATE
 
 #ifndef _ARM_IO_MAP_ENTRIES
 #define _ARM_IO_MAP_ENTRIES
 
 #include <sys/appleapiopts.h>
 
 
 #ifndef _ARM_IO_MAP_ENTRIES
 #define _ARM_IO_MAP_ENTRIES
 
 #include <sys/appleapiopts.h>
 
-#ifdef __APPLE_API_PRIVATE
-extern vm_offset_t     io_map(
-                               vm_map_offset_t         phys_addr,
-                               vm_size_t               size,
-                               unsigned int            flags);
+#ifdef  __APPLE_API_PRIVATE
+extern vm_offset_t      io_map(
+       vm_map_offset_t         phys_addr,
+       vm_size_t               size,
+       unsigned int            flags);
+
+extern vm_offset_t      io_map_with_prot(
+       vm_map_offset_t                   phys_addr,
+       vm_size_t                         size,
+       unsigned int                      flags,
+       vm_prot_t                         prot);
+
 extern vm_offset_t io_map_spec(vm_map_offset_t phys_addr, vm_size_t size, unsigned int flags);
 extern vm_offset_t io_map_spec(vm_map_offset_t phys_addr, vm_size_t size, unsigned int flags);
-#endif /* __APPLE_API_PRIVATE */
+#endif  /* __APPLE_API_PRIVATE */
 
 #endif  /* _ARM_IO_MAP_ENTRIES */
 
 
 #endif  /* _ARM_IO_MAP_ENTRIES */
 
-#endif /* KERNEL_PRIVATE */
-
+#endif  /* KERNEL_PRIVATE */