/*
- * 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@
*
#ifdef KERNEL_PRIVATE
extern struct bdevsw bdevsw[];
+extern int (*bootcache_contains_block)(dev_t device, u_int64_t blkno);
#endif /* KERNEL_PRIVATE */
/*
};
#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;
extern struct linesw linesw[];
-extern int nlinesw;
+extern const int nlinesw;
int ldisc_register(int , struct linesw *);
void ldisc_deregister(int);
*/
__BEGIN_DECLS
#ifdef KERNEL_PRIVATE
+void devsw_init(void);
extern struct cdevsw cdevsw[];
extern int cdevsw_setkqueueok(int, struct cdevsw*, int);
#endif /* KERNEL_PRIVATE */