Commit graph

756 commits

Author SHA1 Message Date
Philip Homburg
cfd27c36cb Temp hacks for QEMU. Call to env_setargs in dpeth. 2005-08-05 18:37:15 +00:00
Jorrit Herder
1c570a7d93 Second try to fix tick delay problem ... 2005-08-05 17:02:37 +00:00
Ben Gras
5d2588aedf Al's patch sent Fri aug 5 2005-08-05 16:56:02 +00:00
Ben Gras
a852be1357 *** empty log message *** 2005-08-05 16:49:38 +00:00
Ben Gras
73847b7d50 *** empty log message *** 2005-08-05 16:48:44 +00:00
Jorrit Herder
e396496d8c Fixed small bug in alarm code.
Kernel timer count was not reset after expiry.
2005-08-05 16:46:27 +00:00
Jorrit Herder
7de7ca978d Security check on physical address to be < 16 MB (ISA DMA uses 24-bit
addressing, which can address 16 MB max).
Floppy driver now dynamically loaded.
2005-08-05 16:23:42 +00:00
Philip Homburg
655d1e074f get_mon_params -> env_get_params. 2005-08-05 16:21:32 +00:00
Jorrit Herder
279cb92ec3 Minor autopart user-interface changes. 2005-08-05 16:18:04 +00:00
Ben Gras
5cd584b1bb reduced cdprobe debug; stadir unbreakfix 2005-08-05 16:08:49 +00:00
Philip Homburg
473317e571 Added dp8390 to /usr/etc/rc. Renamed get_mon_prm.c to env_get_prm.c.
Add env_setargs call for access to argc/argv.
2005-08-05 14:20:05 +00:00
Ben Gras
df831bf4a0 *** empty log message *** 2005-08-05 13:51:50 +00:00
Ben Gras
0e79467371 .. 2005-08-05 13:51:14 +00:00
Ben Gras
0e3bef8597 pty select() support 2005-08-05 13:50:58 +00:00
Ben Gras
2713ed6cde at driver timeout/error message fixes 2005-08-05 13:50:50 +00:00
Ben Gras
2888e14ed8 pty select test 2005-08-05 13:47:12 +00:00
Ben Gras
5340cf571d Added essential message to motd. 2005-08-05 12:57:52 +00:00
Ben Gras
ffa9e1a70c 'send locked' removed 2005-08-05 12:55:35 +00:00
Ben Gras
53eba5e044 'send locked' debug statement #if 0ed 2005-08-05 12:55:18 +00:00
Ben Gras
0d7769920c Boot monitor default changes to new boot controller usage 2005-08-05 12:54:48 +00:00
Ben Gras
6ad5067f49 minor fix 2005-08-05 12:52:34 +00:00
Ben Gras
823a8b9160 Minor fixes 2005-08-05 12:52:26 +00:00
Ben Gras
abb7157175 Merged do_gettimeofday with do_time to save one function call;
adjusted table.c accordingly
2005-08-05 12:44:06 +00:00
Ben Gras
ac68f131a5 chgrp syntax fixed 2005-08-05 12:16:25 +00:00
Ben Gras
157a22bbc3 mdb compile fix 2005-08-05 11:56:47 +00:00
Ben Gras
a23604dc81 More autopart fixes (set new partition active if none other set active) 2005-08-05 11:48:55 +00:00
Ben Gras
fa21660f75 Fixed boot compile breakage 2005-08-05 11:45:43 +00:00
Ben Gras
ad24bb4072 Make include files and dirs bin-owned, to make sure bin can install them 2005-08-05 11:40:46 +00:00
Jorrit Herder
7e74927cdc Cleanup of PM. 2005-08-05 10:45:54 +00:00
Ben Gras
e21c135fe5 added /sbin in mtree
/usr/etc/rc now reads variables from /usr/etc/rc.local it can feed to
drivers as args
2005-08-05 10:37:02 +00:00
Philip Homburg
db5a8bb2b8 Added dp8390 driver. Additional env_parse functions that take argc and argv. 2005-08-05 09:53:08 +00:00
Jorrit Herder
c9ab8cce43 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.
2005-08-05 09:43:22 +00:00
Jorrit Herder
b96c389e78 Various small cleanups and comments added. 2005-08-05 09:41:15 +00:00
Ben Gras
8476ceac22 readclock.c shouldn't be here 2005-08-05 08:37:28 +00:00
Jorrit Herder
df40b77018 *** empty log message *** 2005-08-05 07:57:13 +00:00
Jorrit Herder
8d66f755c3 Fixed type.
Added patch from Al Woodhull.
2005-08-04 22:01:50 +00:00
Jorrit Herder
74711a3b14 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.
2005-08-04 19:23:03 +00:00
Jorrit Herder
b98eb4e144 Added /dev/cmos.
Made separate case for /dev/random and /dev/urandom
2005-08-04 18:03:51 +00:00
Jorrit Herder
8cb902dce3 Fix. Names were not showing. 2005-08-04 17:00:18 +00:00
Jorrit Herder
40e9875fd6 Startup script now checks if network driver is mentioned in inet.conf.
Also allowed disabling daemons (like services) with disable= parameter.
2005-08-04 16:45:29 +00:00
Ben Gras
f784f76891 Let halt shutdown system without fsck by checking for halt in wtmp
as well as shutdown
2005-08-04 13:41:31 +00:00
Ben Gras
20b4f17334 Added RO_BIT needed for new at_wini / fs flag 2005-08-04 09:33:38 +00:00
Jorrit Herder
e561081545 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?)
2005-08-04 09:26:36 +00:00
Ben Gras
5e3b213f05 import of mdb (minix debugger), some ptrace and signals unbreaking
seem to have made it work (runtime debugging and core reading).
2005-08-04 08:44:16 +00:00
Ben Gras
693c7abe2a ps was looking for INIT as first user process, but INIT has become init.
There are still some checks in ps that presume there are only system
processes before INIT and all others are user processes..
2005-08-04 08:25:10 +00:00
Ben Gras
93460d0ad0 Do test transaction before letting open device succeed; if probe fails,
remember drive isn't there and don't try it again
2005-08-04 08:08:58 +00:00
Ben Gras
2be2bce18c #if VERBOSE
debug statements
#endif
2005-08-04 08:07:29 +00:00
Jorrit Herder
3f28baac83 Disabled comments from FXP driver with #define VERBOSE 0.
Fixed all troubles reported at shutdown.
No more illegal FS calls by dead processes.
2005-08-03 16:58:22 +00:00
Jorrit Herder
89cf745fe2 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).
2005-08-03 16:06:35 +00:00
Philip Homburg
c12b74dad5 Random is now a separate driver. 2005-08-03 15:22:41 +00:00