]> Zhao Yanbai Git Server - minix.git/log
minix.git
16 years agoKeep track of error statistics, rate limit debug output, added SYS_MAPDMA.
Philip Homburg [Fri, 22 Feb 2008 12:38:22 +0000 (12:38 +0000)]
Keep track of error statistics, rate limit debug output, added SYS_MAPDMA.

16 years agoKeep track of various statistics related to IPC and SYSTEM.
Philip Homburg [Fri, 22 Feb 2008 12:36:46 +0000 (12:36 +0000)]
Keep track of various statistics related to IPC and SYSTEM.

16 years agoAdded do_mapdma.
Philip Homburg [Fri, 22 Feb 2008 12:25:59 +0000 (12:25 +0000)]
Added do_mapdma.

16 years agoAdded ipc_stats_target.
Philip Homburg [Fri, 22 Feb 2008 12:25:44 +0000 (12:25 +0000)]
Added ipc_stats_target.

16 years agoChanges to debug output, mostly rate limiting.
Philip Homburg [Fri, 22 Feb 2008 11:00:06 +0000 (11:00 +0000)]
Changes to debug output, mostly rate limiting.

16 years agoDisabled code to set ipc_stats_target.
Philip Homburg [Fri, 22 Feb 2008 10:58:27 +0000 (10:58 +0000)]
Disabled code to set ipc_stats_target.

16 years agoAdded do_mapdma.
Philip Homburg [Fri, 22 Feb 2008 10:51:37 +0000 (10:51 +0000)]
Added do_mapdma.

16 years agoMore verbose (optional) debug output for exceptions.
Philip Homburg [Fri, 22 Feb 2008 10:43:18 +0000 (10:43 +0000)]
More verbose (optional) debug output for exceptions.

16 years agoCode to dump IPC statistics over a serial line. (Disabled) code to disable the
Philip Homburg [Fri, 22 Feb 2008 10:40:38 +0000 (10:40 +0000)]
Code to dump IPC statistics over a serial line. (Disabled) code to disable the
FPU.

16 years agoSupport for I/O MMU: do not re-use a memory segment until the I/O MMU has
Philip Homburg [Thu, 21 Feb 2008 16:33:34 +0000 (16:33 +0000)]
Support for I/O MMU: do not re-use a memory segment until the I/O MMU has
removed it from its map.

16 years agoipc restrictions for some drivers and I/O MMU (amddev)
Philip Homburg [Thu, 21 Feb 2008 16:24:35 +0000 (16:24 +0000)]
ipc restrictions for some drivers and I/O MMU (amddev)

16 years agoRemoved defines not needed by mfs (XPIPE, XLOCK, XPOPEN, XSELECT, DUP_MASK).
Philip Homburg [Thu, 21 Feb 2008 16:22:36 +0000 (16:22 +0000)]
Removed defines not needed by mfs (XPIPE, XLOCK, XPOPEN, XSELECT, DUP_MASK).

16 years agoSupport for restricting limiting IPC to a set of endpoints. Not enabled by
Philip Homburg [Thu, 21 Feb 2008 16:20:22 +0000 (16:20 +0000)]
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.

16 years agoRemoved superfluous argument.
Philip Homburg [Thu, 21 Feb 2008 16:09:58 +0000 (16:09 +0000)]
Removed superfluous argument.

16 years agoRemoved some debug output.
Philip Homburg [Thu, 21 Feb 2008 16:08:08 +0000 (16:08 +0000)]
Removed some debug output.

16 years agoadddma/deldma/getdma/sys_mapdma
Philip Homburg [Thu, 21 Feb 2008 16:02:22 +0000 (16:02 +0000)]
adddma/deldma/getdma/sys_mapdma

16 years agoAdded ERESTART
Philip Homburg [Thu, 21 Feb 2008 16:00:39 +0000 (16:00 +0000)]
Added ERESTART

16 years agoAdded adddma/deldma/getdma.
Philip Homburg [Thu, 21 Feb 2008 15:58:55 +0000 (15:58 +0000)]
Added adddma/deldma/getdma.

16 years agoAdded ERESTART.
Philip Homburg [Thu, 21 Feb 2008 15:58:26 +0000 (15:58 +0000)]
Added ERESTART.

16 years agoAdded O_REOPEN.
Philip Homburg [Thu, 21 Feb 2008 15:58:06 +0000 (15:58 +0000)]
Added O_REOPEN.

