]> Zhao Yanbai Git Server - minix.git/log
minix.git
15 years agofix race condition that can trigger 'enqueue already ready process' panic.
Ben Gras [Thu, 11 Dec 2008 13:42:37 +0000 (13:42 +0000)]
fix race condition that can trigger 'enqueue already ready process' panic.

15 years agoumap fix
Ben Gras [Mon, 8 Dec 2008 17:06:38 +0000 (17:06 +0000)]
umap fix

15 years ago - code shared with exec() letting boot-time processes have
Ben Gras [Mon, 8 Dec 2008 16:43:20 +0000 (16:43 +0000)]
 - code shared with exec() letting boot-time processes have
   their own fully fledged virtual address space and freeing
   their pre-allocated heap+stack area (necessary to let memory
   driver map in arbitrary areas of memory for /dev/mem without
   sys_vm_map)
 - small optimization preallocating memory on exec
 - finished VR_DIRECT physical mapping code

15 years ago - hz dynamic
Ben Gras [Mon, 8 Dec 2008 16:40:29 +0000 (16:40 +0000)]
 - hz dynamic
 - new map /dev/video implementation
 - ser_putc into library

15 years agofloppy must be able to allocate a bit more for nonpaged mode.
Ben Gras [Wed, 19 Nov 2008 17:31:42 +0000 (17:31 +0000)]
floppy must be able to allocate a bit more for nonpaged mode.

15 years agomake allocmem accept and return values in bytes, ramdisk expects this.
Ben Gras [Wed, 19 Nov 2008 15:40:17 +0000 (15:40 +0000)]
make allocmem accept and return values in bytes, ramdisk expects this.

15 years agominor fixes
Ben Gras [Wed, 19 Nov 2008 14:10:33 +0000 (14:10 +0000)]
minor fixes

15 years agopaged mode is default.
Ben Gras [Wed, 19 Nov 2008 13:19:37 +0000 (13:19 +0000)]
paged mode is default.

15 years agoinclude libraries.
Ben Gras [Wed, 19 Nov 2008 13:15:35 +0000 (13:15 +0000)]
include libraries.

15 years agolingering file
Ben Gras [Wed, 19 Nov 2008 12:38:31 +0000 (12:38 +0000)]
lingering file

15 years agolingering file.
Ben Gras [Wed, 19 Nov 2008 12:35:46 +0000 (12:35 +0000)]
lingering file.

15 years agoBasic VM and other minor improvements.
Ben Gras [Wed, 19 Nov 2008 12:26:10 +0000 (12:26 +0000)]
Basic VM and other minor improvements.
Not complete, probably not fully debugged or optimized.

16 years agoReverted accidental change to stat.c.
Philip Homburg [Thu, 2 Oct 2008 14:11:12 +0000 (14:11 +0000)]
Reverted accidental change to stat.c.

16 years agoSome changes that were missing from the previous commit
Philip Homburg [Thu, 2 Oct 2008 13:48:05 +0000 (13:48 +0000)]
Some changes that were missing from the previous commit

16 years agoMinix 3 version
Philip Homburg [Thu, 2 Oct 2008 13:45:46 +0000 (13:45 +0000)]
Minix 3 version

16 years agoUnmodified source of the software fault injection utility
Philip Homburg [Thu, 2 Oct 2008 13:43:32 +0000 (13:43 +0000)]
Unmodified source of the software fault injection utility

16 years agothrow out two time consuming tests
Ben Gras [Wed, 1 Oct 2008 15:09:33 +0000 (15:09 +0000)]
throw out two time consuming tests

16 years agoAdded lance entry to drivers.conf.
David van Moolenbroek [Tue, 22 Jul 2008 15:11:01 +0000 (15:11 +0000)]
Added lance entry to drivers.conf.

16 years agoBackport of fix from asynchvfs branch for PM-LOG-VFS-PM deadlock that resulted in...
David van Moolenbroek [Tue, 24 Jun 2008 13:53:03 +0000 (13:53 +0000)]
Backport of fix from asynchvfs branch for PM-LOG-VFS-PM deadlock that resulted in VFS panics.

16 years agoA glob() implementation.
Ben Gras [Tue, 8 Apr 2008 13:14:33 +0000 (13:14 +0000)]
A glob() implementation.

