Commit Graph

59 Commits

Author SHA1 Message Date
mycroft f25d5fc601 Fix another obvious linesw problem. 2000-12-16 21:16:22 +00:00
mycroft 8a6c4ba10b Fix an obvious braino in the line discipline change. 2000-12-16 21:09:18 +00:00
eeh bc7363329c Adapt to new line discipline scheme. 2000-11-02 00:26:35 +00:00
mark 3dc04c2b47 Fix compile problem. Fixes PR 10670. 2000-08-08 08:19:38 +00:00
mrg d726c1dfc5 remove redundant vm includes. 2000-06-27 09:09:51 +00:00
mrg 2f159a1bac remove/move more mach vm header files:
<vm/pglist.h> -> <uvm/uvm_pglist.h>
	<vm/vm_inherit.h> -> <uvm/uvm_inherit.h>
	<vm/vm_kern.h> -> into <uvm/uvm_extern.h>
	<vm/vm_object.h> -> nothing
	<vm/vm_pager.h> -> into <uvm/uvm_pager.h>

also includes a bunch of <vm/vm_page.h> include removals (due to redudancy
with <vm/vm.h>), and a scattering of other similar headers.
2000-06-26 14:20:25 +00:00
simonb 889c658b5b Change the kernel mmap interface so that the offset to map is an
"off_t" and the return value is a "paddr_t" to allow mappings
at offsets past 2^31 bytes.  Somewhat inspired by FreeBSD, which
only changed the offset to a "vm_offset_t".

Includes updates for the i386, pc532 and sh3 mmmmap from Jason Thorpe.
2000-06-26 04:55:19 +00:00
thorpej b667a5a357 New callout mechanism with two major improvements over the old
timeout()/untimeout() API:
- Clients supply callout handle storage, thus eliminating problems of
  resource allocation.
- Insertion and removal of callouts is constant time, important as
  this facility is used quite a lot in the kernel.

The old timeout()/untimeout() API has been removed from the kernel.
2000-03-23 06:30:07 +00:00
darrenr 162b0b1dab __P(()) -> __P((void)) 2000-03-16 23:21:05 +00:00
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