Commit Graph

50 Commits

Author SHA1 Message Date
thorpej 11cae42531 Centralize the declaration and clearing of `cold'. 1999-09-17 19:59:35 +00:00
thorpej 3ebbe095e0 Change the pmap_extract() interface to:
boolean_t pmap_extract(pmap_t, vaddr_t, paddr_t *);
This makes it possible for the pmap to map physical address 0.
1999-07-08 18:05:21 +00:00
mrg d2397ac5f7 completely remove Mach VM support. all that is left is the all the
header files as UVM still uses (most of) these.
1999-03-24 05:50:49 +00:00
mark 1eb9f63a3c bzero() -> memset() and bcopy() -> memcpy(). 1999-01-01 12:42:47 +00:00
mrg db3051d720 fix problems in many d_mmap routines:
- returned EOPNOTSUPP rather than -1.
	- no check for negative offset.
many of these fix potential security problems in these drivers.


XXX XXX XXX
the d_mmap cdev routine should be changed to have a prototype like:
	paddr_t (*d_mmap) __P((dev_t, off_t, int));

by someone!
1998-11-19 15:38:20 +00:00
mark 60e0cbbab8 Use sysbeep() rather than beep_generate for consistancy and the sysbeep
device.
KNF a chunk of this file.
1998-10-05 00:53:47 +00:00
mark f920e4e2d6 In physconinit(), don't use printf() to clear the screen but call
the console's putstring function directly.
1998-08-25 03:26:36 +00:00
mark bdfeab3714 Merge in UVM support from Neil Carson <neil@causality.com>. 1998-06-02 20:41:46 +00:00
mycroft 0dae91d9af Eliminate uses of TS_WOPEN in hard-wired devices. 1998-03-21 22:52:59 +00:00
mark 44e22f7606 Fix a couple of unused variable warnings for RC7500 builds. 1998-02-21 23:40:03 +00:00
mark 330df4c754 Added missing prototypes. 1998-01-21 22:51:38 +00:00
mark 773c2f9abb Removed unused variables for the benefit of -Wall -Werror. 1998-01-18 03:48:37 +00:00
thorpej 687449a900 Update for changes to config. 1998-01-13 02:09:58 +00:00
mark 7df23bd595 Remove some redundant .req statements. 1997-10-17 05:46:16 +00:00
mark 18a35528c5 Don't include sys/sysctl.h as it is not needed. 1997-10-17 05:45:40 +00:00
mark 7b377e8c50 arm32 kernel source restructure
- the console code from arm32/dev has been moved here as it is VIDC
    specific.
  - A few minoir code cleanups to help it fit with the restructures VIDC
    sources
1997-10-14 11:49:11 +00:00
mark 553af4fcee arm32 kernel source restructure
- Implement a vidcvideo device to act as the parent for the VIDC console.
1997-10-14 11:47:17 +00:00
mark 8d8f4fc1a7 arm32 kernel source restructure
- Moved here from arm32/dev as these files are specific to the
    VIDC console.
1997-10-14 11:45:30 +00:00
mark ed854d0d12 Fix the declarations of the interrupt handlers to accept void * pointers
as the only argument and cast this as appropriate now that the function
pointers to the interrupt registration functions are fully prototyped.
1997-01-28 04:20:58 +00:00
mark 00e9f2af37 inline -> __inline 1997-01-12 20:28:04 +00:00
mark 804b62c479 Major code clean up.
Removed a load of old debugging code that has served it purpose.
1996-10-15 01:20:48 +00:00
mark 695e09b29a Added generic support for the ARM7500 cpu rather than just the RC7500
motherboard.
Cleaned up a lot of code to match KNF.
When the device is attach the vidc refclk frequency is reported along
with the amount of video memory and the type.
1996-10-15 01:15:24 +00:00
mark 7cfe42e258 Overhauled and fixed teh console blanking code. Things no longer
go wrong when console blanking occurs while X is running.
The blanktime ioctl now allows blanking times to be set, force
immediate blanking or diable blanking on a per virtual console basis.
Updated the console version number to revision D.
1996-10-15 01:10:06 +00:00
mark be9a8e231a Removed the function vidc_col() as this has been guarded with #if 0
for a long time now as the function was replaced with a macro.
1996-10-15 01:05:04 +00:00
mark a2a2b693c8 Removed a load on unused code that has been hiding here.
The functions vidcconsolemc_render() and vidcconsolemc_cls()
will call mcount if GPROF and PROFILE_ASM are both defined.
1996-10-15 00:55:26 +00:00
mark c90d8612e7 General code cnd formatting clean up. 1996-10-15 00:52:21 +00:00
christos ca36ac9ef4 backout previous kprintf change 1996-10-13 03:05:43 +00:00
mark f5ee3d4ce6 Make sure all routes through vt_curadr() range check the x and y coordinates.
This fixes a nasty bug that could kill the kernel without ever reporting
a panic.
1996-07-05 19:07:55 +00:00
mark 3ed835cae8 Only attach 1 VSYNC interrupt handler instead of a interrupt handler per
virtual console.
1996-06-12 19:12:57 +00:00
mark 59e4127d96 Use the sync information in the mode definition to set the VIDC sync
polarity.
1996-06-03 22:14:56 +00:00
mark d4b96c659d Fixed -Wall compiler warnings introduced when fixing the vt220 printing
bug.
1996-06-03 22:08:37 +00:00
mark 6da55f03ee RCS Id police. 1996-06-03 21:35:10 +00:00
mark 169f7f2a06 Fixed the vt220 printing bug.
Fixed the 'loss of console output while X is switched in' bug.
1996-05-12 21:42:44 +00:00
mark 8a3097c984 Fixed panic strings with %i in them where it should have been %s. 1996-05-12 21:40:21 +00:00
mark dbf4689e65 Fixed -Wall compiler warnings.
Implemented ESC [g sequence.
1996-05-06 00:47:20 +00:00
mark 2dd637939f Fixed VIDC register setup for RC7500 boards. 1996-05-06 00:45:09 +00:00
mark aa46efbc0e Fixed compiler warnings obtained with -Wall. 1996-04-26 20:59:07 +00:00
mark 8b4332315d Fixed buffering of console output. While cold or while polling,
buffering is disabled.
Tidied up a bit of the code inline with kernel coding style.
1996-04-26 20:56:04 +00:00
mark 7bbb222f40 Raise the spl level to spltty while manipulating the virtual console
linked lists.
A couple of minor code cleanups.
1996-04-19 20:03:37 +00:00
mark 4b10d39797 Added support for RC7500 motherboards and non VRAM video systems.
Use frequency lookup table for RC7500 systems.
1996-03-28 21:18:40 +00:00
mark 30fe804249 Define a name for the vsync interrupt handler. 1996-03-27 21:47:29 +00:00
mark 3689687703 RCS Id police. 1996-03-18 19:33:04 +00:00
thorpej 5c67e5fad9 New device attachment scheme:
- split softc size and match/attach out from cfdriver into
	  a new struct cfattach.

	- new "attach" directive for files.*.  May specify the name of
	  the cfattach structure, so that devices may be easily attached
	  to parents with different autoconfiguration semantics.
1996-03-17 01:16:48 +00:00
thorpej 58a3d4e742 RCS id police. 1996-03-16 00:17:52 +00:00
mark 7e883ebf5b Fixed kernel panic when the debugger called cngetc(). 1996-02-15 22:54:45 +00:00
mark b92a2f676a patch from rob black to fix support for 1bpp Xservers. 1996-02-07 19:11:02 +00:00
mark 20c26bade4 Removed redundant debugging text. Minor code tidy ups. 1996-02-05 16:49:01 +00:00
mycroft fc9d84fb46 assym.s -> assym.h
(Some ports did this already.)
1996-02-02 02:34:09 +00:00
mark 6b8930c21c Fixed the panic in the terminal code caused by a mode change ioctl on
the vidcvideo device.
1996-02-01 23:50:20 +00:00
mark 386ad2ff0f Initial commit of the NetBSD/arm32 port. 1996-01-31 23:14:53 +00:00