+#include <pexpert/i386/boot.h>
+
+extern int hz;
+
+extern void cnputcusr(char);
+extern int cngetc(void);
+
+void kminit(void);
+int kmopen(dev_t dev, int flag, int devtype, struct proc *pp);
+int kmclose(dev_t dev, int flag, int mode, struct proc *p);
+int kmread(dev_t dev, struct uio *uio, int ioflag);
+int kmwrite(dev_t dev, struct uio *uio, int ioflag);
+int kmioctl(dev_t dev, int cmd, caddr_t data, int flag, struct proc *p);
+int kmputc(int c);
+int kmgetc(dev_t dev);
+int kmgetc_silent(dev_t dev);
+void cons_cinput(char ch);