16 years agoChanges for asynchronous interface to character specials.
Philip Homburg [Thu, 21 Feb 2008 15:57:35 +0000 (15:57 +0000)]
Changes for asynchronous interface to character specials.
Removed DEV_SEL_WATCH. Added SYS_MAPDMAx. New message type (DIAG_REPL) for
replies to DIAGNOSTICS(_S).

16 years agoExtra calls to PM for I/O MMUs.
Philip Homburg [Thu, 21 Feb 2008 15:51:27 +0000 (15:51 +0000)]
Extra calls to PM for I/O MMUs.

16 years agoNonblocking send.
Philip Homburg [Thu, 21 Feb 2008 15:50:09 +0000 (15:50 +0000)]
Nonblocking send.

16 years agoList of service/driver names that are allowed as IPC endpoints for a new
Philip Homburg [Thu, 21 Feb 2008 15:49:44 +0000 (15:49 +0000)]
List of service/driver names that are allowed as IPC endpoints for a new
driver/service.

16 years agoDefines for AMD I/O MMU
Philip Homburg [Thu, 21 Feb 2008 15:47:11 +0000 (15:47 +0000)]
Defines for AMD I/O MMU

16 years agokeymap contributed by Roman Ignatov.
Ben Gras [Wed, 6 Feb 2008 15:16:50 +0000 (15:16 +0000)]
keymap contributed by Roman Ignatov.

16 years agoOptimization in searching for new zones to allocate contributed
Ben Gras [Wed, 6 Feb 2008 15:05:57 +0000 (15:05 +0000)]
Optimization in searching for new zones to allocate contributed
by Jens de Smit.

16 years agoTrust $PATH.
Ben Gras [Wed, 19 Dec 2007 10:51:21 +0000 (10:51 +0000)]
Trust $PATH.

16 years agoMakefile for audio drivers.
Ben Gras [Wed, 19 Dec 2007 10:37:29 +0000 (10:37 +0000)]
Makefile for audio drivers.

16 years agoalways re-enable irq, so devices sharing this irq don't go deaf
Ben Gras [Fri, 14 Dec 2007 12:44:20 +0000 (12:44 +0000)]
always re-enable irq, so devices sharing this irq don't go deaf
as IRQ_REENABLE isn't specified.

16 years agoA rint() implementation.
Ben Gras [Fri, 14 Dec 2007 11:59:54 +0000 (11:59 +0000)]
A rint() implementation.

16 years agoOriginal imported versions of s_rint.c and math_private.h.
Ben Gras [Tue, 11 Dec 2007 12:32:26 +0000 (12:32 +0000)]
Original imported versions of s_rint.c and math_private.h.

16 years agoadd M_SQRT1_2 (1/sqrt(2))
Ben Gras [Tue, 11 Dec 2007 10:59:02 +0000 (10:59 +0000)]
add M_SQRT1_2 (1/sqrt(2))

16 years agoyearly fsck increase.
Ben Gras [Tue, 11 Dec 2007 10:51:35 +0000 (10:51 +0000)]
yearly fsck increase.

16 years agoConnect new audio drivers to build.
Ben Gras [Fri, 23 Nov 2007 11:53:33 +0000 (11:53 +0000)]
Connect new audio drivers to build.

16 years agoMore es1371 bij Pieter Hijma.
Ben Gras [Fri, 23 Nov 2007 11:52:34 +0000 (11:52 +0000)]
More es1371 bij Pieter Hijma.

16 years agoes1370 driver and updated es1371 and framework by Pieter Hijma.
Ben Gras [Fri, 23 Nov 2007 11:40:33 +0000 (11:40 +0000)]
es1370 driver and updated es1371 and framework by Pieter Hijma.

16 years agoaudio drivers. (not updated for trunk.)
Ben Gras [Fri, 23 Nov 2007 11:30:50 +0000 (11:30 +0000)]
audio drivers. (not updated for trunk.)
sb16: port of isa sb16 driver to user-space. Port by Peter Boonstoppel.
es1371: By Laurens Bronwasser.

17 years agoMFS doesn't need sys_exit().
Ben Gras [Tue, 23 Oct 2007 14:24:41 +0000 (14:24 +0000)]
MFS doesn't need sys_exit().

17 years agoexit prototype
Ben Gras [Tue, 23 Oct 2007 14:19:16 +0000 (14:19 +0000)]
exit prototype