16 years agoUse $PAGER if set. Suggested by gigabo at gmail.com.
Ben Gras [Tue, 8 Apr 2008 12:34:35 +0000 (12:34 +0000)]
Use $PAGER if set. Suggested by gigabo at gmail.com.

16 years agoSelect support for eth by Erik van der Kouwe.
Philip Homburg [Wed, 12 Mar 2008 14:10:21 +0000 (14:10 +0000)]
Select support for eth by Erik van der Kouwe.

16 years agoSYS_MAPDMAx -> SYS_MAPDMA, added IOMMU_MAP
Philip Homburg [Mon, 25 Feb 2008 14:39:19 +0000 (14:39 +0000)]
SYS_MAPDMAx -> SYS_MAPDMA, added IOMMU_MAP

16 years agoBuild libdriver_asyn for target image
Philip Homburg [Mon, 25 Feb 2008 14:38:09 +0000 (14:38 +0000)]
Build libdriver_asyn for target image

16 years agoSYS_MAPDMAx -> SYS_MAPDMA.
Philip Homburg [Mon, 25 Feb 2008 14:36:28 +0000 (14:36 +0000)]
SYS_MAPDMAx -> SYS_MAPDMA.

16 years agoFixed include files.
Philip Homburg [Mon, 25 Feb 2008 14:35:54 +0000 (14:35 +0000)]
Fixed include files.

16 years ago_function, function -> call_nr
Philip Homburg [Mon, 25 Feb 2008 14:35:11 +0000 (14:35 +0000)]
_function, function -> call_nr

16 years agoAdded O_REOPEN, better error handling.
Philip Homburg [Mon, 25 Feb 2008 12:13:30 +0000 (12:13 +0000)]
Added O_REOPEN, better error handling.

16 years agoAdded XDOPEN.
Philip Homburg [Mon, 25 Feb 2008 12:12:07 +0000 (12:12 +0000)]
Added XDOPEN.

16 years agoAdded libdriver_asyn and amddev
Philip Homburg [Mon, 25 Feb 2008 12:07:48 +0000 (12:07 +0000)]
Added libdriver_asyn and amddev

16 years agoDriver for AMD's DEV.
Philip Homburg [Mon, 25 Feb 2008 12:07:19 +0000 (12:07 +0000)]
Driver for AMD's DEV.

16 years agoAsynchrnous character device interface.
Philip Homburg [Mon, 25 Feb 2008 11:54:04 +0000 (11:54 +0000)]
Asynchrnous character device interface.

16 years agoNeed separate 'prev_next' pointers for kernel and TTY.
Philip Homburg [Mon, 25 Feb 2008 11:53:37 +0000 (11:53 +0000)]
Need separate 'prev_next' pointers for kernel and TTY.

16 years agoLink random number genertor with libdriver_asyn
Philip Homburg [Mon, 25 Feb 2008 10:25:43 +0000 (10:25 +0000)]
Link random number genertor with libdriver_asyn

16 years agoCopy of libdriver for asynch interface to character drivers. Has to be cleaned
Philip Homburg [Mon, 25 Feb 2008 10:24:46 +0000 (10:24 +0000)]
Copy of libdriver for asynch interface to character drivers. Has to be cleaned
up.

16 years agoSupport for I/O MMU.
Philip Homburg [Mon, 25 Feb 2008 10:19:29 +0000 (10:19 +0000)]
Support for I/O MMU.

16 years agoMore heap for fxp, support for I/O MMU.
Philip Homburg [Mon, 25 Feb 2008 10:12:09 +0000 (10:12 +0000)]
More heap for fxp, support for I/O MMU.

16 years agoRespond to RS ping request, asynch interface, register with I/O MMU.
Philip Homburg [Mon, 25 Feb 2008 10:02:24 +0000 (10:02 +0000)]
Respond to RS ping request, asynch interface, register with I/O MMU.

16 years agoUse nonblocking sends to reply, fixed reply message for DIAGNOSTICS(_S)
Philip Homburg [Fri, 22 Feb 2008 16:03:00 +0000 (16:03 +0000)]
Use nonblocking sends to reply, fixed reply message for DIAGNOSTICS(_S)

