128a0508c0
timing measurement code out of kernel and into library (so other components can use it too)
Ben Gras2009-01-09 16:15:15 +00:00
54b3f50b05
actually build and install zoneinfo.
Ben Gras2008-12-21 04:33:50 +00:00
1943df25dd
forget about bad block testing.
Ben Gras2008-12-21 04:26:41 +00:00
523fdf2729
stopgap measure against elvis going nuts when files that are too large are opened.
Ben Gras2008-12-21 04:01:01 +00:00
0579810535
don't ignore the fact that scancodes are escaped. if not understood explicitly, print diagnostic and ignore scancode.
Ben Gras2008-12-21 03:53:25 +00:00
23a158b361
don't check senda() buffer if size is 0.
Ben Gras2008-12-21 03:46:42 +00:00
203eb54a4c
make space for first code and data pages if so configured.
Ben Gras2008-12-19 15:46:29 +00:00
d2757d4b73
debug buffer slightly usabler.
Ben Gras2008-12-19 15:19:42 +00:00
866a4a667e
phys addr arg of 0 must be possible for pt_writemap too (instead of meaning unmap).
Ben Gras2008-12-19 13:29:12 +00:00
b740ff055f
if serial output is enabled in the boot monitor, on the first serial line, enable serial debug output in the kernel too.
Ben Gras2008-12-19 13:21:42 +00:00
7fdc181d5f
/boot/boot install helper script.
Ben Gras2008-12-19 12:52:45 +00:00
8072ef5509
oops, shouldn't be on in svn.
Ben Gras2008-12-18 17:42:29 +00:00
3121eec6bd
. 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
Ben Gras2008-12-18 15:35:22 +00:00
f0000078c3
make kernel leave a page-sized gap in its code and data to not be mapped in if so configured.
Ben Gras2008-12-18 14:30:55 +00:00
834d9d34e8
Initialize deferred field. This seems to fix a hanging select() bug.
Ben Gras2008-12-17 14:20:08 +00:00
2528a06954
bugfix for lance. works in vmware now.
Ben Gras2008-12-17 01:20:15 +00:00
34d5401ed4
put put_vnode() back where it belongs!
Ben Gras2008-12-16 16:11:24 +00:00
46ecfa2b5c
syslib function for VMCTL_STACKTRACE
Ben Gras2008-12-16 14:42:32 +00:00
710f44c4b8
added code for debugging pagefaults
Ben Gras2008-12-16 14:33:53 +00:00
8beff61807
get fproc table. don't print size as that doesn't say much in VM mode. this restores ps.
Ben Gras2008-12-15 13:05:52 +00:00
e4e3995fb0
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 Gras2008-12-11 17:36:33 +00:00
ef812af5a6
use VM functions to allocate ramdisk on demand. some unification in code.
Ben Gras2008-12-11 17:33:13 +00:00
e9f0c576a3
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 Gras2008-12-11 14:43:25 +00:00
1d8aed840c
. 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 Gras2008-12-11 14:42:23 +00:00
3e29947e28
No more HZ; move stacktrace() to library
Ben Gras2008-12-11 14:36:37 +00:00
825dfb0282
introduce Hz variable that is what used to be the HZ constant. default 60Hz of course.
Ben Gras2008-12-11 14:33:33 +00:00
4c1ac39678
Changes so the HZ constant isn't needed any more.
Ben Gras2008-12-11 14:27:18 +00:00
37a9ce7275
I want to see /dev/imgrd so I can unmount it when it's free.
Ben Gras2008-12-11 14:26:50 +00:00
5aea2817bc
syslogd needs a bit more stack.
Ben Gras2008-12-11 14:26:27 +00:00
9d096e014b
. print kernel stacktrace unconditionally on panic . provide a panic() in the kernel for if a library function wants to panic
Ben Gras2008-12-11 14:23:58 +00:00
b61687fb1b
. 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 Gras2008-12-11 14:21:47 +00:00
034b5c6042
PM_PROC_NR shouldn't be hardcoded as the caller.
Ben Gras2008-12-11 14:18:51 +00:00
66b161238d
function to increase process stack (pointer). used by VM to set up large, sparse, non-preallocated heap and stack.
Ben Gras2008-12-11 14:17:45 +00:00
e911d44a5c
system image processes with full address space are allowed to have pagefaults.
Ben Gras2008-12-11 14:16:40 +00:00
c4fb567bd5
. 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 Gras2008-12-11 14:15:23 +00:00
afef5e0711
. some flags to <minix/const.h> . add system_hz for runtime HZ value
Ben Gras2008-12-11 14:12:52 +00:00
dd9e9c74cd
vm map request - ioctl to /dev/video
Ben Gras2008-12-11 14:11:59 +00:00
e75e231abc
VMCTL_INCSP to increase process stack pointer. (Used to change the virtual address of the stack before a process has started executing.)
Ben Gras2008-12-11 14:10:17 +00:00
682b9a872e
. ser_putc() goes to library . another cmd for getinfo - obtaining current HZ value
Ben Gras2008-12-11 14:09:38 +00:00
ef5b6f8cdf
. HZ no longer constant, but settable at boot time; default is DEFAULT_HZ (60) . some kernel flags to <minix/const.h>
Ben Gras2008-12-11 14:08:53 +00:00
a74132ec69
fix race condition that can trigger 'enqueue already ready process' panic.
Ben Gras2008-12-11 13:42:37 +00:00
68d0c4defe
- 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 Gras2008-12-08 16:43:20 +00:00
f4d0d635fd
- hz dynamic - new map /dev/video implementation - ser_putc into library
Ben Gras2008-12-08 16:40:29 +00:00
fe56202038
floppy must be able to allocate a bit more for nonpaged mode.
Ben Gras2008-11-19 17:31:42 +00:00
9b33056d2b
make allocmem accept and return values in bytes, ramdisk expects this.
Ben Gras2008-11-19 15:40:17 +00:00
f73b541952
Backport of fix from asynchvfs branch for PM-LOG-VFS-PM deadlock that resulted in VFS panics.
David van Moolenbroek2008-06-24 13:53:03 +00:00