17 years agotweak to panic functions of mfs and vfs.
Ben Gras [Tue, 23 Oct 2007 14:17:51 +0000 (14:17 +0000)]
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.

17 years agoBasic entry for dpeth suggested by Jens de Smit.
Ben Gras [Wed, 17 Oct 2007 11:02:33 +0000 (11:02 +0000)]
Basic entry for dpeth suggested by Jens de Smit.

17 years agoFix for DL_STAT_REPLY/DL_TASK_REPLY
Ben Gras [Wed, 17 Oct 2007 10:53:47 +0000 (10:53 +0000)]
Fix for DL_STAT_REPLY/DL_TASK_REPLY
Bug found and fixed by Jens de Smit <jfdsmit at few.vu.nl>.

17 years agoFixed a glitch introduced in safe i/o conversion.
Ben Gras [Wed, 17 Oct 2007 10:50:18 +0000 (10:50 +0000)]
Fixed a glitch introduced in safe i/o conversion.

17 years agoFixes two wrong grant return checks and one 'grant leak'.
Ben Gras [Wed, 17 Oct 2007 10:46:20 +0000 (10:46 +0000)]
Fixes two wrong grant return checks and one 'grant leak'.

17 years agoInternally, floppy driver still used vircopies ('unsafe' copies), but
Ben Gras [Tue, 16 Oct 2007 14:31:35 +0000 (14:31 +0000)]
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.

17 years agoclose device if mount fails after device opened.
Ben Gras [Wed, 26 Sep 2007 15:06:41 +0000 (15:06 +0000)]
close device if mount fails after device opened.

17 years agoAdded PF_UNIX and PF_INET to make porting easier.
Philip Homburg [Mon, 17 Sep 2007 11:35:44 +0000 (11:35 +0000)]
Added PF_UNIX and PF_INET to make porting easier.

17 years agoDisabled some debug output in recvfrom.
Philip Homburg [Mon, 17 Sep 2007 11:22:06 +0000 (11:22 +0000)]
Disabled some debug output in recvfrom.

17 years agoDon't truncate read requests based on v_size; v_size can be stale in the
Ben Gras [Tue, 11 Sep 2007 15:52:22 +0000 (15:52 +0000)]
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.

17 years agoMake test 17 use dir 17
Ben Gras [Tue, 11 Sep 2007 14:56:48 +0000 (14:56 +0000)]
Make test 17 use dir 17

17 years agofix for i/o data/addr pair set macro's.
Ben Gras [Tue, 11 Sep 2007 11:22:29 +0000 (11:22 +0000)]
fix for i/o data/addr pair set macro's.

