Ben Gras
3bd3c2cee1
Change at driver to understand 'safe' transfers and ioctls; do corresponding
...
safe copy and safe sys_insw and sys_outsw calls.
2006-06-20 08:51:24 +00:00
Ben Gras
e929676268
. made libdriver understand *_S variants
...
. ioctl, transfer and 'other' functions get an extra parameter: 'safe', int
is nonzero if function is called with *_S variant ('other' if ioctl)
2006-06-20 08:49:51 +00:00
Philip Homburg
373ea53510
A bigger ramdisk is needed for the new version of ash.
2006-06-07 14:39:50 +00:00
Philip Homburg
e9aabcf2f8
Disabled building rescue driver (no longer needed). Moved allocmem from
...
library to the memory driver. Always put output from within TTY directly on
the console. Removed second include of driver.h from tty.c. Made tty_inrepcode
bigger. First step to move PM and FS calls that are not regular (API)
system calls out of callnr.h (renumbered them, and removed them from the
table.c files). Imported the Minix-vmd uname implementation. This provides
a more stable ABI than the current implementation. Added a bit of security
checking. Unfortunately not nearly enough to get a secure system. Fixed a
bug related to the sizes of the programs in the image (in PM patch_mem_chunks).
2006-05-19 12:19:37 +00:00
Philip Homburg
94717cb74c
Pass -c flags to service for disk device drivers.
2006-05-11 14:53:20 +00:00
Philip Homburg
aeb6630868
Ignore SIGHUP in floppy driver.
2006-05-11 14:52:40 +00:00
Ben Gras
5a8315cf5b
call cons_stop() before sys_abort() to not break tty on shutdown
2006-05-11 14:01:44 +00:00
Philip Homburg
2dc693cfe5
Do not record BARs for IDE controllers in compatibility mode.
2006-04-12 11:18:13 +00:00
Philip Homburg
867e30469a
Extra debug output for iogap.
2006-04-11 11:50:29 +00:00
Ben Gras
27cae0a47e
Don't let lance steal keys
2006-04-04 12:50:07 +00:00
Philip Homburg
36f4976e17
Support for IDE controllers that announce themselves as RAID controllers.
2006-04-04 12:27:28 +00:00
Ben Gras
261ae3b463
Use /dev instead of MAKEDEV because release builds are run as bin.
2006-04-03 19:36:15 +00:00
Ben Gras
38676609c1
Don't redirect stderr to /dev/null
2006-04-03 18:47:28 +00:00
Ben Gras
dcb0fee484
script to generate /dev part of proto file.
2006-04-03 15:01:43 +00:00
Philip Homburg
846ae81717
Fix for 'pci: mem_top too low' panic. Removed 'pci_next_dev: got nothing'
...
message.
2006-04-03 12:12:04 +00:00
Ben Gras
a65e215874
..
2006-04-02 18:12:11 +00:00
Ben Gras
59ffa8127e
Even more pci busses.
2006-04-01 16:32:28 +00:00
Ben Gras
2ab95796b5
Don't install in /sbin - confusing with real tty command
2006-03-29 12:41:11 +00:00
Ben Gras
0524ed35cd
Install tty in /sbin
2006-03-26 16:22:02 +00:00
Ben Gras
7b58dd7f9b
Renamed findproc() to _pm_findproc() to reduce polluting of application
...
namespace.
2006-03-25 04:49:04 +00:00
Ben Gras
ae54c6ed27
sys_in* bug
2006-03-24 23:11:10 +00:00
Ben Gras
654220cdb2
Compiler warning fix
2006-03-24 23:09:04 +00:00
Ben Gras
d130e2838e
Fix for sys_in* bug
2006-03-24 23:08:19 +00:00
Ben Gras
ffa55918db
fix for sys_in* bugs / compiler warnings
2006-03-24 23:07:23 +00:00
Ben Gras
df947669b3
Compiler warning
2006-03-24 23:05:54 +00:00
Ben Gras
d149383750
Compiler warnings
2006-03-24 23:05:21 +00:00
Ben Gras
dac520e6f2
Compile warnings
2006-03-24 23:02:56 +00:00
Ben Gras
9f6b2666e1
Compiler warnings fix
2006-03-24 14:16:13 +00:00
Ben Gras
58aee91edf
Fix compiler warnings.
2006-03-24 13:53:09 +00:00
Ben Gras
471c1e5f00
reply failed to whom?
2006-03-24 12:45:35 +00:00
Ben Gras
e76a222de7
Rename latin-am to latin-america
2006-03-22 13:02:28 +00:00
Ben Gras
9d564995cd
Fix rename
2006-03-20 10:44:43 +00:00
Ben Gras
95ea6383b5
we have longer filenames now so can spell scandinavian in full.
...
: ----------------------------------------------------------------------
2006-03-19 20:53:20 +00:00
Philip Homburg
64a9d53b12
PCI reports the amount of video memory (for chmem'ing the X server)
2006-03-17 15:23:59 +00:00
Ben Gras
0c8dbc55c9
Ignore PROC_EVENTs
2006-03-16 11:22:31 +00:00
Philip Homburg
7fecfd3740
Use assembler instead of C for the ramdisk. The assembler requires less
...
memory.
2006-03-15 14:28:05 +00:00
Ben Gras
733f5da611
debug msg
2006-03-13 15:41:07 +00:00
Philip Homburg
5731e07839
Some /dev entries for c0d7.
2006-03-13 15:37:43 +00:00
Philip Homburg
4ca6f516c6
Added boot environment option 'ata_no_dma' to disable DMA.
2006-03-13 15:36:57 +00:00
Ben Gras
1a7f7d6333
at_wini: removed RO_BIT misfeature, not used any more
...
pm: fixed rebooting by making a copy of the monitor code from the user
process. this is necessary because that process is dead by the time
sys_abort() is called.
also added more info to the "can't reply" panic.
2006-03-13 13:21:13 +00:00
Ben Gras
23158865b2
Don't include ramdisk image in .depend - breaks 'make depend'
2006-03-11 10:58:38 +00:00
Ben Gras
138a372e84
Understand PROC_EVENT
2006-03-10 16:38:36 +00:00
Ben Gras
71fd7596fa
Understand PROC_EVENT
2006-03-10 16:27:21 +00:00
Jorrit Herder
376d8485d8
*** empty log message ***
2006-03-10 16:20:24 +00:00
Philip Homburg
1353798747
Better probing code
2006-03-09 15:05:43 +00:00
Ben Gras
95285c399e
A little more stack for memory
2006-03-09 14:02:32 +00:00
Ben Gras
4686e11dd5
Test receive() return code
2006-03-07 15:45:14 +00:00
Ben Gras
28324dc841
Fixed wrong fix
2006-03-07 14:58:18 +00:00
Ben Gras
f5029b721a
Include boot options
2006-03-07 14:32:41 +00:00
Philip Homburg
e25dc302a9
Fixed masks on I/O ports.
2006-03-07 14:16:13 +00:00
Philip Homburg
a40988a29f
Disabled pci_intel_ctrl.
2006-03-07 14:14:53 +00:00
Philip Homburg
2478cde442
Print PCI capability types.
2006-03-06 15:19:51 +00:00
Philip Homburg
d8c209b4f8
A bit of leftover cleanup work.
2006-03-06 10:42:51 +00:00
Philip Homburg
9ddef3c59d
Build memory driver last.
2006-03-03 15:38:27 +00:00
Philip Homburg
816973d1fe
Support for DMA.
2006-03-03 15:37:51 +00:00
Ben Gras
f877da3aec
endpoint migration for drivers.
...
mostly renaming message field names to the new names.
tty stored process numbers in chars in tty and pty structs - now ints.
2006-03-03 10:21:45 +00:00
Philip Homburg
4ae5403558
LBA48 support.
2006-02-24 12:55:47 +00:00
Ben Gras
c08b6c2e28
Lance needs 4k due to 4k clicksize
2006-02-22 13:45:29 +00:00
Ben Gras
b3d3ed8f7c
Install memory in /usr/sbin
2006-02-17 15:03:38 +00:00
Ben Gras
e7657e1b67
Added some of my root devices
2006-02-17 11:58:02 +00:00
Ben Gras
65e7b878d4
getmachine info first, then init tty.
...
Problem report and fix given by:
Prof: Alejandro T. Bello Ruiz <abello@macareo.pucp.edu.pe>
2006-02-17 10:23:16 +00:00
Philip Homburg
7034c0795d
Moved PCI driver to the ramdisk.
2006-02-15 14:21:56 +00:00
Philip Homburg
c3a88d15d8
Initial root filesystem is now on a ramdisk that is part of the image.
2006-02-15 11:18:21 +00:00
Ben Gras
cde8d88dcc
Ignore system signals.
2006-02-06 15:33:39 +00:00
Ben Gras
13e0afef7b
#ifdeffed out some more debug stuff
2006-02-06 15:03:51 +00:00
Ben Gras
dc410a6245
#ifdeffed out some debug code
2006-02-06 15:02:19 +00:00
Philip Homburg
cf7db577ae
Report resources to the kernel.
2006-01-27 13:18:07 +00:00
Ben Gras
06db462da4
Added dvorak keymap.
2006-01-23 09:28:04 +00:00
Ben Gras
ad7f2784fe
Made 'called by' DEBUG-conditional to avoid messy startup message
2006-01-18 09:48:32 +00:00
Ben Gras
4102c1b44c
Make drivers install signal handlers so they don't die at exit.
2006-01-17 17:43:35 +00:00
Ben Gras
24f8db780c
Include rescue driver
2006-01-17 16:16:12 +00:00
Ben Gras
c452baf68d
Made memory driver notice about location in DS a debug statement.
2006-01-17 15:53:43 +00:00
Philip Homburg
d65c8c116c
Initial version of Cardbus support with the TI1225 Cardbus controler.
2006-01-12 14:47:48 +00:00
Philip Homburg
e44aaf4c37
Many changes for cardbus support, automatic detection of PCI bridges,
...
resource allocation, and tracking.
2006-01-12 14:46:12 +00:00
Philip Homburg
ac7f7f3022
Less debug output from keyboard.
2006-01-12 14:44:02 +00:00
Philip Homburg
24cf667abb
PCI support in a separate driver.
2005-12-02 14:45:10 +00:00
Philip Homburg
a894f5842f
Larger raw keyboard/kbdaux buffer
2005-11-10 15:41:25 +00:00
Philip Homburg
5556281540
Added /dev/video for mapping video memory.
2005-11-09 15:45:48 +00:00
Philip Homburg
df279ac347
Set IOPL when /dev/mem is opened. Fixed small bug in MIOCMAP/MIOCUNMAP
2005-11-04 17:16:54 +00:00
Philip Homburg
83df200475
Less restrictive I/O port check.
2005-11-03 13:42:56 +00:00
Philip Homburg
e6e1f4431d
Make I/O port check less strict
2005-11-03 11:33:42 +00:00
Philip Homburg
c11611802e
Pass the right pointers to sys_inb
2005-10-24 14:02:45 +00:00
Philip Homburg
0b5a135a67
Raw keyboard and AUX support. Needs cleaning up.
2005-10-24 13:57:19 +00:00
Ben Gras
d0806fd1af
Make lance driver notify inet on startup, and respond to getname
2005-10-21 18:20:44 +00:00
Ben Gras
2b23d38c5b
Panic fix
2005-10-21 18:20:26 +00:00
Philip Homburg
589e147ee3
Crash recovery changes.
2005-10-21 17:09:08 +00:00
Jorrit Herder
f8edaa7de4
Added replies to status requests from RS.
2005-10-21 14:39:21 +00:00
Jorrit Herder
78f20c3959
Rest ...
2005-10-21 13:46:47 +00:00
Jorrit Herder
dd49f3586f
New Rescue Device Driver (RAM disk like)
...
Allow restarting RTL8139
2005-10-21 13:24:22 +00:00
Philip Homburg
724813fdce
Prelim commit for ethernet driver crash recovery.
2005-10-21 11:51:45 +00:00
Jorrit Herder
381c24ce17
New MEM driver for recovery.
2005-10-20 20:26:02 +00:00
Ben Gras
ad2bf251a3
Don't print KMESSages, they are sent to tty separately.
2005-10-20 09:29:18 +00:00
Ben Gras
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 }.).
2005-10-18 10:34:54 +00:00
Ben Gras
0830c99b56
Leave out exit() that was in there to test RS.
2005-10-18 10:04:11 +00:00
Jorrit Herder
bf3f53be27
Removed check if slot in use for keymapping: otherwise IS may have problems
...
to recover.
2005-10-17 13:19:48 +00:00
Ben Gras
7226f4685f
Get out silly debug message
2005-10-13 08:49:42 +00:00
Philip Homburg
23d2c0e1eb
Intel 82845B/A and Intel 82801B
2005-10-12 15:26:47 +00:00
Jorrit Herder
ee1f2bcb39
Minor fixes for RS. Install signal handlers.
2005-10-12 15:06:00 +00:00
Ben Gras
87dbfc7dda
Added DEV_PING message type to drivers (but not ethernet drivers) so
...
RS can monitor them.
2005-10-12 14:31:39 +00:00
Ben Gras
f463c247b6
Minor number for pty device nodes computed wrongly
2005-10-11 17:04:56 +00:00
Ben Gras
b9defa9abd
select status should return minor device number instead of tty
...
line number
2005-10-04 12:04:00 +00:00
Ben Gras
8c4166ee85
Add SIGWINCH signal and functionality in tty and support in PM.
2005-10-03 12:03:57 +00:00
Philip Homburg
5871979657
More stack space for dp8390, floppy, and fxp
2005-09-30 13:02:17 +00:00
Philip Homburg
9f8f2484dd
Forward debug output that originates within TTY first to the log device.
2005-09-30 13:01:34 +00:00
Philip Homburg
72c0158393
Accept log output from TTY.
2005-09-30 12:59:12 +00:00
Philip Homburg
e0dbf0cd67
Intel 82801 Mobile
2005-09-30 12:58:14 +00:00
Philip Homburg
e281ad893d
Added MIOCMAP and MIOCUNMAP ioctls.
2005-09-30 12:57:30 +00:00
Ben Gras
b929457aef
Bogus notify() usage.
2005-09-27 19:05:42 +00:00
Ben Gras
f1549d7ac7
Typo fix by Al.
2005-09-27 18:25:08 +00:00
Ben Gras
b52c0732d8
openct ioctl in bios_wini driver, needed for sanity check in autopart
2005-09-24 12:26:31 +00:00
Ben Gras
2559cff6dc
Fix by Kenichi TAKAHAGI
2005-09-23 20:59:45 +00:00
Ben Gras
bd85f7015e
typo
2005-09-22 21:18:02 +00:00
Ben Gras
859f2ba189
Remove debug message
2005-09-22 12:08:11 +00:00
Ben Gras
12da65ee2e
Don't clear part table
2005-09-21 12:27:23 +00:00
Ben Gras
f379a59bc5
Makefile clean update
...
no .tar
2005-09-16 11:10:11 +00:00
Ben Gras
c4e4398043
Update by paboonst@cs.vu.nl
2005-09-16 11:09:08 +00:00
Ben Gras
3ca29cde44
Make it work without ENABLE_ATAPI
2005-09-16 09:43:02 +00:00
Ben Gras
f7fd32b9e5
at: first wipe partition table (workaround for a partition() bug)
...
setup: steps fix
2005-09-12 13:25:40 +00:00
Ben Gras
e3709af1b8
Andy's code fixes
2005-09-11 17:09:11 +00:00
Ben Gras
a4963c0376
New do_transfer construct permanent
2005-09-08 12:52:33 +00:00
Ben Gras
c18fb6b312
No more fake iso partition tables
2005-09-07 12:57:43 +00:00
Ben Gras
075c219309
Provisionally removed the fake iso partitioning in favour of a real partition
...
table on the boot CD
2005-09-07 10:04:48 +00:00
Ben Gras
d7c82dcec5
Patch by Michael Kennett for getting PCI working in Virtual PC.
2005-09-06 10:12:35 +00:00
Ben Gras
f0cc130f18
Joren l'Ami 's patch to check for <16MB
2005-09-05 18:01:56 +00:00
Ben Gras
54cfdfcb84
target should've been called depend
2005-09-05 14:17:33 +00:00
Ben Gras
544d69e8ea
Michael Kennetts changes to floppy driver
2005-09-05 13:00:37 +00:00
Ben Gras
664f7ff5c9
Imported AMD LANCE driver by various authors and contributors.
2005-09-04 20:08:22 +00:00
Ben Gras
dfe3b33cf5
Giovanni's fixes to dp8390:
...
Date: Sat, 03 Sep 2005 11:05:22 +0200
Subject: Minix 3.0.8
2005-09-04 18:53:15 +00:00
Ben Gras
becc8c1a6b
Giovanni's fixes to dpeth:
...
Date: Sat, 03 Sep 2005 11:05:22 +0200
Subject: Minix 3.0.8
2005-09-04 18:52:16 +00:00
Ben Gras
a32fa468f3
Make compiling with 0 pty's or rs232 lines possible (Al's patch)
2005-09-04 18:16:44 +00:00
Ben Gras
0be5f3cf7b
reorder drivers for more efficient making
...
mtree - added /usr/gnu
release - fiddling with deleting unwanted bits before copying for more
efficient packing
2005-09-01 12:30:17 +00:00
Ben Gras
6a56df46e9
*** empty log message ***
2005-08-30 16:56:46 +00:00
Ben Gras
e5205bdd2c
Found 2 debug messages in log driver.. killed.
2005-08-27 12:04:29 +00:00
Ben Gras
d0cd846ae8
Added some more debug statements that are enablable by atapi_debug in the
...
boot monitor.
Added SCSI_SENSE command that asks the drive, with request sense, about
diagnostics for the previous error. This command is called and the results
printed when atapi_debug is enabled and atapi errors occur.
Debug output also prints actual commands sent to the drive.
Suddenly, Andy's problem has vanished. Don't know why, minor changes
(e.g. moving the atapi packet data from stack to static) shouldn't have
fixed this.. But with the debug info, we stand a better chance of
finding out what it was if it occurs again.
2005-08-26 19:39:00 +00:00
Philip Homburg
9fc2555e6f
Added debug output for unsupported PCI-to-PCI bridges.
2005-08-26 11:36:57 +00:00
Philip Homburg
4cf7769a5d
Edge triggered interrupts are no longer fatal.
2005-08-26 11:16:03 +00:00
Ben Gras
1732526c50
LBA step
2005-08-25 16:25:19 +00:00
Philip Homburg
fe910fadcf
The lack of an ISA bridge is no longer fatal.
2005-08-25 16:21:51 +00:00
Jorrit Herder
067e2bb259
*** empty log message ***
2005-08-25 13:31:35 +00:00
Jorrit Herder
f36fc17c6d
Cleanup with gcc.:
2005-08-25 13:14:02 +00:00
Jorrit Herder
e156a1c5ed
*** empty log message ***
2005-08-25 13:02:15 +00:00
Jorrit Herder
98124a8082
Cleanup with gcc.
2005-08-25 12:50:11 +00:00
Philip Homburg
ae20e98d5e
Added some descriptions and some PCI controllers.
2005-08-25 12:49:22 +00:00
Jorrit Herder
8b6b353c86
Fixed gcc warnings in MEM driver.
2005-08-25 12:35:59 +00:00
Ben Gras
647e179038
. release fixes
...
. added OPENCT ioctl to at driver, which returns the number of times
a device is opened. if it's not opened exactly once, new partition info
will not be read in (at the next open after this close). included
this check in autopart.
2005-08-25 09:47:31 +00:00
Ben Gras
ae5f1f2286
ata-pci support for at driver.
...
added a hook in libdriver for HARD_INT messages.
2005-08-25 08:19:11 +00:00
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
Ben Gras
62c08df482
Removed debugging statements from log.c; changed PRINTF_PROC in config.h
...
back to LOG_PROC_NR
2005-07-27 18:49:25 +00:00
Jorrit Herder
f88431f1f7
Made PRINTER driver use new revive-notify mechanism.
...
Still to be tested.
2005-07-27 15:04:30 +00:00
Jorrit Herder
fe0dcb5c00
AT driver is not modified (debugging only);
...
TTY: select and revive with new notify and FS call back;
kernel: removed old notify code; removed ugly prepare_shutdown timer
kputc: don't send to FS if PRINTF_PROC fails
2005-07-27 14:32:16 +00:00
Ben Gras
28958cca35
Log device only suspendable now
2005-07-27 14:31:04 +00:00