ea75918df1
printf() by kernel and servers now send messages to an array of processes, OUTPUT_PROCS_ARRAY in <minix/config.h>, in that order, terminated by NONE. log no longer forwards messages to tty itself. This leads to less funny loops and more robust debug-message handling. Also the list of processes receiving messages can easily be changed around or disabled by editing the array (e.g. disable it by changing the array to { NONE }.).
Ben Gras2005-10-18 10:34:54 +00:00
0830c99b56
Leave out exit() that was in there to test RS.
Ben Gras2005-10-18 10:04:11 +00:00
ee5940e097
Print quant as signed number so a 'scheduling defecit' appears as such
Ben Gras2005-10-17 14:06:08 +00:00
b1ca4d2d42
Check for ZOMBIE flag with findproc
Ben Gras2005-10-17 13:20:07 +00:00
bf3f53be27
Removed check if slot in use for keymapping: otherwise IS may have problems to recover.
Jorrit Herder2005-10-17 13:19:48 +00:00
c79574aba4
A new panic that makes processes exit with PM knowing about it, instead of sys_exit, so that PM functions (e.g. findproc) keep working properly, and RS finds out about process deaths.
Ben Gras2005-10-17 13:19:22 +00:00
683322d997
Version number for sosp release
Ben Gras2005-10-17 09:04:36 +00:00
61b6139752
Al's system -> kernel call change
Ben Gras2005-10-14 09:13:52 +00:00
32514fb5f9
Al's system call -> kernel call renaming
Ben Gras2005-10-14 08:58:59 +00:00
abd0b53e0a
PM: added possibility to copy hole list from alloc.c to outside, for misc.c to copy it away by getsysinfo IS: prints out hole list + stats such as largest contiguous chunk
Ben Gras2005-10-13 12:48:43 +00:00
f04d46f456
Fixup for gcc headers (if installed)
Ben Gras2005-10-13 12:46:23 +00:00
54709f5a3a
Added SI_* memory hole list type, to request a copy of it via getsysinfo from PM.
Ben Gras2005-10-13 12:45:31 +00:00
c06149cffe
Moved 'struct hole' for memory holes from PM to <minix/type.h>; also number of holes to sys_config.h, to make memory allocation data structure visible from outside..
Ben Gras2005-10-13 12:45:09 +00:00
ee9b08e5c0
Comment fix about sys_abort()
Ben Gras2005-10-13 09:43:39 +00:00
7226f4685f
Get out silly debug message
Ben Gras2005-10-13 08:49:42 +00:00
7842d4fb26
Minor changes for new library functions at PM.
Jorrit Herder2005-10-12 15:08:45 +00:00
b16a88692a
New deadlock check at proc.c. New exit checks (stop IPC).
Jorrit Herder2005-10-12 15:08:23 +00:00
5a9dec8bd2
New signal handling behaviour at PM (services can be killed). New Shift-F6 dump for RS server at IS. New getnpid, getnproc, getpproc library calls at PM. New reincarnation server (basic functionality is there now).
Jorrit Herder2005-10-12 15:07:38 +00:00
fc58687905
rw_block is private to cache.c
Ben Gras2005-10-12 15:06:47 +00:00
ee1f2bcb39
Minor fixes for RS. Install signal handlers.
Jorrit Herder2005-10-12 15:06:00 +00:00
2eca6f9374
If processes are blocked on device drivers (returning SUSPEND), unblock the processes when the device drivers die.
Ben Gras2005-10-12 15:01:23 +00:00
87dbfc7dda
Added DEV_PING message type to drivers (but not ethernet drivers) so RS can monitor them.
Ben Gras2005-10-12 14:31:39 +00:00
866b3fda9c
DEV_PING message type for device driver keepalives
Ben Gras2005-10-12 14:29:38 +00:00
b46a51cfd6
Semidefinitive copyright statement.
Ben Gras2005-10-06 09:38:55 +00:00
86ed54ee94
FS: . unmap device drivers from dmap when PM signals they are dead . new null-io function (no_dev_io) to fill in for io functions of unmapped drivers . driver (process number) of unmapped drivers is NONE instead of 0 (a valid process number)
Ben Gras2005-10-05 15:38:15 +00:00
a369d9c828
1 sync in shutdown procedure.
Ben Gras2005-10-05 15:07:08 +00:00
cdc790c4da
Fixed problem in subtest 1; Part of test is now in #if DEAD_CODE ... #endif, because test setup seems bogus.
Jorrit Herder2005-10-05 11:28:12 +00:00
32c05f45c6
Minor bug fixes in proc.c and utility.c; Removed debug dumps on panic from main.c; Return error on exit when other process does IPC to/from exiting process.
Jorrit Herder2005-10-05 09:51:50 +00:00