freebsd-nq/sys/kern
Bruce Evans e7451974bb Make pcvt and syscons live in the same kernel. If both are enabled, then
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.
1995-09-10 21:36:12 +00:00
..
imgact_aout.c Fix my copyright. 1995-09-08 13:24:33 +00:00
imgact_gzip.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
imgact_shell.c Fix my copyright. 1995-09-08 13:24:33 +00:00
inflate.c Changes needed for kzip to work. 1995-04-15 06:54:13 +00:00
init_main.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
init_sysent.c Make setreuid/setregid active syscalls 1995-04-23 12:22:06 +00:00
kern_acct.c Use the same method to determine the time that the process 1995-07-23 23:02:20 +00:00
kern_clock.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
kern_descrip.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern_devconf.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern_exec.c Moved setting of VTEXT flag into the appropriate image activators. This 1995-08-24 10:32:37 +00:00
kern_exit.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern_fork.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern_ktrace.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern_lkm.c Fix benign type mismatches in devsw functions. 82 out of 299 devsw 1995-09-08 11:09:15 +00:00
kern_lockf.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern_malloc.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
kern_ntptime.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern_physio.c Fix benign type mismatches in devsw functions. 82 out of 299 devsw 1995-09-08 11:09:15 +00:00
kern_proc.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern_prot.c Optimized and simplified version of setreuid/gid 1995-06-15 22:32:03 +00:00
kern_resource.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern_sig.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
kern_subr.c Improved hashinit panic strings. 1995-05-08 23:11:12 +00:00
kern_synch.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
kern_sysctl.c Fix the sysctl string routines to return as much of the 1995-07-31 10:07:31 +00:00
kern_tc.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
kern_time.c Killed "TIMEZONE" and "DST" options. They have been forced to 0 by config 1995-06-29 07:07:00 +00:00
kern_timeout.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
kern_xxx.c Removed unused local variable from shutdown_nice() 1995-09-06 15:23:20 +00:00
Make.tags.inc Added $Id$ 1994-08-02 07:55:43 +00:00
Makefile Added namespace information for future pollution-control measures. 1994-09-13 00:48:26 +00:00
makesyscalls.sh Add and move declarations to fix all of the warnings from `gcc -Wimplicit' 1995-03-16 18:17:34 +00:00
md5c.c Clean a bunch of -Wall warnings. 1995-02-24 08:51:34 +00:00
subr_autoconf.c Added $Id$ 1994-08-02 07:55:43 +00:00
subr_clist.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
subr_disklabel.c Fix correct_writedisklabel() and writedisklabel(). Their setting of 1995-08-28 16:09:11 +00:00
subr_diskmbr.c Don't clip d_ncylinders to value used by partitions. 1995-08-23 11:43:45 +00:00
subr_diskslice.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
subr_dkbad.c subr_diskslice.c implements everything related to slices and labels except 1994-12-12 00:20:34 +00:00
subr_log.c Made msgbuf range checking more robust and clean. 1995-08-07 07:58:23 +00:00
subr_param.c Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
subr_prf.c Killed some gratuitous #include's. 1995-08-24 12:54:11 +00:00
subr_prof.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
subr_rlist.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
subr_rmap.c Added $Id$ 1994-08-02 07:55:43 +00:00
subr_trap.c A couple of micro optimizations to improve NULL syscall performance by 1995-08-21 18:06:48 +00:00
subr_xxx.c Make pcvt and syscons live in the same kernel. If both are enabled, then 1995-09-10 21:36:12 +00:00
sys_generic.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
sys_process.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
sys_socket.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
syscalls.c Make setreuid/setregid active syscalls 1995-04-23 12:22:06 +00:00
syscalls.master Make setreuid/setregid active syscalls 1995-04-23 12:22:06 +00:00
sysv_ipc.c Added SYSV ipcs. 1994-09-13 14:47:38 +00:00
sysv_msg.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
sysv_sem.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
sysv_shm.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
tty_compat.c Preserve current termios speed for TIOCSET*, if it matched with 1995-08-02 12:53:14 +00:00
tty_conf.c Obtained from: partly from ancient patches by ache and me via 1.1.5 1995-07-29 13:40:13 +00:00
tty_cons.c Make pcvt and syscons live in the same kernel. If both are enabled, then 1995-09-10 21:36:12 +00:00
tty_pty.c Fix benign type mismatches in devsw functions. 82 out of 299 devsw 1995-09-08 11:09:15 +00:00
tty_snoop.c Fix benign type mismatches in devsw functions. 82 out of 299 devsw 1995-09-08 11:09:15 +00:00
tty_subr.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
tty_tb.c Added $Id$ 1994-08-02 07:55:43 +00:00
tty_tty.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
tty.c Fix wakeups for TIOCDRAINWAIT. The conditional wakeups introduced in rev 1995-09-10 11:48:13 +00:00
uipc_domain.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
uipc_mbuf.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
uipc_proto.c Make everything except the unsupported network sources compile cleanly 1995-08-16 16:14:28 +00:00
uipc_sockbuf.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
uipc_socket2.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
uipc_socket.c Remove extra arg from one of the calls to (*pr_usrreq)(). 1995-08-25 20:27:46 +00:00
uipc_syscalls.c Remove trailing whitespace. 1995-05-30 08:16:23 +00:00
uipc_usrreq.c Increase the size of the pipe buffer as denoted by PIPSIZ from 1995-08-31 01:39:31 +00:00
vfs_bio.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
vfs_cache.c Eliminate sloppy common-style declarations. There should be none left for 1995-07-29 11:44:31 +00:00
vfs_cluster.c Added VOP_GETPAGES/VOP_PUTPAGES and also the "backwards" block count 1995-09-04 00:21:16 +00:00
vfs_conf.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
vfs_export.c Don't compile the diagnostic functions vhold() and holdrele() unless 1995-08-25 20:49:44 +00:00
vfs_extattr.c Reviewed by: julian with quick glances by bruce and others 1995-08-28 09:19:25 +00:00
vfs_init.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
vfs_lookup.c Add support for amd direct maps. 1995-08-24 10:17:39 +00:00
vfs_mount.c Fixed init functions argument type - caddr_t -> void *. Fixed a couple of 1995-09-09 18:10:37 +00:00
vfs_subr.c Don't compile the diagnostic functions vhold() and holdrele() unless 1995-08-25 20:49:44 +00:00
vfs_syscalls.c Reviewed by: julian with quick glances by bruce and others 1995-08-28 09:19:25 +00:00
vfs_vnops.c vnode_pager_alloc() never returns NULL, so don't check for it. 1995-07-20 09:43:12 +00:00
vnode_if.pl Added VOP_GETPAGES/VOP_PUTPAGES and also the "backwards" block count 1995-09-04 00:21:16 +00:00
vnode_if.sh Added VOP_GETPAGES/VOP_PUTPAGES and also the "backwards" block count 1995-09-04 00:21:16 +00:00
vnode_if.src Added VOP_GETPAGES/VOP_PUTPAGES and also the "backwards" block count 1995-09-04 00:21:16 +00:00