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
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
Ben Gras
06db462da4
Added dvorak keymap.
2006-01-23 09:28:04 +00:00
Philip Homburg
ac7f7f3022
Less debug output from keyboard.
2006-01-12 14:44:02 +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
0b5a135a67
Raw keyboard and AUX support. Needs cleaning up.
2005-10-24 13:57:19 +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
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
9f8f2484dd
Forward debug output that originates within TTY first to the log device.
2005-09-30 13:01:34 +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
e3709af1b8
Andy's code fixes
2005-09-11 17:09:11 +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
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
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
Ben Gras
0e3bef8597
pty select() support
2005-08-05 13:50:58 +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
Jorrit Herder
375f6f8754
Miscellaneous cleanups.
2005-08-03 11:53:36 +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
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
Jorrit Herder
30d95cad82
Removed debug output.
2005-07-26 14:54:49 +00:00
Jorrit Herder
a63d324caa
Small update to shared driver code: SYS_EVENT (signal) is now known.
...
Fixed drivers. HARD_STOP message no longer exists.
2005-07-26 12:50:25 +00:00
Jorrit Herder
d2d975246d
Kernel sends SIGKSTOP just before shutdown. Drivers do clean up and exit.
2005-07-20 15:28:05 +00:00
Jorrit Herder
5594b767c0
Renamed src/lib/utils to src/lib/sysutil --- because of new src/lib/util
2005-07-19 13:21:51 +00:00
Jorrit Herder
8c024e28a1
Changed Makefiles: drivers are now installed in /usr/sbin.
...
TTY now gets SYS_EVENT message with sigset (e.g., SIGKMESS, SIGKSTOP).
2005-07-19 12:12:48 +00:00
Jorrit Herder
279250889f
Renamed some system library functionality.
2005-07-14 15:15:18 +00:00
Philip Homburg
a467c43c01
use relative directories in makefiles.
2005-06-28 14:56:30 +00:00
Jorrit Herder
5654996c07
New Makefiles for mkdep script.
2005-06-24 16:21:54 +00:00
Jorrit Herder
ec24a0798c
Updated function key mapping because of possible changes to NOTIFY.
...
The TTY driver now only notifies the IS server about function key event,
but does not tell which keys are pressed. The IS servers queries the TTY
driver to find out about this.
2005-06-20 14:23:31 +00:00
Ben Gras
471e0448c3
Changed timer library function args.
...
Added select() support for tty fd's (not ptys yet).
2005-06-17 13:37:41 +00:00
Jorrit Herder
c2cd510adf
Removed debug dumps from the PM and FS servers. The dumps are now done by the
...
IS servers, which obtains a copy of the data through the getsysinfo() system
call. CTRL-F1 now is a special TTY key to shows function key mappings.
2005-06-07 14:43:35 +00:00
Jorrit Herder
c281867f46
Fixed bug relating to FS and MEMORY during startup;
...
Relocated some syslib functions to utils library;
Changed location of 'Multiuser startup ..." echo in /etc/rc
2005-06-06 09:30:44 +00:00