diff options
author | Pasha <pasha@member.fsf.org> | 2024-02-20 18:49:50 +0000 |
---|---|---|
committer | Pasha <pasha@member.fsf.org> | 2024-02-20 18:49:50 +0000 |
commit | 5e0b8d508ed51004bd836384293be00950ee62c9 (patch) | |
tree | e3f16b1aa8b7177032ce3ec429fbad2b1d92a876 /device/kmsg.h | |
download | gnumach-riscv-5e0b8d508ed51004bd836384293be00950ee62c9.tar.gz gnumach-riscv-5e0b8d508ed51004bd836384293be00950ee62c9.tar.bz2 |
init gnumach copy
Diffstat (limited to 'device/kmsg.h')
-rw-r--r-- | device/kmsg.h | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/device/kmsg.h b/device/kmsg.h new file mode 100644 index 0000000..00a3505 --- /dev/null +++ b/device/kmsg.h @@ -0,0 +1,18 @@ +#ifndef _DEVICE_KMSG_H_ +#define _DEVICE_KMSG_H_ 1 + + +#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); +void kmsgclose (dev_t dev, int flag); +io_return_t kmsgread (dev_t dev, io_req_t ior); +io_return_t kmsggetstat (dev_t dev, dev_flavor_t flavor, + dev_status_t data, mach_msg_type_number_t *count); +void kmsg_putchar (int c); + + +#endif /* !_DEVICE_KMSG_H_ */ |