17 years agoREQ_FSTATFS now operates on the root inode (the inode parameter has been
Philip Homburg [Fri, 17 Aug 2007 11:20:59 +0000 (11:20 +0000)]
REQ_FSTATFS now operates on the root inode (the inode parameter has been
removed)

17 years agoBetter interface for sys_times.
Philip Homburg [Thu, 16 Aug 2007 13:16:26 +0000 (13:16 +0000)]
Better interface for sys_times.

17 years agomfs no longer needs access to VIRCOPY, Added rs.inet. Start inet with
Philip Homburg [Wed, 15 Aug 2007 12:56:35 +0000 (12:56 +0000)]
mfs no longer needs access to VIRCOPY, Added rs.inet. Start inet with
rs.inet as the restart script.

17 years agoReturn EIO if a filedescriptor cannot be re-opened after a driver restart.
Philip Homburg [Wed, 15 Aug 2007 12:53:52 +0000 (12:53 +0000)]
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.

17 years agoClose UDP socket after error.
Philip Homburg [Wed, 15 Aug 2007 12:50:24 +0000 (12:50 +0000)]
Close UDP socket after error.

17 years agocleanup
Philip Homburg [Fri, 10 Aug 2007 13:02:39 +0000 (13:02 +0000)]
cleanup

17 years agoBetter recovery when req_readsuper fails.
Philip Homburg [Fri, 10 Aug 2007 13:01:38 +0000 (13:01 +0000)]
Better recovery when req_readsuper fails.

17 years agoRemoved old debug code.
Philip Homburg [Wed, 8 Aug 2007 15:27:07 +0000 (15:27 +0000)]
Removed old debug code.

17 years agoDirectory check before access check.
Philip Homburg [Wed, 8 Aug 2007 15:26:47 +0000 (15:26 +0000)]
Directory check before access check.

17 years agoTo return the right error, check first is an object is a directory (for
Philip Homburg [Wed, 8 Aug 2007 14:01:36 +0000 (14:01 +0000)]
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

17 years agoDisable POSIX-required behavior wrt trailing slashes.
Philip Homburg [Wed, 8 Aug 2007 11:40:47 +0000 (11:40 +0000)]
Disable POSIX-required behavior wrt trailing slashes.

17 years agoRemoved invalid consistency check.
Philip Homburg [Tue, 7 Aug 2007 14:27:19 +0000 (14:27 +0000)]
Removed invalid consistency check.

17 years agoO_EXCL check went missing.
Philip Homburg [Tue, 7 Aug 2007 14:26:56 +0000 (14:26 +0000)]
O_EXCL check went missing.

17 years agoinclude "../vfs/dmap.h".
Philip Homburg [Tue, 7 Aug 2007 13:26:25 +0000 (13:26 +0000)]
include "../vfs/dmap.h".

17 years agoRemoved references to stacktrace.
Philip Homburg [Tue, 7 Aug 2007 13:21:55 +0000 (13:21 +0000)]
Removed references to stacktrace.

17 years agoSomehow request.c got garbled.
Philip Homburg [Tue, 7 Aug 2007 13:12:27 +0000 (13:12 +0000)]
Somehow request.c got garbled.

17 years agoNew VFS interface
Philip Homburg [Tue, 7 Aug 2007 12:52:47 +0000 (12:52 +0000)]
New VFS interface

17 years agoAdded new interface to VFS.
Philip Homburg [Tue, 7 Aug 2007 12:38:35 +0000 (12:38 +0000)]
Added new interface to VFS.

17 years agoTell the kernel about the new boottime and don't tell VFS.
Philip Homburg [Tue, 7 Aug 2007 12:28:42 +0000 (12:28 +0000)]
Tell the kernel about the new boottime and don't tell VFS.
Tell DS about all processes in the boot image. PM_STIME is removed.
Diagnostic for calls to do_getprocnr (DS should be used to get endpoints).

17 years agoRemoved sigaction call. PM tries to talk to DS. DS should not talk to PM.
Philip Homburg [Tue, 7 Aug 2007 12:25:21 +0000 (12:25 +0000)]
Removed sigaction call. PM tries to talk to DS. DS should not talk to PM.

17 years agoRemoved dmap table. Publish endpoint in DS before calling mapdriver5.
Philip Homburg [Tue, 7 Aug 2007 12:24:06 +0000 (12:24 +0000)]
Removed dmap table. Publish endpoint in DS before calling mapdriver5.

17 years agoAdded global variable boottime, prototype for do_stime, and table entry for
Philip Homburg [Tue, 7 Aug 2007 12:21:40 +0000 (12:21 +0000)]
Added global variable boottime, prototype for do_stime, and table entry for
SYS_STIME.

17 years agoAdded do_stime.c, return boot time in do_times.c
Philip Homburg [Tue, 7 Aug 2007 12:20:31 +0000 (12:20 +0000)]
Added do_stime.c, return boot time in do_times.c

17 years agoRemoved check for grants that wrap.
Philip Homburg [Tue, 7 Aug 2007 12:19:45 +0000 (12:19 +0000)]
Removed check for grants that wrap.

17 years agoAdded getuptime2.c
Philip Homburg [Tue, 7 Aug 2007 12:14:04 +0000 (12:14 +0000)]
Added getuptime2.c

17 years agoAdded mapdriver5.s.
Philip Homburg [Tue, 7 Aug 2007 12:05:36 +0000 (12:05 +0000)]
Added mapdriver5.s.

17 years agoAdded sys_stime.c, T_CHILD_UTIME and T_CHILD_STIME are gone, should
Philip Homburg [Tue, 7 Aug 2007 12:04:29 +0000 (12:04 +0000)]
Added sys_stime.c, T_CHILD_UTIME and T_CHILD_STIME are gone, should
change interface of sys_times.

17 years agoAdded _mapdriver5.c.
Philip Homburg [Tue, 7 Aug 2007 12:02:38 +0000 (12:02 +0000)]
Added _mapdriver5.c.

17 years agoAdded prototype for mapdriver5 (from RS to VFS, report the name of a driver
Philip Homburg [Tue, 7 Aug 2007 11:59:02 +0000 (11:59 +0000)]
Added prototype for mapdriver5 (from RS to VFS, report the name of a driver
instead of its endpoint).

17 years agoMany changes to the VFS/FS interface.
Philip Homburg [Tue, 7 Aug 2007 11:58:03 +0000 (11:58 +0000)]
Many changes to the VFS/FS interface.

17 years agoAdded FS_READY (from vfsif.h), and MAPDRIVER (from RS to VFS)
Philip Homburg [Tue, 7 Aug 2007 11:57:33 +0000 (11:57 +0000)]
Added FS_READY (from vfsif.h), and MAPDRIVER (from RS to VFS)

17 years agoNew message type 9: 5 longs, 3 shorts, and 2 chars.
Philip Homburg [Tue, 7 Aug 2007 11:56:28 +0000 (11:56 +0000)]
New message type 9: 5 longs, 3 shorts, and 2 chars.

17 years agoNew call SYS_STIME, restructured fields for SYS_TIMES, removed PM_STIME,
Philip Homburg [Tue, 7 Aug 2007 11:55:28 +0000 (11:55 +0000)]
New call SYS_STIME, restructured fields for SYS_TIMES, removed PM_STIME,
added VFS_BASE.

17 years agoSome parts of dmap can be private (to vfs)
Philip Homburg [Tue, 7 Aug 2007 11:53:41 +0000 (11:53 +0000)]
Some parts of dmap can be private (to vfs)

17 years agoAdded prototypes for sys_stime and getuptime2 (tell the kernel about the
Philip Homburg [Tue, 7 Aug 2007 11:52:15 +0000 (11:52 +0000)]
Added prototypes for sys_stime and getuptime2 (tell the kernel about the
boot time and return the boot time together with the uptime)

17 years agoConstants for symlink loops
Philip Homburg [Tue, 7 Aug 2007 11:43:49 +0000 (11:43 +0000)]
Constants for symlink loops

17 years agoCompile-time option to duplicate console output to the first serial line
Philip Homburg [Tue, 7 Aug 2007 11:27:03 +0000 (11:27 +0000)]
Compile-time option to duplicate console output to the first serial line

17 years agoMore space on ramdisk
Philip Homburg [Tue, 7 Aug 2007 11:22:35 +0000 (11:22 +0000)]
More space on ramdisk

17 years agoPrint the value of a capability as well.
Philip Homburg [Tue, 7 Aug 2007 11:21:57 +0000 (11:21 +0000)]
Print the value of a capability as well.

17 years ago . add checks to printer driver kernel calls
Ben Gras [Mon, 6 Aug 2007 11:17:08 +0000 (11:17 +0000)]
 . add checks to printer driver kernel calls
 . correct some i/o locations for printer in drivers.conf

17 years agomicro_delay in sysutil, used in ti1225, dp8390, fxp and
Ben Gras [Tue, 31 Jul 2007 15:01:49 +0000 (15:01 +0000)]
micro_delay in sysutil, used in ti1225, dp8390, fxp and
orinoco now. Uses a combination of tickdelay (where possible) and
calibrated busywait (where necessary).

17 years ago'fix' crlf style
Ben Gras [Tue, 24 Jul 2007 14:49:39 +0000 (14:49 +0000)]
'fix' crlf style

17 years agoa driver for wireless pci cards with the Prism chipset from Intersil
Ben Gras [Tue, 24 Jul 2007 14:49:09 +0000 (14:49 +0000)]
a driver for wireless pci cards with the Prism chipset from Intersil

Original version, by Stevens Le Blond and Michael Valkering.

17 years ago . remove small image (doesn't fit)
Ben Gras [Tue, 17 Jul 2007 14:36:42 +0000 (14:36 +0000)]
 . remove small image (doesn't fit)
 . edparams line a bit more readable
 . use image built in build tree, not regular source tree

17 years agoTypo reported by Johnathan Gurley.
Ben Gras [Tue, 17 Jul 2007 11:40:02 +0000 (11:40 +0000)]
Typo reported by Johnathan Gurley.

17 years agoalso allow vm_map.
Ben Gras [Wed, 11 Jul 2007 13:45:06 +0000 (13:45 +0000)]
also allow vm_map.

17 years agoDon't exit when rebooting.
Ben Gras [Wed, 11 Jul 2007 13:44:45 +0000 (13:44 +0000)]
Don't exit when rebooting.

17 years agoDon't quit (some processes want to talk to pci at reboot time)
Ben Gras [Wed, 11 Jul 2007 13:44:00 +0000 (13:44 +0000)]
Don't quit (some processes want to talk to pci at reboot time)