]> Zhao Yanbai Git Server - minix.git/commit
use servers/inet/mq.[ch] to queue messages using mq_queue() in
authorBen Gras <ben@minix3.org>
Fri, 12 Jan 2007 13:33:12 +0000 (13:33 +0000)
committerBen Gras <ben@minix3.org>
Fri, 12 Jan 2007 13:33:12 +0000 (13:33 +0000)
commitb01aff70d26031dc5f7b6874be8c38379cdf3f80
treed3061158230185af819c50ae354bbf2f27359634
parent8b3ddfc19f68c8ae53dc92b241df615a62c71e29
use servers/inet/mq.[ch] to queue messages using mq_queue() in
libdriver.  at_wini now queues messages it can't handle it receives when
waiting for an interrupt. this way it can do receive(ANY) and timeouts
should be working again (were broken for VFS, as with the advent of VFS,
at_wini could get requests from a filesystem while it was waiting for an
interrupt - as a hack, the receive() was changed to receive(HARDWARE)).

Added mq.c to libdriver, and made libdriver an actual library that
drivers link with -L../libdriver -ldriver. (So adding files, if
necessary, is easier next time.)
13 files changed:
drivers/at_wini/Makefile
drivers/at_wini/at_wini.c
drivers/bios_wini/Makefile
drivers/cmos/Makefile
drivers/floppy/Makefile
drivers/libdriver/Makefile
drivers/libdriver/driver.c
drivers/libdriver/driver.h
drivers/libdriver/mq.c [new file with mode: 0644]
drivers/log/Makefile
drivers/memory/Makefile
drivers/random/Makefile
include/minix/mq.h [new file with mode: 0644]