Commit Graph

62 Commits

Author SHA1 Message Date
mycroft 3f5e4f423f Implement dynamic IRQ configuration and IRQ sharing. Inline spl*() calls.
Reorganize and clean up the relevant code.
1994-04-07 06:48:19 +00:00
mycroft 592ec61b17 Updates for new autoconfig. 1994-03-29 04:35:37 +00:00
mycroft 15d758c39a Remove backward compatibility hacks for config(8), as they are no longer
useful.
1994-03-12 03:45:03 +00:00
deraadt 08678da2df hack to get cursor right on video cards with real 6845 chips 1994-03-11 12:22:31 +00:00
mycroft 108cc16061 Move some code, but no functional difference. 1994-03-03 20:48:16 +00:00
mycroft 16d4233622 Add some comments explaining this ridiculous interface, and enable the reset
code by default.
1994-03-03 19:28:04 +00:00
mycroft 3bf0631a5e Flush the keyboard buffer before and after the reset. This should now work
on all machines and keyboards.
1994-03-03 19:11:59 +00:00
mycroft a9e3e0dd28 Add more experimental probe gunk, not enabled. 1994-03-02 08:03:02 +00:00
mycroft 2292eadf37 Set the keyboard to scancode table 1 rather than having the 8042 convert. 1994-03-02 06:46:11 +00:00
mycroft ab1474a681 Remove scantokey[] and extscantokey[], as they are not used. 1994-03-02 05:44:10 +00:00
mycroft 6ba1208b1d Add code to set the translation table number, but disabled for now. 1994-03-02 04:38:26 +00:00
mycroft 6902746df6 Attempt to insure the keyboard is enabled after reset, but turn off the entire
reset sequence by default since it causes some keyboards to become catatonic.
1994-03-02 00:57:35 +00:00
mycroft b9dbe12a58 Check for acks and naks in X mode. 1994-03-01 18:30:13 +00:00
mycroft 445d057248 Don't repeat lock keys in X, either. 1994-02-25 05:36:51 +00:00
mycroft 2c578d3586 Oops. 1994-02-25 05:15:31 +00:00
mycroft 49db93fa54 Two compatibility kluges for X; deal with the lock keys and reset the cursor
shape when X exits.
1994-02-25 03:48:51 +00:00
mycroft 196f213289 Allow keyboard-less boot. 1994-02-23 22:20:40 +00:00
mycroft 5fe1f9f9c6 Remove some more dead code. 1994-02-23 20:15:28 +00:00
mycroft 5dfb68e441 Add insert and delete line capabilities. 1994-02-23 18:42:04 +00:00
mycroft 4252abe773 Remove some code that is no longer used. 1994-02-23 00:54:45 +00:00
mycroft 8e1aea9a33 Most of the changes from the magnum branch; rearrange the parser to be a bit
faster, and rework the keyboard handling.
1994-02-22 23:01:22 +00:00
hpeyerl aa55bde66e Herb sheepishly puts the keyboard connection code back in.
(which means Herb needs to buy a keyboard now)
1994-02-17 15:08:30 +00:00
mycroft bbb3e7618c All ioctl routines take a struct proc * now. 1994-02-09 21:06:46 +00:00
cgd b452451cfe new cons.h location, etc. 1994-02-01 03:42:08 +00:00
deraadt 9825dd1730 ttrstrt definition doesn't belong here 1994-01-28 13:43:41 +00:00
hpeyerl 01f4843507 I want to boot without a keyboard dammit! 1994-01-25 04:32:02 +00:00
mycroft f2a0b4b335 Canonicalize all #includes, and add pio.h where appropriate. 1993-12-20 09:05:17 +00:00
mycroft 243bc4cc05 Boundary check on backspace. 1993-11-11 15:43:52 +00:00
mycroft cd216b5938 Make Ctrl-Space input a NUL and Ctrl-/ input a ^/ (undo in Emacs). 1993-09-28 04:55:17 +00:00
andrew ceb2a05027 Added keyboard typematic rate adjustment ioctl. Rudimentary support for
entering DDB from X11 by means of the F12 key (when XSERVER_DDB is
defined).
1993-09-28 03:25:01 +00:00
brezak cb098b5eb0 Changes to use a trap frame for syscalls. 1993-09-16 03:24:13 +00:00
mycroft 91b8683f3e Make Ctrl-Space and Ctrl-2 send a NUL, even without XSERVER defined.
(This has annoyed me for a while, and people are complaining about it.)
1993-09-06 05:52:33 +00:00
mycroft 59d53ecfbf Check some boundary conditions is cursor movement and scrolling. 1993-09-05 17:56:58 +00:00
deraadt 9aed375ba3 tty XXstart() routines return void 1993-08-29 13:46:31 +00:00
mycroft 3be4221095 Change tty code to use clist interface, but with ring buffer implementation.
Also, fix a couple of bugs in tty.c and pccons.c, and some gross kluginess
in the hp300 stuff.
1993-07-12 11:36:53 +00:00
mycroft 62ddceb6fc Yah, yah... 1993-07-11 09:53:44 +00:00
mycroft 7d3cf97d73 Oops. Back out clist changes, but leave the bug fix. 1993-07-11 09:45:07 +00:00
mycroft dd71ecc3aa This is so utterly revolting I refuse to describe it, except to say that it
fixes the problem of console output hogging the CPU.
1993-07-11 07:54:47 +00:00
mycroft e4c42383fb Implement scroll lock using sleep() and wakeup() so we don't get stuck at
spltty and freeze everyone.
1993-07-08 07:27:29 +00:00
deraadt 1eacd36710 pccons.c now dynamically allocates it's "struct tty"
cons.c's "struct tty *cn_tty" wasn't used by any of the kernel, and goes away.
1993-07-07 11:00:23 +00:00
deraadt ceec40c98f clean up code for timeout/untimeout/wakeup prototypes. 1993-07-06 06:06:26 +00:00
mycroft 94df11ad63 Make sysbeep() take a frequency, not a timer count, and add constants
BEEP_FREQ and BEEP_TIME which can be overridden in the config file.
1993-06-16 02:57:17 +00:00
cgd e9009189f5 fix bogus initializer 1993-05-31 00:54:40 +00:00
deraadt 2adecf84f6 1. It is now possible to build a kernel that does not have a pc0 device driver.
2. "press any key to reboot" reads the key from the console.
3. wddump() still needs a non-blocking getc() routine (or flush)
1993-05-28 09:10:52 +00:00
deraadt 2f0c0eb674 tty dynamic allocation 1993-05-26 10:06:41 +00:00
cgd 30177b538f add rcsids to everything and clean up headers 1993-05-22 07:56:12 +00:00
cgd 8d6c77881c make kernel select interface be one-stop shopping & clean it all up. 1993-05-18 18:18:40 +00:00
deraadt 6161295a96 ring buffer code now uses rbchar's (shorts) instead of chars. 1993-05-10 23:14:54 +00:00
mycroft 955bf47eda Don't autorepeat locking keys. (Can someone test this with X?) 1993-05-04 05:00:26 +00:00
mycroft e4996a015e Oops. sgetc() is used elsewhere, so should not be static. 1993-04-26 19:12:06 +00:00