This is the sysupd2 update kit for minix ST, providing:
  - implementation of nice(1,2). See NICE.NOTES in the archive file for
    details.
  - implementation of profil(2) and monitor(3), along with a port of the
    bsd gprof program. See PROFIL.NOTES for details.
  - a change to mm which makes core dumps a bit faster. Instead of copying
    the process image to a buffer and write that to the file now data is
    written directly from the process image (the same trick is used for
    the exec system call).
  - another LINEWRAP implementation for ST stvdu.c. IMHO more transparent
    then the other solutions i know about.
  - Some cleanups in the ST kernel, mostly CHIP=m68000/MACHINE=ATARI
    confusions.

The code for the nice and profil implementation is most probably usable for
PC minix too. Only a few files in kernel, mm, include and lib are affected.
Nice does not require any additional work, but profil may need a change to
klib.x to save the pc of the interrupted process in the proc table entry
(such a change is necessary on ST since no registers are saved in the proc
table on asynchronous interrupts). Besides, the mcrtso.s library file is
missing for PCs. I made an attempt to implement something for PCs in the
profiling code in clock.c, but that is absolutely untested. Would someone
please test profiling on a PC and post the results here?

From the files in kernel/ the following are needed for nice/profil. All others
contain ST specific stuff and may be safely ignored on a PC (except if you wish
to keep 68K and Ix86 kernel versions as much aligned as possible 8-):
	clock.c.cdif	proc.c.cdif	proc.h.cdif	system.c.cdif
Furthermore the file lib/atari/mcrtso.s is ST specific.

To install the kit follow the instructions in the INSTALL file.


Please send suggestion and improvements to

--- Kai-Uwe Bloem, I5110401@DBSTU1.BITNET, Braunschweig, w-germany ---
---		or I5110401%DBSTU1.BITNET@<your internet gateway>  ---
