Ben Gras [Mon, 8 Aug 2005 14:34:10 +0000 (14:34 +0000)]
various small fixes.
. motd update (ast)
. made /usr/local/man/man* and made them bin-owned (mtree)
(to let bin install there)
. made copyright notice in kernel 1987-2006 (ast)
. added chown -R bin /usr/src so that bin can compile everything
Ben Gras [Mon, 8 Aug 2005 14:30:50 +0000 (14:30 +0000)]
. swapped test26 and test40
. renamed sh*.sh to testsh*.sh
. invoked shell tests from run script like the other test commands
(that was the point of renaming)
Ben Gras [Mon, 8 Aug 2005 12:18:45 +0000 (12:18 +0000)]
. Allow drivers to to physcopy() (table.c)
. Also allow receive() to be done from kernel processes, not just
sendrec(). This is because receive()s can't harm the kernel processes,
but are done from the CLOCK task (without sendrec()).
Jorrit Herder [Fri, 5 Aug 2005 09:43:22 +0000 (09:43 +0000)]
Changed minor number of /dev/zero from 6 to 5.
(Make sure to update your system accordingly or /dev/zero won't work.)
Cleaned up comments in MEMORY driver.
Jorrit Herder [Thu, 4 Aug 2005 19:23:03 +0000 (19:23 +0000)]
Check if kernel calls is allowed (from process' call mask) added. Not yet
enforced. If a call is denied, this will be kprinted. Please report any such
errors, so that I can adjust the mask before returning errors instead of
warnings.
Wrote CMOS driver. All CMOS code from FS has been removed. Currently the
driver only supports get time calls. Set time is left out as an exercise
for the book readers ... startup scripts were updated because the CMOS driver
is needed early on. (IS got same treatment.) Don't forget to run MAKEDEV cmos
in /dev/, otherwise the driver cannot be loaded.
Jorrit Herder [Thu, 4 Aug 2005 09:26:36 +0000 (09:26 +0000)]
Miscellaneous clean ups and fixes to the kernel.
Support for FLOPPY in boot image. (Set controller=fd at boot monitor.)
Moved major device numbers to <minix/dmap.h> (maybe rename to dev.h?)
Jorrit Herder [Wed, 3 Aug 2005 16:06:35 +0000 (16:06 +0000)]
Single boot driver loaded, while multiple can be included in the boot image.
The user needs to set label=... to choose the driver of his or her choice.
This driver will be mapped onto the controller that is set in controller=...
Minor cleanup of kernel source code (boot image table now is static).
Jorrit Herder [Wed, 3 Aug 2005 08:14:08 +0000 (08:14 +0000)]
Fixed 'bug' in log driver that caused kernel messages not to be displayed.
This was caused by a change in the shared driver code. Not log's fault.
Renamed #definitions of driver process numbers, e.g., TTY now is TTY_PROC_NR.
All known (special) processes now have consistent naming scheme. Kernel tasks
don't follow this scheme.
Jorrit Herder [Tue, 2 Aug 2005 15:30:36 +0000 (15:30 +0000)]
Various updates to support dynamically starting drivers.
Output during initialization should be suppressed. Unless an error occurs.
Note that main() can now be main(int argc, char **argv) and arguments can
be passed when bringing up the driver.
Jorrit Herder [Tue, 2 Aug 2005 15:29:17 +0000 (15:29 +0000)]
Created new devctl system call to FS. Moved dmap.h header to include/minix/.
Various updates to support dynamically starting servers and suppress output.
- Kernel call handlers cleaned up. More strict checking of input parameters.
- Moved generic_handler() from system.c to system/do_irqctl.c.
- Set privileges of system processes somewhat stricter.