summaryrefslogtreecommitdiff
path: root/device/kmsg.h
blob: adfc9453388d1f4509494ce98941e6a3900998c7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#ifndef _DEVICE_KMSG_H_
#define _DEVICE_KMSG_H_	1

#ifdef MACH_KERNEL

#include <sys/types.h>

#include <device/device_types.h>
#include <device/io_req.h>

io_return_t kmsgopen (dev_t dev, int flag, io_req_t ior);
io_return_t kmsgclose (dev_t dev, int flag);
io_return_t kmsgread (dev_t dev, io_req_t ior);
io_return_t kmsggetstat (dev_t dev, int flavor,
			 int *data, unsigned int *count);
void kmsg_putchar (int c);

#endif /* MACH_KERNEL */

#endif /* !_DEVICE_KMSG_H_ */