Ben Gras
94ed5c2a4c
Separated one-time keyboard initialization from per-console keyboard
...
initialization. One-time init is called from tty.
Side effect is that the one-time init is done after the sys_getmachine()
call, which makes set_leds() work, which makes numlock go off at booting.
2005-08-24 08:15:23 +00:00
Jorrit Herder
b4d7de6ee1
New makefile (src/tools/Makefile) logic:
...
- make fresh install: still builds new everything (libraries, services, image)
- make clean image: only builds new boot image (about 5 sec. now!)
2005-08-23 12:53:35 +00:00
Ben Gras
e2e90b1fdc
Remove double-blank lines (Al)
2005-08-22 15:17:42 +00:00
Ben Gras
3aca81a22a
Remove double-blank lines
2005-08-22 15:17:30 +00:00
Ben Gras
d57e1a99b8
Added some pci config register names
2005-08-22 12:37:32 +00:00
Ben Gras
07e149a1e3
Imported initial version of user-space port of original sb16 driver.
...
User-space porting by Peter Boonstoppel.
2005-08-22 11:46:06 +00:00
Philip Homburg
c392c177b5
Boot environment option 'bios_remap_first'. Thios option remaps the first
...
BIOS drive to d7, the second BIOS drive to d0, the third to d1, etc. This
useful for CD-ROM hardisk emulation.
2005-08-15 13:19:02 +00:00
Ben Gras
b993f51980
at bugfix - openct only increased on opens when 0, openct always decreased
...
on closes..
this causes partition tables not to be re-read sometimes..
this causes mayhem..
2005-08-12 16:42:36 +00:00
Philip Homburg
a54e0b20ba
'Normal' mode didn't work.
2005-08-11 13:55:06 +00:00
Ben Gras
102a3b180c
CD root now 2MB
2005-08-09 16:59:40 +00:00
Ben Gras
58218775b6
Make timeouts more tolerant, even in strict timeout mode
2005-08-09 16:59:29 +00:00
Ben Gras
f902df5c5a
Give AT driver 8k stack instead of 1k.. probably not necessary, but 1k
...
is a little meager, so let's be on the safe side
2005-08-09 14:45:10 +00:00
Ben Gras
1d3fb6ea2e
ata_std_timeout boot monitor variable to override short timeouts on
...
test transactions and ioctl() setting, in case of comatose drives.
2005-08-09 12:42:53 +00:00
Ben Gras
f3500010b7
Moved open-ATAPI-as-RW check to before open-first-time check.. otherwise
...
you can open an ATAPI device as RW if it's already opened for read.
2005-08-09 12:18:15 +00:00
Philip Homburg
c1dd29ba0c
Support for ethernet in QEMU.
2005-08-09 11:23:41 +00:00
Ben Gras
f26239d1f8
Minor partition() efficiency improvements (don't do regular partitioning
...
i/o on cd drives)
2005-08-08 12:16:59 +00:00
Ben Gras
0c03b0c168
Removed $Log$ tags
2005-08-05 19:08:43 +00:00
Philip Homburg
490430f627
Undo one hack for QEMU, add another.
2005-08-05 19:08:02 +00:00
Jorrit Herder
941b5ebd1c
Fix to device table at FS.
...
BIOS and AT installed in /sbin.
Floppy boot fixed.
2005-08-05 18:57:20 +00:00
Philip Homburg
cfd27c36cb
Temp hacks for QEMU. Call to env_setargs in dpeth.
2005-08-05 18:37:15 +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
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
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
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
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
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
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
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
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
Philip Homburg
c12b74dad5
Random is now a separate driver.
2005-08-03 15:22:41 +00:00
Jorrit Herder
375f6f8754
Miscellaneous cleanups.
2005-08-03 11:53:36 +00:00
Jorrit Herder
b69ca94efb
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.
2005-08-03 08:14:08 +00:00
Jorrit Herder
0bd61375ad
Miscellaneous small fixes to prettify startup output.
2005-08-02 15:56:24 +00:00
Jorrit Herder
52965b6f17
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.
2005-08-02 15:30:36 +00:00
Philip Homburg
537d7ddcdf
Replace REVIVE with notify.
2005-08-01 14:40:21 +00:00
Jorrit Herder
1198491af2
*** empty log message ***
2005-07-29 15:33:31 +00:00
Philip Homburg
a93faca75f
rs232 support
2005-07-29 15:22:58 +00:00
Jorrit Herder
aec394a330
Updated drivers according to syslib interface changes.
2005-07-29 15:00:22 +00:00
Jorrit Herder
d62e515660
Small update to SYS_IRQCTL -> setting an interrupt policy now allows the caller
...
to provide an index (0 .. 31) that is passed in the HARD_INT message when an
interrupt occurs. The NOTIFY_ARG field contains a bitmap with all indexes for
which an interrupt occured.
2005-07-29 12:44:42 +00:00
Philip Homburg
49c25df569
bios_wini driver
2005-07-29 10:21:04 +00:00
Philip Homburg
f6b0544de9
Fixed prototype of random_update.
2005-07-29 10:16:40 +00:00