From 02a0c882275959c0fbd58754418ecc1218821e76 Mon Sep 17 00:00:00 2001 From: Marvin Borner Date: Fri, 18 Jun 2021 22:30:25 +0200 Subject: Renamed device prefix from 'io_' to 'dev_' --- libs/libgui/msg.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'libs/libgui/msg.c') diff --git a/libs/libgui/msg.c b/libs/libgui/msg.c index eda4c34..a8da87c 100644 --- a/libs/libgui/msg.c +++ b/libs/libgui/msg.c @@ -10,14 +10,14 @@ res msg_connect_bus(const char *bus, u32 *conn) { - res ret = io_control(IO_BUS, IOCTL_BUS_CONNECT_BUS, bus, conn); + res ret = dev_control(DEV_BUS, DEVCTL_BUS_CONNECT_BUS, bus, conn); /* assert(ret == EOK && *conn); */ return ret; } res msg_connect_conn(u32 conn) { - res ret = io_control(IO_BUS, IOCTL_BUS_CONNECT_CONN, conn); + res ret = dev_control(DEV_BUS, DEVCTL_BUS_CONNECT_CONN, conn); /* assert(ret == EOK); */ return ret; } @@ -28,14 +28,14 @@ res msg_send(enum message_type type, void *data, u32 size) struct message_header *header = data; header->magic = MSG_MAGIC; header->type = type; - res ret = io_write(IO_BUS, (u8 *)data + sizeof(struct bus_header), 0, size); + res ret = dev_write(DEV_BUS, (u8 *)data + sizeof(struct bus_header), 0, size); /* assert(ret >= EOK); */ return ret; } res msg_receive(void *buf, u32 size) { - res ret = io_read(IO_BUS, buf, 0, size); + res ret = dev_read(DEV_BUS, buf, 0, size); struct message_header *header = buf; if (header->magic == MSG_MAGIC) return ret; -- cgit v1.2.3