]>
Zhao Yanbai Git Server - minix.git/log
Ben Gras [Tue, 20 Jan 2009 15:47:00 +0000 (15:47 +0000)]
minor cleanup, extra check
Ben Gras [Tue, 20 Jan 2009 13:57:24 +0000 (13:57 +0000)]
reduce kernel buffer size.
Ben Gras [Tue, 20 Jan 2009 13:43:18 +0000 (13:43 +0000)]
sanity check function
Ben Gras [Tue, 20 Jan 2009 13:43:00 +0000 (13:43 +0000)]
mostly harmless sanity checks.
Ben Gras [Thu, 15 Jan 2009 14:42:40 +0000 (14:42 +0000)]
simplification suggested by Mark Farnsworth
Ben Gras [Wed, 14 Jan 2009 08:56:20 +0000 (08:56 +0000)]
make bootinfo valid immediately
Ben Gras [Wed, 14 Jan 2009 08:55:48 +0000 (08:55 +0000)]
RS needs a bit more memory
Ben Gras [Wed, 14 Jan 2009 08:54:17 +0000 (08:54 +0000)]
don't print if we're already printing to serial.
Ben Gras [Wed, 14 Jan 2009 08:52:50 +0000 (08:52 +0000)]
debug twiddle.
Ben Gras [Wed, 14 Jan 2009 08:38:37 +0000 (08:38 +0000)]
sometime this will be a new release.
Ben Gras [Mon, 12 Jan 2009 22:14:43 +0000 (22:14 +0000)]
compile fix for new lock timings
Ben Gras [Sun, 11 Jan 2009 23:47:03 +0000 (23:47 +0000)]
don't produce kernel output if serial debug is on.
Ben Gras [Sun, 11 Jan 2009 23:45:29 +0000 (23:45 +0000)]
use #include name for servarname
Ben Gras [Fri, 9 Jan 2009 21:47:04 +0000 (21:47 +0000)]
debug msg
Ben Gras [Fri, 9 Jan 2009 21:45:27 +0000 (21:45 +0000)]
cprofile not conditional
Ben Gras [Fri, 9 Jan 2009 21:44:52 +0000 (21:44 +0000)]
cprofile not conditional
Ben Gras [Fri, 9 Jan 2009 21:42:36 +0000 (21:42 +0000)]
cprofile always on
Ben Gras [Fri, 9 Jan 2009 21:40:29 +0000 (21:40 +0000)]
cprofile always on; data type and definitions to include file
Ben Gras [Fri, 9 Jan 2009 21:11:23 +0000 (21:11 +0000)]
CPROFILE wants this
Ben Gras [Fri, 9 Jan 2009 20:58:35 +0000 (20:58 +0000)]
don't always time that
Ben Gras [Fri, 9 Jan 2009 17:47:38 +0000 (17:47 +0000)]
profbuf syscall
Ben Gras [Fri, 9 Jan 2009 17:47:18 +0000 (17:47 +0000)]
bigger ramdisk for bigger binaries
Ben Gras [Fri, 9 Jan 2009 16:44:47 +0000 (16:44 +0000)]
profiling reminder
Ben Gras [Fri, 9 Jan 2009 16:39:31 +0000 (16:39 +0000)]
timing library from kernel into library
Ben Gras [Fri, 9 Jan 2009 16:35:25 +0000 (16:35 +0000)]
no longer in kernel
Ben Gras [Fri, 9 Jan 2009 16:15:15 +0000 (16:15 +0000)]
timing measurement code out of kernel and into library
(so other components can use it too)
Ben Gras [Sun, 21 Dec 2008 04:33:50 +0000 (04:33 +0000)]
actually build and install zoneinfo.
Ben Gras [Sun, 21 Dec 2008 04:26:41 +0000 (04:26 +0000)]
forget about bad block testing.
Ben Gras [Sun, 21 Dec 2008 04:01:01 +0000 (04:01 +0000)]
stopgap measure against elvis going nuts when files that are too large
are opened.
Ben Gras [Sun, 21 Dec 2008 03:53:25 +0000 (03:53 +0000)]
don't ignore the fact that scancodes are escaped.
if not understood explicitly, print diagnostic and
ignore scancode.
Ben Gras [Sun, 21 Dec 2008 03:46:42 +0000 (03:46 +0000)]
don't check senda() buffer if size is 0.
Ben Gras [Fri, 19 Dec 2008 15:46:29 +0000 (15:46 +0000)]
make space for first code and data pages if so configured.
Ben Gras [Fri, 19 Dec 2008 15:19:42 +0000 (15:19 +0000)]
debug buffer slightly usabler.
Ben Gras [Fri, 19 Dec 2008 13:29:12 +0000 (13:29 +0000)]
phys addr arg of 0 must be possible for pt_writemap too (instead of meaning
unmap).
Ben Gras [Fri, 19 Dec 2008 13:21:42 +0000 (13:21 +0000)]
if serial output is enabled in the boot monitor, on the first serial line,
enable serial debug output in the kernel too.
Ben Gras [Fri, 19 Dec 2008 12:52:45 +0000 (12:52 +0000)]
/boot/boot install helper script.
Ben Gras [Thu, 18 Dec 2008 17:42:29 +0000 (17:42 +0000)]
oops, shouldn't be on in svn.
Ben Gras [Thu, 18 Dec 2008 15:35:22 +0000 (15:35 +0000)]
. map text (kernel's and processes') in readonly
. map kernel in non-user
. don't map in first pages of kernel code and data
if possible
these first pages could actually be freed but as the
kernel isn't allowed to touch them either we can't reuse
them until VM has totally taken over page table management
and kernel doesn't rely on identity mapping any more.
Ben Gras [Thu, 18 Dec 2008 14:30:55 +0000 (14:30 +0000)]
make kernel leave a page-sized gap in its code and data to not be
mapped in if so configured.
Ben Gras [Wed, 17 Dec 2008 14:20:08 +0000 (14:20 +0000)]
Initialize deferred field. This seems to fix a hanging select() bug.
Ben Gras [Wed, 17 Dec 2008 01:20:15 +0000 (01:20 +0000)]
bugfix for lance. works in vmware now.
Ben Gras [Tue, 16 Dec 2008 16:11:24 +0000 (16:11 +0000)]
put put_vnode() back where it belongs!
Ben Gras [Tue, 16 Dec 2008 14:42:32 +0000 (14:42 +0000)]
syslib function for VMCTL_STACKTRACE
Ben Gras [Tue, 16 Dec 2008 14:33:53 +0000 (14:33 +0000)]
added code for debugging pagefaults
Ben Gras [Tue, 16 Dec 2008 14:32:56 +0000 (14:32 +0000)]
Ben Gras [Mon, 15 Dec 2008 15:16:26 +0000 (15:16 +0000)]
Ben Gras [Mon, 15 Dec 2008 13:05:52 +0000 (13:05 +0000)]
get fproc table. don't print size as that doesn't say much in VM mode.
this restores ps.
Ben Gras [Thu, 11 Dec 2008 17:36:33 +0000 (17:36 +0000)]
don't force vm to print to serial; don't kill processes when they
have 'bad' memory ranges (as it's the requestor's fault)
Ben Gras [Thu, 11 Dec 2008 17:33:13 +0000 (17:33 +0000)]
use VM functions to allocate ramdisk on demand. some unification in code.
Ben Gras [Thu, 11 Dec 2008 16:50:11 +0000 (16:50 +0000)]
DEV_BOOT is obsolete.
Ben Gras [Thu, 11 Dec 2008 16:50:01 +0000 (16:50 +0000)]
DEV_BOOT is obsolete.
Ben Gras [Thu, 11 Dec 2008 15:50:33 +0000 (15:50 +0000)]
for compatability with older images.
Ben Gras [Thu, 11 Dec 2008 15:33:43 +0000 (15:33 +0000)]
stacktrace feature.
Ben Gras [Thu, 11 Dec 2008 15:02:44 +0000 (15:02 +0000)]
prototype fix
Ben Gras [Thu, 11 Dec 2008 14:55:06 +0000 (14:55 +0000)]
straggler.
Ben Gras [Thu, 11 Dec 2008 14:54:42 +0000 (14:54 +0000)]
dynamic HZ, library stacktrace
Ben Gras [Thu, 11 Dec 2008 14:50:56 +0000 (14:50 +0000)]
rc script needs to open its own stdin, stdout and stderr
Ben Gras [Thu, 11 Dec 2008 14:50:28 +0000 (14:50 +0000)]
everyone needs GETINFO for HZ
Ben Gras [Thu, 11 Dec 2008 14:49:17 +0000 (14:49 +0000)]
. no more HZ
. let user processes query HZ
. no more custom panic()
Ben Gras [Thu, 11 Dec 2008 14:48:05 +0000 (14:48 +0000)]
system_hz replaces HZ
Ben Gras [Thu, 11 Dec 2008 14:47:48 +0000 (14:47 +0000)]
no more HZ; less debugging statements
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.