3ca00a926c
don't produce kernel output if serial debug is on.
Ben Gras
2009-01-11 23:47:03 +00:00
d5f978411e
use #include name for servarname
Ben Gras
2009-01-11 23:45:29 +00:00
037f39767c
debug msg
Ben Gras
2009-01-09 21:47:04 +00:00
cd54beeb30
cprofile not conditional
Ben Gras
2009-01-09 21:45:27 +00:00
c27008fbcc
cprofile not conditional
Ben Gras
2009-01-09 21:44:52 +00:00
e190ff9f84
cprofile always on
Ben Gras
2009-01-09 21:42:36 +00:00
b82588848d
cprofile always on; data type and definitions to include file
Ben Gras
2009-01-09 21:40:29 +00:00
628ed99101
CPROFILE wants this
Ben Gras
2009-01-09 21:11:23 +00:00
22d9444773
don't always time that
Ben Gras
2009-01-09 20:58:35 +00:00
7d48584659
profbuf syscall
Ben Gras
2009-01-09 17:47:38 +00:00
ad87da99d3
bigger ramdisk for bigger binaries
Ben Gras
2009-01-09 17:47:18 +00:00
7606dc5f1f
profiling reminder
Ben Gras
2009-01-09 16:44:47 +00:00
ad03a650e6
timing library from kernel into library
Ben Gras
2009-01-09 16:39:31 +00:00
7740d0379c
no longer in kernel
Ben Gras
2009-01-09 16:35:25 +00:00
128a0508c0
timing measurement code out of kernel and into library (so other components can use it too)
Ben Gras
2009-01-09 16:15:15 +00:00
54b3f50b05
actually build and install zoneinfo.
Ben Gras
2008-12-21 04:33:50 +00:00
1943df25dd
forget about bad block testing.
Ben Gras
2008-12-21 04:26:41 +00:00
523fdf2729
stopgap measure against elvis going nuts when files that are too large are opened.
Ben Gras
2008-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 Gras
2008-12-21 03:53:25 +00:00
23a158b361
don't check senda() buffer if size is 0.
Ben Gras
2008-12-21 03:46:42 +00:00
203eb54a4c
make space for first code and data pages if so configured.
Ben Gras
2008-12-19 15:46:29 +00:00
d2757d4b73
debug buffer slightly usabler.
Ben Gras
2008-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 Gras
2008-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 Gras
2008-12-19 13:21:42 +00:00
7fdc181d5f
/boot/boot install helper script.
Ben Gras
2008-12-19 12:52:45 +00:00
8072ef5509
oops, shouldn't be on in svn.
Ben Gras
2008-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 Gras
2008-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 Gras
2008-12-18 14:30:55 +00:00
834d9d34e8
Initialize deferred field. This seems to fix a hanging select() bug.
Ben Gras
2008-12-17 14:20:08 +00:00
2528a06954
bugfix for lance. works in vmware now.
Ben Gras
2008-12-17 01:20:15 +00:00
34d5401ed4
put put_vnode() back where it belongs!
Ben Gras
2008-12-16 16:11:24 +00:00
46ecfa2b5c
syslib function for VMCTL_STACKTRACE
Ben Gras
2008-12-16 14:42:32 +00:00
710f44c4b8
added code for debugging pagefaults
Ben Gras
2008-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 Gras
2008-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 Gras
2008-12-11 17:36:33 +00:00
ef812af5a6
use VM functions to allocate ramdisk on demand. some unification in code.
Ben Gras
2008-12-11 17:33:13 +00:00
73e3431dfd
DEV_BOOT is obsolete.
Ben Gras
2008-12-11 16:50:11 +00:00
0cd26cd1c0
DEV_BOOT is obsolete.
Ben Gras
2008-12-11 16:50:01 +00:00
6009642110
for compatability with older images.
Ben Gras
2008-12-11 15:50:33 +00:00
5db1a042c2
stacktrace feature.
Ben Gras
2008-12-11 15:33:43 +00:00
6300c26921
prototype fix
Ben Gras
2008-12-11 15:02:44 +00:00
fe3e0181d4
straggler.
Ben Gras
2008-12-11 14:55:06 +00:00
70f1f28439
dynamic HZ, library stacktrace
Ben Gras
2008-12-11 14:54:42 +00:00
b6b361a474
rc script needs to open its own stdin, stdout and stderr
Ben Gras
2008-12-11 14:50:56 +00:00
011de3ac49
everyone needs GETINFO for HZ
Ben Gras
2008-12-11 14:50:28 +00:00
2024bf0bcf
. no more HZ . let user processes query HZ . no more custom panic()
Ben Gras
2008-12-11 14:49:17 +00:00
ccf70aa989
system_hz replaces HZ
Ben Gras
2008-12-11 14:48:05 +00:00
7d674f4b8e
no more HZ; less debugging statements
Ben Gras
2008-12-11 14:47:48 +00:00
b9a0d46ea9
debug out
Ben Gras
2008-12-11 14:46:46 +00:00
3287b7f7d8
don't hang old binaries
Ben Gras
2008-12-11 14:45:49 +00:00
5e1bb6eb63
added some code to debug why filesystems won't unmount
Ben Gras
2008-12-11 14:45:31 +00:00
e96f86ed8c
throw out debugging code.
Ben Gras
2008-12-11 14:44:10 +00:00
eeba8ef01f
No more HZ.
Ben Gras
2008-12-11 14:43:53 +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 Gras
2008-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 Gras
2008-12-11 14:42:23 +00:00
6cfe4bdd2d
slight args change
Ben Gras
2008-12-11 14:37:42 +00:00
991000dd70
dynamic HZ
Ben Gras
2008-12-11 14:37:18 +00:00
eae27c899a
move senda to sep. file
Ben Gras
2008-12-11 14:37:02 +00:00
3e29947e28
No more HZ; move stacktrace() to library
Ben Gras
2008-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 Gras
2008-12-11 14:33:33 +00:00
4c1ac39678
Changes so the HZ constant isn't needed any more.
Ben Gras
2008-12-11 14:27:18 +00:00
37a9ce7275
I want to see /dev/imgrd so I can unmount it when it's free.
Ben Gras
2008-12-11 14:26:50 +00:00
5aea2817bc
syslogd needs a bit more stack.
Ben Gras
2008-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 Gras
2008-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 Gras
2008-12-11 14:21:47 +00:00
034b5c6042
PM_PROC_NR shouldn't be hardcoded as the caller.
Ben Gras
2008-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 Gras
2008-12-11 14:17:45 +00:00
e911d44a5c
system image processes with full address space are allowed to have pagefaults.
Ben Gras
2008-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 Gras
2008-12-11 14:15:23 +00:00
afef5e0711
. some flags to <minix/const.h> . add system_hz for runtime HZ value
Ben Gras
2008-12-11 14:12:52 +00:00
dd9e9c74cd
vm map request - ioctl to /dev/video
Ben Gras
2008-12-11 14:11:59 +00:00
3f30c3a0ee
add va_copy()
Ben Gras
2008-12-11 14:10:56 +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 Gras
2008-12-11 14:10:17 +00:00
682b9a872e
. ser_putc() goes to library . another cmd for getinfo - obtaining current HZ value
Ben Gras
2008-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 Gras
2008-12-11 14:08:53 +00:00
a74132ec69
fix race condition that can trigger 'enqueue already ready process' panic.
Ben Gras
2008-12-11 13:42:37 +00:00
567f2f0ba0
umap fix
Ben Gras
2008-12-08 17:06:38 +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 Gras
2008-12-08 16:43:20 +00:00
f4d0d635fd
- hz dynamic - new map /dev/video implementation - ser_putc into library
Ben Gras
2008-12-08 16:40:29 +00:00
fe56202038
floppy must be able to allocate a bit more for nonpaged mode.
Ben Gras
2008-11-19 17:31:42 +00:00
9b33056d2b
make allocmem accept and return values in bytes, ramdisk expects this.
Ben Gras
2008-11-19 15:40:17 +00:00
51fdce1d36
minor fixes
Ben Gras
2008-11-19 14:10:33 +00:00
6c92081a5a
paged mode is default.
Ben Gras
2008-11-19 13:19:37 +00:00
16e14559e6
include libraries.
Ben Gras
2008-11-19 13:15:35 +00:00
7b3d952a77
lingering file
Ben Gras
2008-11-19 12:38:31 +00:00
b686e8b6d7
lingering file.
Ben Gras
2008-11-19 12:35:46 +00:00
c078ec0331
Basic VM and other minor improvements. Not complete, probably not fully debugged or optimized.
Ben Gras
2008-11-19 12:26:10 +00:00
c888305e21
Reverted accidental change to stat.c.
Philip Homburg
2008-10-02 14:11:12 +00:00
005bc7a649
Some changes that were missing from the previous commit
Philip Homburg
2008-10-02 13:48:05 +00:00
5b5b54c76c
Minix 3 version
Philip Homburg
2008-10-02 13:45:46 +00:00
659ab96c1f
Unmodified source of the software fault injection utility
Philip Homburg
2008-10-02 13:43:32 +00:00
58f428a704
throw out two time consuming tests
Ben Gras
2008-10-01 15:09:33 +00:00
e8b863702a
Added lance entry to drivers.conf.
David van Moolenbroek
2008-07-22 15:11:01 +00:00
f73b541952
Backport of fix from asynchvfs branch for PM-LOG-VFS-PM deadlock that resulted in VFS panics.
David van Moolenbroek
2008-06-24 13:53:03 +00:00
39aa2e6489
A glob() implementation.
Ben Gras
2008-04-08 13:14:33 +00:00
d939a9c54b
Use $PAGER if set. Suggested by gigabo at gmail.com.
Ben Gras
2008-04-08 12:34:35 +00:00
4696d74480
Select support for eth by Erik van der Kouwe.
Philip Homburg
2008-03-12 14:10:21 +00:00