]>
Zhao Yanbai Git Server - minix.git/log
Ben Gras [Thu, 11 Dec 2008 14:46:46 +0000 (14:46 +0000)]
debug out
Ben Gras [Thu, 11 Dec 2008 14:45:49 +0000 (14:45 +0000)]
don't hang old binaries
Ben Gras [Thu, 11 Dec 2008 14:45:31 +0000 (14:45 +0000)]
added some code to debug why filesystems won't unmount
Ben Gras [Thu, 11 Dec 2008 14:44:10 +0000 (14:44 +0000)]
throw out debugging code.
Ben Gras [Thu, 11 Dec 2008 14:43:53 +0000 (14:43 +0000)]
No more HZ.
Ben Gras [Thu, 11 Dec 2008 14:43:25 +0000 (14:43 +0000)]
Open stdin, stdout and stderr only after /etc/rc has executed. (/etc/rc
executes it itself.) This avoids keeping /dev nodes on the temporary
root filesystem (initial mfs) in use unnecessarily.
Ben Gras [Thu, 11 Dec 2008 14:42:23 +0000 (14:42 +0000)]
. no more HZ, but use sys_hz() to get that value
. memory maps in physical memory (for /dev/mem) with new vm interface
. pci complete_bars() seems to be buggy behaviour sometimes
. startup script opens its own stdout, stderr and stdin so init doesn't
have to do it
Ben Gras [Thu, 11 Dec 2008 14:37:42 +0000 (14:37 +0000)]
slight args change
Ben Gras [Thu, 11 Dec 2008 14:37:18 +0000 (14:37 +0000)]
dynamic HZ
Ben Gras [Thu, 11 Dec 2008 14:37:02 +0000 (14:37 +0000)]
move senda to sep. file
Ben Gras [Thu, 11 Dec 2008 14:36:37 +0000 (14:36 +0000)]
No more HZ; move stacktrace() to library
Ben Gras [Thu, 11 Dec 2008 14:33:33 +0000 (14:33 +0000)]
introduce Hz variable that is what used to be the HZ constant.
default 60Hz of course.
Ben Gras [Thu, 11 Dec 2008 14:27:18 +0000 (14:27 +0000)]
Changes so the HZ constant isn't needed any more.
Ben Gras [Thu, 11 Dec 2008 14:26:50 +0000 (14:26 +0000)]
I want to see /dev/imgrd so I can unmount it when it's free.
Ben Gras [Thu, 11 Dec 2008 14:26:27 +0000 (14:26 +0000)]
syslogd needs a bit more stack.
Ben Gras [Thu, 11 Dec 2008 14:23:58 +0000 (14:23 +0000)]
. print kernel stacktrace unconditionally on panic
. provide a panic() in the kernel for if a library function wants to panic
Ben Gras [Thu, 11 Dec 2008 14:21:47 +0000 (14:21 +0000)]
. VM needs a higher priority than VFS, PM etc
. introduce FULLVM flag: MEMORY and the initial MFS
get their own full address spaces, making their stacks
and heaps not preallocated (well, freed after VM has
initialized it) and letting them allocate more dynamically.
MEMORY in particular needs this to map in physical memory
using its own page table, without having to allocate.
Ben Gras [Thu, 11 Dec 2008 14:18:51 +0000 (14:18 +0000)]
PM_PROC_NR shouldn't be hardcoded as the caller.
Ben Gras [Thu, 11 Dec 2008 14:17:45 +0000 (14:17 +0000)]
function to increase process stack (pointer). used by VM to set up large,
sparse, non-preallocated heap and stack.
Ben Gras [Thu, 11 Dec 2008 14:16:40 +0000 (14:16 +0000)]
system image processes with full address space are allowed to have pagefaults.
Ben Gras [Thu, 11 Dec 2008 14:15:23 +0000 (14:15 +0000)]
. replace HZ by runtime system_hz (sysenv variable 'hz')
. new flag PROC_FULLVM in table indicating process wants full address
space (this is then created and managed by VM)
Ben Gras [Thu, 11 Dec 2008 14:12:52 +0000 (14:12 +0000)]
. some flags to <minix/const.h>
. add system_hz for runtime HZ value
Ben Gras [Thu, 11 Dec 2008 14:11:59 +0000 (14:11 +0000)]
vm map request - ioctl to /dev/video
Ben Gras [Thu, 11 Dec 2008 14:10:56 +0000 (14:10 +0000)]
add va_copy()
Ben Gras [Thu, 11 Dec 2008 14:10:37 +0000 (14:10 +0000)]
Ben Gras [Thu, 11 Dec 2008 14:10:17 +0000 (14:10 +0000)]
VMCTL_INCSP to increase process stack pointer.
(Used to change the virtual address of the stack before a process has
started executing.)
Ben Gras [Thu, 11 Dec 2008 14:09:38 +0000 (14:09 +0000)]
. ser_putc() goes to library
. another cmd for getinfo - obtaining current HZ value
Ben Gras [Thu, 11 Dec 2008 14:08:53 +0000 (14:08 +0000)]
. HZ no longer constant, but settable at boot time; default is DEFAULT_HZ (60)
. some kernel flags to <minix/const.h>
Ben Gras [Thu, 11 Dec 2008 13:42:37 +0000 (13:42 +0000)]
fix race condition that can trigger 'enqueue already ready process' panic.
Ben Gras [Mon, 8 Dec 2008 17:06:38 +0000 (17:06 +0000)]
umap fix
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
Ben Gras [Mon, 8 Dec 2008 16:40:29 +0000 (16:40 +0000)]
- hz dynamic
- new map /dev/video implementation
- ser_putc into library
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.
Ben Gras [Wed, 19 Nov 2008 15:40:17 +0000 (15:40 +0000)]
make allocmem accept and return values in bytes, ramdisk expects this.
Ben Gras [Wed, 19 Nov 2008 14:10:33 +0000 (14:10 +0000)]
minor fixes
Ben Gras [Wed, 19 Nov 2008 13:19:37 +0000 (13:19 +0000)]
paged mode is default.
Ben Gras [Wed, 19 Nov 2008 13:15:35 +0000 (13:15 +0000)]
include libraries.
Ben Gras [Wed, 19 Nov 2008 12:38:31 +0000 (12:38 +0000)]
lingering file
Ben Gras [Wed, 19 Nov 2008 12:35:46 +0000 (12:35 +0000)]
lingering file.
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.
Philip Homburg [Thu, 2 Oct 2008 14:11:12 +0000 (14:11 +0000)]
Reverted accidental change to stat.c.
Philip Homburg [Thu, 2 Oct 2008 13:48:05 +0000 (13:48 +0000)]
Some changes that were missing from the previous commit
Philip Homburg [Thu, 2 Oct 2008 13:45:46 +0000 (13:45 +0000)]
Minix 3 version
Philip Homburg [Thu, 2 Oct 2008 13:43:32 +0000 (13:43 +0000)]
Unmodified source of the software fault injection utility
Ben Gras [Wed, 1 Oct 2008 15:09:33 +0000 (15:09 +0000)]
throw out two time consuming tests
David van Moolenbroek [Tue, 22 Jul 2008 15:11:01 +0000 (15:11 +0000)]
Added lance entry to drivers.conf.
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.
Ben Gras [Tue, 8 Apr 2008 13:14:33 +0000 (13:14 +0000)]
A glob() implementation.
Ben Gras [Tue, 8 Apr 2008 12:34:35 +0000 (12:34 +0000)]
Use $PAGER if set. Suggested by gigabo at gmail.com.
Philip Homburg [Wed, 12 Mar 2008 14:10:21 +0000 (14:10 +0000)]
Select support for eth by Erik van der Kouwe.
Philip Homburg [Mon, 25 Feb 2008 14:39:19 +0000 (14:39 +0000)]
SYS_MAPDMAx -> SYS_MAPDMA, added IOMMU_MAP
Philip Homburg [Mon, 25 Feb 2008 14:38:09 +0000 (14:38 +0000)]
Build libdriver_asyn for target image
Philip Homburg [Mon, 25 Feb 2008 14:36:28 +0000 (14:36 +0000)]
SYS_MAPDMAx -> SYS_MAPDMA.
Philip Homburg [Mon, 25 Feb 2008 14:35:54 +0000 (14:35 +0000)]
Fixed include files.
Philip Homburg [Mon, 25 Feb 2008 14:35:11 +0000 (14:35 +0000)]
_function, function -> call_nr
Philip Homburg [Mon, 25 Feb 2008 12:13:30 +0000 (12:13 +0000)]
Added O_REOPEN, better error handling.
Philip Homburg [Mon, 25 Feb 2008 12:12:07 +0000 (12:12 +0000)]
Added XDOPEN.
Philip Homburg [Mon, 25 Feb 2008 12:07:48 +0000 (12:07 +0000)]
Added libdriver_asyn and amddev
Philip Homburg [Mon, 25 Feb 2008 12:07:19 +0000 (12:07 +0000)]
Driver for AMD's DEV.
Philip Homburg [Mon, 25 Feb 2008 11:54:04 +0000 (11:54 +0000)]
Asynchrnous character device interface.
Philip Homburg [Mon, 25 Feb 2008 11:53:37 +0000 (11:53 +0000)]
Need separate 'prev_next' pointers for kernel and TTY.
Philip Homburg [Mon, 25 Feb 2008 10:25:43 +0000 (10:25 +0000)]
Link random number genertor with libdriver_asyn
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.
Philip Homburg [Mon, 25 Feb 2008 10:19:29 +0000 (10:19 +0000)]
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.
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.
Philip Homburg [Fri, 22 Feb 2008 16:03:00 +0000 (16:03 +0000)]
Use nonblocking sends to reply, fixed reply message for DIAGNOSTICS(_S)
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.
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.
Philip Homburg [Fri, 22 Feb 2008 15:52:13 +0000 (15:52 +0000)]
Use nonblocking send to reply.
Philip Homburg [Fri, 22 Feb 2008 15:46:59 +0000 (15:46 +0000)]
Asynchronous select implementation.
Philip Homburg [Fri, 22 Feb 2008 15:43:33 +0000 (15:43 +0000)]
Private copy of kputc to support asynch communication with log device.
Philip Homburg [Fri, 22 Feb 2008 15:41:07 +0000 (15:41 +0000)]
Asynchronous communication with character specials.
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).
Philip Homburg [Fri, 22 Feb 2008 14:54:00 +0000 (14:54 +0000)]
Use dev_t instead of Dev_t in structures.
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).
Philip Homburg [Fri, 22 Feb 2008 14:51:38 +0000 (14:51 +0000)]
Higher NCALLS requires bigger table. New calls are in PM.
Philip Homburg [Fri, 22 Feb 2008 14:50:41 +0000 (14:50 +0000)]
Added XDOPEN.
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.
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.
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.
Philip Homburg [Fri, 22 Feb 2008 14:26:41 +0000 (14:26 +0000)]
Pass suspend_reopen flag to dev_io.
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.
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.
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.
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.
Philip Homburg [Fri, 22 Feb 2008 12:36:46 +0000 (12:36 +0000)]
Keep track of various statistics related to IPC and SYSTEM.
Philip Homburg [Fri, 22 Feb 2008 12:25:59 +0000 (12:25 +0000)]
Added do_mapdma.
Philip Homburg [Fri, 22 Feb 2008 12:25:44 +0000 (12:25 +0000)]
Added ipc_stats_target.
Philip Homburg [Fri, 22 Feb 2008 11:00:06 +0000 (11:00 +0000)]
Changes to debug output, mostly rate limiting.
Philip Homburg [Fri, 22 Feb 2008 10:58:27 +0000 (10:58 +0000)]
Disabled code to set ipc_stats_target.
Philip Homburg [Fri, 22 Feb 2008 10:51:37 +0000 (10:51 +0000)]
Added do_mapdma.
Philip Homburg [Fri, 22 Feb 2008 10:43:18 +0000 (10:43 +0000)]
More verbose (optional) debug output for exceptions.
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.
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.
Philip Homburg [Thu, 21 Feb 2008 16:24:35 +0000 (16:24 +0000)]
ipc restrictions for some drivers and I/O MMU (amddev)
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).
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.
Philip Homburg [Thu, 21 Feb 2008 16:09:58 +0000 (16:09 +0000)]
Removed superfluous argument.
Philip Homburg [Thu, 21 Feb 2008 16:08:08 +0000 (16:08 +0000)]
Removed some debug output.