xnu-4570.71.2.tar.gz
[apple/xnu.git] / bsd / sys / conf.h
index 39e4fef37a864e7ce860447195f8205a26e78011..273b690ad9589f016a46684e9640f10ca80122c9 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * Copyright (c) 2000-2002 Apple Computer, Inc. All rights reserved.
+ * Copyright (c) 2000-2012 Apple Computer, Inc. All rights reserved.
  *
  * @APPLE_OSREFERENCE_LICENSE_HEADER_START@
  * 
@@ -166,6 +166,7 @@ d_write_t   nowrite;
 
 #ifdef KERNEL_PRIVATE
 extern struct bdevsw bdevsw[];
+extern int (*bootcache_contains_block)(dev_t device, u_int64_t blkno);
 #endif /* KERNEL_PRIVATE */
 
 /*
@@ -197,11 +198,12 @@ struct cdevsw {
 };
 
 #ifdef BSD_KERNEL_PRIVATE
-void devsw_init(void);
 
 extern uint64_t cdevsw_flags[];
-#define CDEVSW_SELECT_KQUEUE   0x01
-#define CDEVSW_USE_OFFSET      0x02
+#define CDEVSW_SELECT_KQUEUE 0x01
+#define CDEVSW_USE_OFFSET    0x02
+#define CDEVSW_IS_PTC        0x04
+#define CDEVSW_IS_PTS        0x08
 
 struct thread;
 
@@ -256,7 +258,7 @@ struct linesw {
 
 
 extern struct linesw linesw[];
-extern int nlinesw;
+extern const int nlinesw;
  
 int ldisc_register(int , struct linesw *);
 void ldisc_deregister(int);
@@ -293,6 +295,7 @@ extern struct swdevt swdevt[];
  */
 __BEGIN_DECLS
 #ifdef KERNEL_PRIVATE
+void devsw_init(void);
 extern struct cdevsw cdevsw[];
 extern int cdevsw_setkqueueok(int, struct cdevsw*, int);
 #endif /* KERNEL_PRIVATE */