16 years agoFunctions that check arguments and return a status code and functions that
Philip Homburg [Fri, 22 Feb 2008 15:59:12 +0000 (15:59 +0000)]
Functions that check arguments and return a status code and functions that
don't.

16 years agoDeclare and call functions that check arguments and return a status code.
Philip Homburg [Fri, 22 Feb 2008 15:56:12 +0000 (15:56 +0000)]
Declare and call functions that check arguments and return a status code.

16 years agoUse nonblocking send to reply.
Philip Homburg [Fri, 22 Feb 2008 15:52:13 +0000 (15:52 +0000)]
Use nonblocking send to reply.

16 years agoAsynchronous select implementation.
Philip Homburg [Fri, 22 Feb 2008 15:46:59 +0000 (15:46 +0000)]
Asynchronous select implementation.

16 years agoPrivate copy of kputc to support asynch communication with log device.
Philip Homburg [Fri, 22 Feb 2008 15:43:33 +0000 (15:43 +0000)]
Private copy of kputc to support asynch communication with log device.

16 years agoAsynchronous communication with character specials.
Philip Homburg [Fri, 22 Feb 2008 15:41:07 +0000 (15:41 +0000)]
Asynchronous communication with character specials.

16 years agoAdded dmap_async_driver and dmap_sel_filp fields. Support for asynch character
Philip Homburg [Fri, 22 Feb 2008 15:01:00 +0000 (15:01 +0000)]
Added dmap_async_driver and dmap_sel_filp fields. Support for asynch character
drivers (needs cleaning up).

16 years agoUse dev_t instead of Dev_t in structures.
Philip Homburg [Fri, 22 Feb 2008 14:54:00 +0000 (14:54 +0000)]
Use dev_t instead of Dev_t in structures.

16 years agoUse nonblocking send for reply. Support for asynchronous message passing
Philip Homburg [Fri, 22 Feb 2008 14:53:02 +0000 (14:53 +0000)]
Use nonblocking send for reply. Support for asynchronous message passing
(needs cleaning up).

16 years agoHigher NCALLS requires bigger table. New calls are in PM.
Philip Homburg [Fri, 22 Feb 2008 14:51:38 +0000 (14:51 +0000)]
Higher NCALLS requires bigger table. New calls are in PM.

16 years agoAdded XDOPEN.
Philip Homburg [Fri, 22 Feb 2008 14:50:41 +0000 (14:50 +0000)]
Added XDOPEN.

16 years agoSupport for O_REOPEN flag and pass the filp numbet to dev_open.
Philip Homburg [Fri, 22 Feb 2008 14:49:02 +0000 (14:49 +0000)]
Support for O_REOPEN flag and pass the filp numbet to dev_open.

16 years agoSupport for suspending on character device open and on drivers that need to
Philip Homburg [Fri, 22 Feb 2008 14:47:40 +0000 (14:47 +0000)]
Support for suspending on character device open and on drivers that need to
be restarted.

16 years agoNew fp_flags. Currently used to signal that is process should be suspended
Philip Homburg [Fri, 22 Feb 2008 14:32:23 +0000 (14:32 +0000)]
New fp_flags. Currently used to signal that is process should be suspended
a driver is restarted.

16 years agoPass suspend_reopen flag to dev_io.
Philip Homburg [Fri, 22 Feb 2008 14:26:41 +0000 (14:26 +0000)]
Pass suspend_reopen flag to dev_io.

16 years agoAdded filp_state for driver recovery and filp_select_flags to store select
Philip Homburg [Fri, 22 Feb 2008 14:19:23 +0000 (14:19 +0000)]
Added filp_state for driver recovery and filp_select_flags to store select
state for character specials that use asynch I/O.

16 years agodev_close needs the filp number for asynch I/O, dev_io gets suspend_reopen
Philip Homburg [Fri, 22 Feb 2008 14:03:14 +0000 (14:03 +0000)]
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.

16 years agoSupport for blocking open on char specials (due to asynch message passing),
Philip Homburg [Fri, 22 Feb 2008 13:57:11 +0000 (13:57 +0000)]
Support for blocking open on char specials (due to asynch message passing),
asynch. close, added close_filp function.

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>.