9d41dbc55e
Build libdriver_asyn for target image
Philip Homburg
2008-02-25 14:38:09 +00:00
9d62f56ea1
SYS_MAPDMAx -> SYS_MAPDMA.
Philip Homburg
2008-02-25 14:36:28 +00:00
f82a1c4df7
Fixed include files.
Philip Homburg
2008-02-25 14:35:54 +00:00
a508e0a03c
_function, function -> call_nr
Philip Homburg
2008-02-25 14:35:11 +00:00
822fcd368d
Added O_REOPEN, better error handling.
Philip Homburg
2008-02-25 12:13:30 +00:00
41efa40ad2
Added XDOPEN.
Philip Homburg
2008-02-25 12:12:07 +00:00
9d176133ee
Added libdriver_asyn and amddev
Philip Homburg
2008-02-25 12:07:48 +00:00
4474166403
Driver for AMD's DEV.
Philip Homburg
2008-02-25 12:07:19 +00:00
a51dbad054
Asynchrnous character device interface.
Philip Homburg
2008-02-25 11:54:04 +00:00
65df875abb
Need separate 'prev_next' pointers for kernel and TTY.
Philip Homburg
2008-02-25 11:53:37 +00:00
830b79f0d5
Link random number genertor with libdriver_asyn
Philip Homburg
2008-02-25 10:25:43 +00:00
bc125e3e1c
Copy of libdriver for asynch interface to character drivers. Has to be cleaned up.
Philip Homburg
2008-02-25 10:24:46 +00:00
404325b193
Support for I/O MMU.
Philip Homburg
2008-02-25 10:19:29 +00:00
668515afe2
More heap for fxp, support for I/O MMU.
Philip Homburg
2008-02-25 10:12:09 +00:00
54f714e59e
Respond to RS ping request, asynch interface, register with I/O MMU.
Philip Homburg
2008-02-25 10:02:24 +00:00
00ef93d6a2
Use nonblocking sends to reply, fixed reply message for DIAGNOSTICS(_S)
Philip Homburg
2008-02-22 16:03:00 +00:00
e3d4c74393
Functions that check arguments and return a status code and functions that don't.
Philip Homburg
2008-02-22 15:59:12 +00:00
fecd153c2c
Declare and call functions that check arguments and return a status code.
Philip Homburg
2008-02-22 15:56:12 +00:00
8a07b7687a
Use nonblocking send to reply.
Philip Homburg
2008-02-22 15:52:13 +00:00
bc7e3c02a3
Asynchronous select implementation.
Philip Homburg
2008-02-22 15:46:59 +00:00
ff7eae2ad8
Private copy of kputc to support asynch communication with log device.
Philip Homburg
2008-02-22 15:43:33 +00:00
2ec762c60c
Asynchronous communication with character specials.
Philip Homburg
2008-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 Homburg
2008-02-22 15:01:00 +00:00
9df94c5ee8
Use dev_t instead of Dev_t in structures.
Philip Homburg
2008-02-22 14:54:00 +00:00
097d8fee66
Use nonblocking send for reply. Support for asynchronous message passing (needs cleaning up).
Philip Homburg
2008-02-22 14:53:02 +00:00
66c930ef8b
Higher NCALLS requires bigger table. New calls are in PM.
Philip Homburg
2008-02-22 14:51:38 +00:00
93ff4c327f
Added XDOPEN.
Philip Homburg
2008-02-22 14:50:41 +00:00
9388a27070
Support for O_REOPEN flag and pass the filp numbet to dev_open.
Philip Homburg
2008-02-22 14:49:02 +00:00
7387449b23
Support for suspending on character device open and on drivers that need to be restarted.
Philip Homburg
2008-02-22 14:47:40 +00:00
ca91b3b5be
New fp_flags. Currently used to signal that is process should be suspended a driver is restarted.
Philip Homburg
2008-02-22 14:32:23 +00:00
6ef71b8198
Pass suspend_reopen flag to dev_io.
Philip Homburg
2008-02-22 14:26:41 +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 Homburg
2008-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 Homburg
2008-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 Homburg
2008-02-22 13:57:11 +00:00
73ea967b6c
Keep track of error statistics, rate limit debug output, added SYS_MAPDMA.
Philip Homburg
2008-02-22 12:38:22 +00:00
992edfd558
Keep track of various statistics related to IPC and SYSTEM.
Philip Homburg
2008-02-22 12:36:46 +00:00
5996d1de58
Added do_mapdma.
Philip Homburg
2008-02-22 12:25:59 +00:00
f6872f8323
Added ipc_stats_target.
Philip Homburg
2008-02-22 12:25:44 +00:00
4a86b1fea5
Changes to debug output, mostly rate limiting.
Philip Homburg
2008-02-22 11:00:06 +00:00
3c2e122d6d
Disabled code to set ipc_stats_target.
Philip Homburg
2008-02-22 10:58:27 +00:00
2679321ba0
Added do_mapdma.
Philip Homburg
2008-02-22 10:51:37 +00:00
594035f13c
More verbose (optional) debug output for exceptions.
Philip Homburg
2008-02-22 10:43:18 +00:00
f5389ecf19
Code to dump IPC statistics over a serial line. (Disabled) code to disable the FPU.
Philip Homburg
2008-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 Homburg
2008-02-21 16:33:34 +00:00
75520b7403
ipc restrictions for some drivers and I/O MMU (amddev)
Philip Homburg
2008-02-21 16:24:35 +00:00
3f23bca404
Removed defines not needed by mfs (XPIPE, XLOCK, XPOPEN, XSELECT, DUP_MASK).
Philip Homburg
2008-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 Homburg
2008-02-21 16:20:22 +00:00
19db2b646e
Removed superfluous argument.
Philip Homburg
2008-02-21 16:09:58 +00:00
d9858cfabf
Removed some debug output.
Philip Homburg
2008-02-21 16:08:08 +00:00
4951a741b0
adddma/deldma/getdma/sys_mapdma
Philip Homburg
2008-02-21 16:02:22 +00:00
959ed5a191
Added ERESTART
Philip Homburg
2008-02-21 16:00:39 +00:00
07c258a9c7
Added adddma/deldma/getdma.
Philip Homburg
2008-02-21 15:58:55 +00:00
e674f1a54f
Added ERESTART.
Philip Homburg
2008-02-21 15:58:26 +00:00
3b3fc8a9c4
Added O_REOPEN.
Philip Homburg
2008-02-21 15:58:06 +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 Homburg
2008-02-21 15:57:35 +00:00
698df384c3
Extra calls to PM for I/O MMUs.
Philip Homburg
2008-02-21 15:51:27 +00:00
cb2b7ada63
Nonblocking send.
Philip Homburg
2008-02-21 15:50:09 +00:00
fc4593fb42
List of service/driver names that are allowed as IPC endpoints for a new driver/service.
Philip Homburg
2008-02-21 15:49:44 +00:00
124a128736
Defines for AMD I/O MMU
Philip Homburg
2008-02-21 15:47:11 +00:00
2c45324c47
keymap contributed by Roman Ignatov.
Ben Gras
2008-02-06 15:16:50 +00:00
2876d5c4ba
Optimization in searching for new zones to allocate contributed by Jens de Smit.
Ben Gras
2008-02-06 15:05:57 +00:00
cd89066f9a
Trust $PATH.
Ben Gras
2007-12-19 10:51:21 +00:00
b250847120
Makefile for audio drivers.
Ben Gras
2007-12-19 10:37:29 +00:00
8e727c97ce
always re-enable irq, so devices sharing this irq don't go deaf as IRQ_REENABLE isn't specified.
Ben Gras
2007-12-14 12:44:20 +00:00
50fa859819
A rint() implementation.
Ben Gras
2007-12-14 11:59:54 +00:00
bd489b6c0b
Original imported versions of s_rint.c and math_private.h.
Ben Gras
2007-12-11 12:32:26 +00:00
3f2230eee5
add M_SQRT1_2 (1/sqrt(2))
Ben Gras
2007-12-11 10:59:02 +00:00
e39af6d1ff
yearly fsck increase.
Ben Gras
2007-12-11 10:51:35 +00:00
45744bff41
Connect new audio drivers to build.
Ben Gras
2007-11-23 11:53:33 +00:00
b79b305ba1
More es1371 bij Pieter Hijma.
Ben Gras
2007-11-23 11:52:34 +00:00
c67a56708e
es1370 driver and updated es1371 and framework by Pieter Hijma.
Ben Gras
2007-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 Gras
2007-11-23 11:30:50 +00:00
1327804478
MFS doesn't need sys_exit().
Ben Gras
2007-10-23 14:24:41 +00:00
67d1b67805
exit prototype
Ben Gras
2007-10-23 14:19:16 +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 Gras
2007-10-23 14:17:51 +00:00
515e8216e1
Basic entry for dpeth suggested by Jens de Smit.
Ben Gras
2007-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 Gras
2007-10-17 10:53:47 +00:00
23f6e478df
Fixed a glitch introduced in safe i/o conversion.
Ben Gras
2007-10-17 10:50:18 +00:00
21ae963cf1
Fixes two wrong grant return checks and one 'grant leak'.
Ben Gras
2007-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 Gras
2007-10-16 14:31:35 +00:00
b6e07e1835
close device if mount fails after device opened.
Ben Gras
2007-09-26 15:06:41 +00:00
b74b3315a3
Added PF_UNIX and PF_INET to make porting easier.
Philip Homburg
2007-09-17 11:35:44 +00:00
af678531aa
Disabled some debug output in recvfrom.
Philip Homburg
2007-09-17 11:22:06 +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 Gras
2007-09-11 15:52:22 +00:00
007bb33c7d
Make test 17 use dir 17
Ben Gras
2007-09-11 14:56:48 +00:00
ff9f4dd59c
fix for i/o data/addr pair set macro's.
Ben Gras
2007-09-11 11:22:29 +00:00
ab3062c8c0
REQ_FSTATFS now operates on the root inode (the inode parameter has been removed)
Philip Homburg
2007-08-17 11:20:59 +00:00
9c3f85d14f
Better interface for sys_times.
Philip Homburg
2007-08-16 13:16:26 +00:00
341270673b
mfs no longer needs access to VIRCOPY, Added rs.inet. Start inet with rs.inet as the restart script.
Philip Homburg
2007-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 Homburg
2007-08-15 12:53:52 +00:00
c26de9f435
Close UDP socket after error.
Philip Homburg
2007-08-15 12:50:24 +00:00
90fde6e97d
cleanup
Philip Homburg
2007-08-10 13:02:39 +00:00
06e1f0da61
Better recovery when req_readsuper fails.
Philip Homburg
2007-08-10 13:01:38 +00:00
57c6f099f2
Removed old debug code.
Philip Homburg
2007-08-08 15:27:07 +00:00
e2f06e7c89
Directory check before access check.
Philip Homburg
2007-08-08 15:26:47 +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 Homburg
2007-08-08 14:01:36 +00:00