summaryrefslogtreecommitdiffstats
path: root/sys/i386/isa/pcvt/pcvt_hdr.h
Commit message (Collapse)AuthorAgeFilesLines
* Part 3 of the pcvt/voxware revival.peter1999-01-011-0/+1418
| | | | Reviewed by: core
* Pre 3.0 branch cleanup casualty #4: pcvtphk1998-12-271-1418/+0
|
* Initialize isa_devtab entries for interrupt handlers in individualbde1998-10-221-0/+1
| | | | | | | device drivers, not in ioconf.c. Use a different hack in isa_device.h so that a new config(8) is not required yet. pc98 parts approved by: kato
* Make all the documented (in pcvt(4)) options supported options. Whilejoerg1997-10-181-0/+3
| | | | | | | i was at it, do no longer insist on `PCVT_FREEBSD' being declared in the config file, but default it to a reasonable value. More cleanup to follow, but this part is safe for RELENG_2_2, too.
* #include <machine/stdarg.h> in the one place in pcvt that it is usedbde1997-07-201-6/+0
| | | | instead of centrally.
* Fixed the type of timeout functions and removed casts that hid thebde1997-04-201-12/+4
| | | | | | | | | | | | | type mismatches. There was no problem in practice (at least on 386's). Don't cast NULL in calls to timeout functions. pcvt is fully prototyped and doesn't support K&R. Timeout functions take args of type `void *', so use magic numbers of type `void *' for UPDATE_* to reduce the danger of wrong conversions. Removed FreeBSD-pre-1.1-related TIMEOUT_FUNC_T macro. It was especially bogus for the pre-1.1 case.
* Don't include <sys/ioctl.h> in the kernel. Stage 1: don't includebde1997-03-241-1/+0
| | | | | it when it is not used. In most cases, the reasons for including it went away when the special ioctl headers became self-sufficient.
* Fix a bogon in pcvt that caused a characterset designation to not takejoerg1997-03-071-5/+5
| | | | | | | | | effect immediately, but required a following (normally redundant) G0 into GL mapping. This adds one layer of indirection (thus might make it slower), but fixes the broken box character drawing in pcvt. Hellmuth and Bruce are unfortunately too busy too review this right now, but i wanna have it in 2.2 since it has often been asked in the past.
* Move pcvt towards using kbdio (finally!).joerg1997-03-061-0/+16
| | | | | | | | | | Warning: this won't work yet with PCVT_SCANSET=2 along in early console mode (boot -c, or boot -d). A big thanks to Kazutaka, and a word of apologies for delaying the review for that long time... Submitted by: yokota@zodiac.mech.utsunomiya-u.ac.jp (Kazutaka YOKOTA)
* Updated #includes to 4.4Lite style.bde1996-09-101-2/+2
|
* Remove devconf, it never grew up to be of any use.phk1996-09-061-4/+0
|
* Fix many long-standing bugs and problems with pcvt, namely:joerg1996-08-101-6/+6
| | | | | | | | | | | | | | | | | | . make pccncheck() work even when interrupts are disabled, so the ``Press a key on the console...'' procedure will work, . make kernel colors #ifndef, so they can be overridden from the config file, . use shutdown_nice() instead of cpu_reset() if Ctrl-Alt-Del is enabled, . allow pccngetc() to return more than a single character, so the arrow keys will work (and thus visual UserConfig!), . fix a warning. This closes all know PRs related to pcvt, in particular #845, #1236, and #1265. PR #991 is a duplicate for 845, and PR #1283 has already been fixed earlier in rev 1.11 of pcvt_conf.h. Submitted by: Ulf Kieber (kieber@sax.de), for the kernel color fix
* Oops, include opt_pcvt_hdr.h before the key value in it is used.bde1996-04-131-2/+2
|
* Moved AUTO_EOI_[12] and most sio and pcvt options out of the makefile.bde1996-04-111-0/+2
|
* Moved vm includes out of centralized headers again.bde1995-12-101-3/+0
|
* Untangled the vm.h include file spaghetti.dg1995-12-071-0/+3
|
* Replaced #includes of <sys/user.h> by less gross headers, usuallybde1995-12-061-4/+2
| | | | | | | <sys/vm.h>. Many device drivers need only the definition of vtophys() from vm. Added nearby #includes of <sys/conf.h> where appropriate.
* Add /dev/random hooks to the key input routines for pcvt. This allowsmarkm1995-11-121-1/+3
| | | | | | the scancodes on a PCVT machine to be used as stochastic input as well as SysCons.. Reviewed by: Joerg Wunsch
* Added `#include "ioconf.h"' to <machine/conf.h> and cleaned up thebde1995-11-041-2/+0
| | | | | | | | | | misplaced extern declarations (mostly prototypes of interrupt handlers) that this exposed. The prototypes should be moved back to the driver sources when the functions are staticalized. Added idempotency guards to <machine/conf.h>. "ioconf.h" can't be included when building LKMs so define a wart in bsd.kmod.mk to help guard against including it.
* Always declare vga_move_charset(). It doesn't depend on option XSERVER.bde1995-11-041-2/+0
|
* Fix benign type mismatches in isa interrupt handlers. Many returned intbde1995-09-191-1/+1
| | | | instead of void.
* Make pcvt and syscons live in the same kernel. If both are enabled, thenbde1995-09-101-13/+5
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | the first one in the config has priority. They can be switched using userconfig(). i386/i386/conf.c: Initialize the shared syscons/pcvt cdevsw entry to `nx'. Add cdevsw registration functions. Use devsw functions of the correct type if they exist. i386/i386/cons.c: Add renamed syscons entry points to constab. i386/i386/cons.h: Declare the renamed syscons entry points. i386/i386/machdep.c: Repeat console initialization after userconfig() in case the current console has become wrong. This depends on cn functions not wiring down anything important. sys/conf.h: Declare new functions. i386/isa/isa.[ch]: Add a function to decide which display driver has priority. Should be done better. i386/isa/syscons.c: Rename pccn* -> sccn*. Initialize CRTC start address in case the previous driver has moved it. i386/isa/syscons.c, i386/isa/pcvt/* Initialize the bogusly shared variable Crtat dynamically in case the stored value was changed by the previous driver. Initialize cdevsw table from a template. Don't grab the console if another display driver has priority. i386/isa/syscons.h, i386/isa/pcvt/pcvt_hdr.h: Don't externally declare now-static cdevsw functions. i386/isa/pcvt/pcvt_hdr.h: Set the sensitive hardware flag so that pcvt doesn't always have lower priority than syscons. This also fixes the "stupid" detection of the display after filling the display with text. i386/isa/pcvt/pcvt_out.c: Don't be confused the off-screen cursor offset 0xffff set by syscons. kern/subr_xxx.c: Add enough nxio/nodev/null devsw functions of the correct type for syscons and pcvt.
* Eliminate sloppy common-style declarations. There should be none left forbde1995-07-291-5/+5
| | | | the LINT configuation.
* Remove trailing whitespace.rgrimes1995-05-301-8/+8
|
* Fix benign type mismatches int console functions. dev_t was assumedbde1995-04-251-1/+20
| | | | | | | | | to be `int' or smaller and some functions returned `int' instead of `void'. The first bug was detected when console functions were defined in a place central enough for type checking to actually work and the second bug was introduced when the interface was changed to match what the console functions in other drivers actually return.
* Update pcvt to 3.20 b24joerg1995-04-081-28/+43
|
* Correct a few minor things in pcvt:joerg1995-04-011-2/+54
| | | | | | o the includes are now properly done by <sys/foo.h> instead of "foo.h" o a bunch of undeclared functions has been resolved o pcvt finally supports devconfig
* Update pcvt to 3.20b23joerg1995-04-011-2/+3
| | | | Submitted by: Hellmuth Michaelis <hm@altona.hamburg.com>
* Update to beta3.20/b22joerg1995-03-051-34/+24
| | | | pcvt_ioctl.h doesn't belong to here.
* Bring pcvt console driver into the tree - now users can chose whicheverjkh1995-02-051-0/+1350
console driver they like best (2 is ok, it was 4 that was a little insane for awhile there! :-). Submitted by: hm
OpenPOWER on IntegriCloud