thorpej
6a33c86623
HAVE_GCC28 -> HAVE_EGCS, and make it match gcc 2.9 as well. Also,
...
make the use of -Wno-uninitialized explicit, don't rely on a compiler
hack to do it for us.
2000-05-09 00:32:19 +00:00
augustss
3a6e3a4670
Add (sometimes commented out) MIIVERBOSE option.
2000-05-08 13:49:44 +00:00
mycroft
a7fb64072e
Fix the RCS tag format. Duh.
2000-05-08 03:11:06 +00:00
mycroft
f8e0411615
Make the audioamd assembler code compile again.
2000-05-08 03:09:54 +00:00
mycroft
f5bd37be57
Make the SPARC audioamd driver at least *compile*. Well, the C code, that is.
...
*sigh*
2000-05-08 02:44:31 +00:00
hannken
0b2854eb6c
Fix for lint during build of libc.
2000-05-05 20:12:00 +00:00
augustss
e991ee6035
Use correct file name for amd7930.
2000-05-05 14:19:25 +00:00
pk
f622dc8618
Define some more bits in the MXCC control register.
2000-05-05 11:07:15 +00:00
pk
c49e7076d3
Simplify pmap_page_protect(); modelled after a similar change by
...
Art Grabowski in Openbsd.
2000-05-02 13:06:27 +00:00
pk
d46e0d77c0
Remove unused code: getptesw4m(),setptesw4m()
2000-05-02 10:35:06 +00:00
augustss
361f2141f7
Adapt to new am7930 driver. PR 10033 from Gregory McGarry.
2000-05-02 06:35:12 +00:00
thorpej
855b79db92
Let each platform typedef the new __cpu_simple_lock_t, which should
...
be the most efficient type used for the atomic operations in the
simplelock structure, and should also be __volatile.
2000-05-02 04:41:04 +00:00
pk
91ec70f36d
- De-inline VA2PA(); it isn't in any time-critical path. Saves a bunch of space.
...
- Disable special-cased viking cache flushing in setpgt4m(). This work-around
should no longer be necessary.
- Remove some misc. dead code.
2000-05-01 15:19:46 +00:00
pk
d4ac7f24ca
Implement HyperSPARC specific pmap_{zero,copy}_page functions.
2000-05-01 14:06:41 +00:00
pk
784c538c3f
Add definitions of HyperSPARC block fill/copy ASIs.
2000-05-01 14:05:53 +00:00
pk
e327115496
FIx declaration in __ldstub.
2000-04-30 22:15:30 +00:00
pk
6832a2d6c9
Arrange to call uvm_pageidlezero() from idle loop.
2000-04-30 21:32:44 +00:00
pk
88fc960805
Define offset for uvm.page_idle_zero.
2000-04-30 21:29:16 +00:00
pk
1b8cac1bd9
Implement MXCC versions for pmap_{zero,copy}_page().
2000-04-30 21:22:28 +00:00
pk
78391926bf
Allow for CPU specific page clear and page copy functions.
2000-04-30 21:09:43 +00:00
pk
99ef6f17b5
Remove not-so-useful `#if DEBUG' code.
2000-04-30 14:23:29 +00:00
pk
3c5ac0b689
Rename MXCC control register.
2000-04-30 14:19:37 +00:00
pk
7373241c4c
Rename MXCC control register.
...
Add MXCC stream register definitions.
2000-04-30 14:18:52 +00:00
thorpej
dc8f3d3b3f
Oops, install <machine/lock.h> on these systems, too.
2000-04-29 03:45:42 +00:00
thorpej
f51470a514
Require that each each MACHINE/MACHINE_ARCH supply a lock.h. This file
...
contains the values __SIMPLELOCK_LOCKED and __SIMPLELOCK_UNLOCKED, which
replace the old SIMPLELOCK_LOCKED and SIMPLELOCK_UNLOCKED. These files
are also required to supply inline functions __cpu_simple_lock(),
__cpu_simple_lock_try(), and __cpu_simple_unlock() if locking is to be
supported on that platform (i.e. if MULTIPROCESSOR is defined in the
_KERNEL case). Change these functions to take an int * (&alp->lock_data)
rather than the struct simplelock * itself.
These changes make it possible for userland to use the locking primitives
by including <machine/lock.h>.
2000-04-29 03:31:45 +00:00
pk
43cdacc18b
ctx_alloc: set context before flushing a stolen context's cache
2000-04-20 13:59:02 +00:00
itojun
3be41bae18
add stf pseudo interface (commented out due to possible security risks)
2000-04-19 06:50:27 +00:00
pk
4665cccb20
Comment-out the RASTERCONSOLE_{BG,FG} color settings; they represent
...
the default initialization.
2000-04-17 21:48:23 +00:00
pk
a558005cec
When constructing `ri_devcmap[]', pack four instances of the LUTs in each
...
32 bit wide entry (as not documented in the non-existent rasops(9)..)
2000-04-17 20:37:28 +00:00
pk
d5a5871d3c
Make sure to reset the CPU context in ctx_free().
2000-04-17 20:32:00 +00:00
pk
470504f184
Use screen attributes passed to our hardware rasops routines.
...
Move colormap initialization to cg6reset(), so this is also done
on last close of the framebuffer device (e.g. after X server shutdown).
2000-04-16 22:17:03 +00:00
pk
a644297344
Initialize the rasops device colormap to match colormaps used by
...
our supported devices (including even coloured text on the console).
2000-04-16 22:12:05 +00:00
pk
065ce82243
Switch initial colormap setup again to be compatible with the PROM's,
...
i.e. background at index 0: white, foreground at index 255: black.
Also, allocate a slice for an ANSI colormap, so we can experiment
with coloured text on the bare console.
2000-04-16 22:07:24 +00:00
pk
8505eb6375
Slight optimization when searching the video parameter table.
2000-04-16 21:01:43 +00:00
pk
20c3689343
Initialize local variable `bt' in cgthree_attach().
2000-04-14 19:36:43 +00:00
pk
cd955cb171
dvma_init: avoid integer variable overflow
2000-04-14 14:14:47 +00:00
tsutsui
7865e586d3
Typo in comments. (Zilog 8350 -> 8530)
2000-04-14 13:29:57 +00:00
christos
44c22dc618
make this compile with -DDEBUG_SVR4 [wrong variable name]
2000-04-12 15:13:15 +00:00
chs
1f7a988bd2
unconditionalize "ifdef sparc".
2000-04-12 04:06:41 +00:00
chs
19de42337d
add rudimentary support for tracing stacks back into user space.
2000-04-10 01:22:09 +00:00
christos
0884c7e58f
Disable previous; it makes things worse.
2000-04-09 05:48:07 +00:00
christos
d1ea7c73a4
Try to emulate the svr4 setpsr trap. Needed by lwp.
2000-04-09 05:25:37 +00:00
thorpej
4044b5a41c
Use separate callouts for motor-on and motor-off. Fixes a condition
...
where the floppy driver would wedge because a motor-on timeout would
be cancelled by another I/O operation cancelling a motor-off timeout.
From enami tsugutomo <enami@sm.sony.co.jp>.
2000-04-07 16:58:53 +00:00
pk
99dbc425e9
Use copyin/copyout to get a colormap from/to user space.
...
Also, prepare for the case of a colormap maintained in kernel space.
2000-04-04 21:47:17 +00:00
thorpej
d11a9a62e2
Fix fallout from callout.
2000-04-04 17:20:54 +00:00
minoura
78b105698a
Move dl* function definitions to libc on ELF.
...
Based on the patch supplied by Takuya Shiozaki <tshiozak@astec.co.jp>.
See http://mail-index.netbsd.org/tech-userlevel/2000/02/23/0000.html .
2000-04-02 15:35:47 +00:00
pk
b6a73eb3a1
Make this compile without RASTERCONSOLE too.
2000-03-31 12:58:54 +00:00
pk
a41d265271
Add hardware acceleration features for use with the RASTERCONSOLE option.
...
Code posted on port-sparc by `der Mouse'; it was slightly re-arranged to
fit the layout of this driver.
2000-03-30 13:57:50 +00:00
tsutsui
58714261cc
Remove register declarations.
2000-03-30 11:37:21 +00:00
kleink
230876cf26
Merge parts of chs-ubc2 into the trunk:
...
* Remove the casts to vaddr_t from the round_page() and trunc_page() macros to
make them type-generic, which is necessary i.e. to operate on file offsets
without truncating them.
* In due course, cast pointer arguments to these macros to an appropriate
integral type (paddr_t, vaddr_t).
Originally done by Chuck Silvers, updated by myself.
2000-03-26 20:42:21 +00:00