Ben Gras
3ca00a926c
don't produce kernel output if serial debug is on.
2009-01-11 23:47:03 +00:00
Ben Gras
d5f978411e
use #include name for servarname
2009-01-11 23:45:29 +00:00
Ben Gras
cd54beeb30
cprofile not conditional
2009-01-09 21:45:27 +00:00
Ben Gras
c27008fbcc
cprofile not conditional
2009-01-09 21:44:52 +00:00
Ben Gras
22d9444773
don't always time that
2009-01-09 20:58:35 +00:00
Ben Gras
7740d0379c
no longer in kernel
2009-01-09 16:35:25 +00:00
Ben Gras
128a0508c0
timing measurement code out of kernel and into library
...
(so other components can use it too)
2009-01-09 16:15:15 +00:00
Ben Gras
23a158b361
don't check senda() buffer if size is 0.
2008-12-21 03:46:42 +00:00
Ben Gras
203eb54a4c
make space for first code and data pages if so configured.
2008-12-19 15:46:29 +00:00
Ben Gras
b740ff055f
if serial output is enabled in the boot monitor, on the first serial line,
...
enable serial debug output in the kernel too.
2008-12-19 13:21:42 +00:00
Ben Gras
f0000078c3
make kernel leave a page-sized gap in its code and data to not be
...
mapped in if so configured.
2008-12-18 14:30:55 +00:00
Ben Gras
5db1a042c2
stacktrace feature.
2008-12-11 15:33:43 +00:00
Ben Gras
9d096e014b
. print kernel stacktrace unconditionally on panic
...
. provide a panic() in the kernel for if a library function wants to panic
2008-12-11 14:23:58 +00:00
Ben Gras
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.
2008-12-11 14:21:47 +00:00
Ben Gras
034b5c6042
PM_PROC_NR shouldn't be hardcoded as the caller.
2008-12-11 14:18:51 +00:00
Ben Gras
66b161238d
function to increase process stack (pointer). used by VM to set up large,
...
sparse, non-preallocated heap and stack.
2008-12-11 14:17:45 +00:00
Ben Gras
e911d44a5c
system image processes with full address space are allowed to have pagefaults.
2008-12-11 14:16:40 +00:00
Ben Gras
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)
2008-12-11 14:15:23 +00:00
Ben Gras
afef5e0711
. some flags to <minix/const.h>
...
. add system_hz for runtime HZ value
2008-12-11 14:12:52 +00:00
Ben Gras
a74132ec69
fix race condition that can trigger 'enqueue already ready process' panic.
2008-12-11 13:42:37 +00:00
Ben Gras
51fdce1d36
minor fixes
2008-11-19 14:10:33 +00:00
Ben Gras
c078ec0331
Basic VM and other minor improvements.
...
Not complete, probably not fully debugged or optimized.
2008-11-19 12:26:10 +00:00
Philip Homburg
a508e0a03c
_function, function -> call_nr
2008-02-25 14:35:11 +00:00
Philip Homburg
73ea967b6c
Keep track of error statistics, rate limit debug output, added SYS_MAPDMA.
2008-02-22 12:38:22 +00:00
Philip Homburg
992edfd558
Keep track of various statistics related to IPC and SYSTEM.
2008-02-22 12:36:46 +00:00
Philip Homburg
5996d1de58
Added do_mapdma.
2008-02-22 12:25:59 +00:00
Philip Homburg
f6872f8323
Added ipc_stats_target.
2008-02-22 12:25:44 +00:00
Philip Homburg
4a86b1fea5
Changes to debug output, mostly rate limiting.
2008-02-22 11:00:06 +00:00
Philip Homburg
3c2e122d6d
Disabled code to set ipc_stats_target.
2008-02-22 10:58:27 +00:00
Philip Homburg
2679321ba0
Added do_mapdma.
2008-02-22 10:51:37 +00:00
Philip Homburg
594035f13c
More verbose (optional) debug output for exceptions.
2008-02-22 10:43:18 +00:00
Philip Homburg
f5389ecf19
Code to dump IPC statistics over a serial line. (Disabled) code to disable the
...
FPU.
2008-02-22 10:40:38 +00:00
Philip Homburg
6ef2e9b866
Added global variable boottime, prototype for do_stime, and table entry for
...
SYS_STIME.
2007-08-07 12:21:40 +00:00
Philip Homburg
fab77fd01f
Added do_stime.c, return boot time in do_times.c
2007-08-07 12:20:31 +00:00
Philip Homburg
4f787035ea
Removed check for grants that wrap.
2007-08-07 12:19:45 +00:00
Ben Gras
b00f287449
Restore user-owned bits from PSW after a signal handler, instead of
...
copying complete PSW after signal handler.
This fixes a psw corruption bug reported by Jens de Smit <jst260@few.vu.nl>.
2007-05-08 15:43:00 +00:00
Philip Homburg
cab8f526de
Fixed some lose ends in the serial line debug dump code.
2007-04-23 15:59:16 +00:00
Philip Homburg
13da935060
Debug dumps over the serial line. Direct output to video memory.
2007-04-23 14:25:17 +00:00
Philip Homburg
c59b23859e
Clean and support for asynchronous sends.
2007-04-23 14:24:30 +00:00
Philip Homburg
47233bdf30
Fixed bad boundary condition, support for asynchronous I/O.
2007-04-23 14:23:37 +00:00
Philip Homburg
c7a7c0cb17
Removed some white space.
2007-04-23 13:58:37 +00:00
Philip Homburg
94bc849574
Poll serial line for debug output requests when do_serial_debug is true.
2007-04-23 13:56:27 +00:00
Philip Homburg
8937b6a8de
Initialize s_ipc_sendrec.
2007-04-23 13:46:54 +00:00
Philip Homburg
da4bb9144d
Removed ECHO.
2007-04-23 13:46:26 +00:00
Philip Homburg
f41429d815
Cleanup.
2007-04-23 13:44:56 +00:00
Philip Homburg
cb3e271b24
Fields for asynchronous sends (s_asyntab and s_asynsize) and for allowed
...
sendrecs (s_ipc_sendrec).
2007-04-23 13:37:30 +00:00
Philip Homburg
6554f3d3dc
Added MF_ASYNMSG.
2007-04-23 13:36:38 +00:00
Philip Homburg
8eb27a714e
More debug output. Dump kernel process on serial line. Directly put
...
text in video memory.
2007-04-23 13:36:11 +00:00
Philip Homburg
c082f607df
Disallow unaligned access to I/O ports.
2007-04-23 13:31:45 +00:00
Philip Homburg
d2cec7db49
Disallow unaligned access to I/O ports.
2007-04-23 13:31:16 +00:00