ff7eae2ad8
Private copy of kputc to support asynch communication with log device.
Philip Homburg2008-02-22 15:43:33 +00:00
2ec762c60c
Asynchronous communication with character specials.
Philip Homburg2008-02-22 15:41:07 +00:00
d9a9b727e2
Added dmap_async_driver and dmap_sel_filp fields. Support for asynch character drivers (needs cleaning up).
Philip Homburg2008-02-22 15:01:00 +00:00
047cc090e4
Added filp_state for driver recovery and filp_select_flags to store select state for character specials that use asynch I/O.
Philip Homburg2008-02-22 14:19:23 +00:00
1d7d5aa629
dev_close needs the filp number for asynch I/O, dev_io gets suspend_reopen flag to suspend a process until the filedescriptor is re-opened. Added dev_reopen, asyn_io, suspended_ep, reopen_reply, asynsend, diag_repl, close_filp, close_reply, unpause, select_reply1, select_reply2.
Philip Homburg2008-02-22 14:03:14 +00:00
e5df351245
Support for blocking open on char specials (due to asynch message passing), asynch. close, added close_filp function.
Philip Homburg2008-02-22 13:57:11 +00:00
73ea967b6c
Keep track of error statistics, rate limit debug output, added SYS_MAPDMA.
Philip Homburg2008-02-22 12:38:22 +00:00
992edfd558
Keep track of various statistics related to IPC and SYSTEM.
Philip Homburg2008-02-22 12:36:46 +00:00
594035f13c
More verbose (optional) debug output for exceptions.
Philip Homburg2008-02-22 10:43:18 +00:00
f5389ecf19
Code to dump IPC statistics over a serial line. (Disabled) code to disable the FPU.
Philip Homburg2008-02-22 10:40:38 +00:00
1cffa69d2c
Support for I/O MMU: do not re-use a memory segment until the I/O MMU has removed it from its map.
Philip Homburg2008-02-21 16:33:34 +00:00
75520b7403
ipc restrictions for some drivers and I/O MMU (amddev)
Philip Homburg2008-02-21 16:24:35 +00:00
3f23bca404
Removed defines not needed by mfs (XPIPE, XLOCK, XPOPEN, XSELECT, DUP_MASK).
Philip Homburg2008-02-21 16:22:36 +00:00
ca8291c815
Support for restricting limiting IPC to a set of endpoints. Not enabled by default, pass -i to service. Do not reply to bogus request types. Reply using sendnb.
Philip Homburg2008-02-21 16:20:22 +00:00
82cb46af0a
Changes for asynchronous interface to character specials. Removed DEV_SEL_WATCH. Added SYS_MAPDMAx. New message type (DIAG_REPL) for replies to DIAGNOSTICS(_S).
Philip Homburg2008-02-21 15:57:35 +00:00
45744bff41
Connect new audio drivers to build.
Ben Gras2007-11-23 11:53:33 +00:00
b79b305ba1
More es1371 bij Pieter Hijma.
Ben Gras2007-11-23 11:52:34 +00:00
c67a56708e
es1370 driver and updated es1371 and framework by Pieter Hijma.
Ben Gras2007-11-23 11:40:33 +00:00
0d2d8c6db2
audio drivers. (not updated for trunk.) sb16: port of isa sb16 driver to user-space. Port by Peter Boonstoppel. es1371: By Laurens Bronwasser.
Ben Gras2007-11-23 11:30:50 +00:00
e8aec69c7b
tweak to panic functions of mfs and vfs. . print newline . when recursive panic detected, don't simply return, confusing the caller, but print a diagnostic and exit . don't call sys_exit as this may confuse PM; it should be OK to call PM exit() nowadays.
Ben Gras2007-10-23 14:17:51 +00:00
515e8216e1
Basic entry for dpeth suggested by Jens de Smit.
Ben Gras2007-10-17 11:02:33 +00:00
0ae1ff99b8
Fix for DL_STAT_REPLY/DL_TASK_REPLY Bug found and fixed by Jens de Smit <jfdsmit at few.vu.nl>.
Ben Gras2007-10-17 10:53:47 +00:00
23f6e478df
Fixed a glitch introduced in safe i/o conversion.
Ben Gras2007-10-17 10:50:18 +00:00
21ae963cf1
Fixes two wrong grant return checks and one 'grant leak'.
Ben Gras2007-10-17 10:46:20 +00:00
af591d2151
Internally, floppy driver still used vircopies ('unsafe' copies), but this isn't allowed in its drivers.conf entry. Changed these to memcpy() calls. Bug reported by Maurizio Lombardi in comp.os.minix.
Ben Gras2007-10-16 14:31:35 +00:00
b6e07e1835
close device if mount fails after device opened.
Ben Gras2007-09-26 15:06:41 +00:00
b74b3315a3
Added PF_UNIX and PF_INET to make porting easier.
Philip Homburg2007-09-17 11:35:44 +00:00
38604e4e3a
Don't truncate read requests based on v_size; v_size can be stale in the case of directories extended by subfilesystem. Rely on subfilesystem to do read size truncating and return actual i/o size. This fixes bug 81 in gforge, and unbreaks test 23.
Ben Gras2007-09-11 15:52:22 +00:00
341270673b
mfs no longer needs access to VIRCOPY, Added rs.inet. Start inet with rs.inet as the restart script.
Philip Homburg2007-08-15 12:56:35 +00:00
4b1cd8c0ec
Return EIO if a filedescriptor cannot be re-opened after a driver restart. Select now returns such a filedescriptor as ready (instead of EBADF). Reply before dev_up in FSSIGNON to avoid the problem that a DEV_OPEN request is received by a driver that expects a reply from the FSSIGNON.
Philip Homburg2007-08-15 12:53:52 +00:00
a116b3aa55
To return the right error, check first is an object is a directory (for mkdir, rmdir/unlink, mknod), simply pipe code by using v_pipe_rd_pos and v_pipe_wr_pos directly. Some cleanup work in open.c
Philip Homburg2007-08-08 14:01:36 +00:00