scottr
eb910c35ce
From Ken'ichi Ishizaka: correct the calculation of the frame buffer
...
offset by masking off garbage bits in the DAFB v7. This has been
tested at all resolutions and common color depths on the LC47x.
1999-04-28 05:24:08 +00:00
thorpej
b8073b401b
Garbage-collect the VM_MBUF_SIZE constant. Instead, use the size
...
(nmbclusters * mclbytes), so that the right amount of KVA space is
allocated if those variables are patched.
1999-04-26 22:46:44 +00:00
simonb
5d8b1ef3e4
g/c REAL_CLISTS.
1999-04-25 02:56:26 +00:00
ender
e544636cde
Disable ASC interrupt enabling for now. We don't currently use it, and
...
it seems to be causing hangs at attach time on LCII's.
1999-04-22 18:00:34 +00:00
chs
05b971dd5f
in pmap_pageable(), rather than marking a PT page as not modified
...
to trick the pagedaemon into freeing it later, just unmap the page
and free it immediately. fixes PR 7337.
1999-04-22 04:24:52 +00:00
scottr
136972df3a
Actually, the last change solved a different but related problem than
...
the one mentioned in PR 7376. By clearing the display in iteon()
instead, we can kill both birds with the same stone.
1999-04-21 06:00:07 +00:00
scottr
48ff49fee0
When attaching the ite console, clear the entire display rather than assuming
...
that the emulator will do it for us. (The emulator will only clear
full character-sized rows.) Incidentally fixes PR 7376.
1999-04-21 05:18:17 +00:00
kleink
ed74932033
Add COMPAT_SVR4 for m68k.
1999-04-19 21:22:56 +00:00
pk
b13e5d1469
Quote "AS IS" as in the majority of Carnegy Mellon notices.
1999-04-12 20:38:17 +00:00
chs
f455dd6596
add a `flags' argument to uvm_pagealloc_strat().
...
define a flag UVM_PGA_USERESERVE to allow non-kernel object
allocations to use pages from the reserve.
use the new flag for allocations in pmap modules.
1999-04-11 04:04:04 +00:00
scottr
d6fd16c828
vm_size_t -> vsize_t
1999-04-07 06:45:14 +00:00
scottr
fd295b15e1
Turn avail_next, avail_range, and avail_remaining into local variables. Also,
...
change vm_size_t -> vsize_t.
1999-04-07 06:14:33 +00:00
scottr
466895623f
Cleanup: GC unused externs, and some KNF.
1999-04-07 05:59:14 +00:00
pk
c40eb1cd97
Fix a pasto in copyright text which has been procreating like rabbits..
1999-04-06 20:09:18 +00:00
scottr
e169535fc2
Include zsc.h so that SCC soft interrupts have a chance. Fixes PR 7313.
1999-04-06 05:55:06 +00:00
scottr
dc9ec7ace3
Sync with hp300.
1999-04-06 04:04:45 +00:00
scottr
fdd8445219
Prototype kvtop() here.
1999-04-06 03:40:23 +00:00
scottr
bc071709f2
Pull in the many and various hp300 pmap changes that Jason's done
...
so far this year. There are very few appreciable differences left
between this code and the hp300 version.
1999-04-05 06:34:01 +00:00
thorpej
967b8c433c
Don't call configure() from cpu_startup().
1999-04-01 00:17:45 +00:00
scottr
0848c89c55
The last change wasn't quite enough to build libc during a 'make build'.
...
Bump DFLDSIZ, too.
1999-03-31 14:58:15 +00:00
scottr
9c8f206e65
Bump DFLSSIZ so that we can build libc.so.*, and limit MAXSSIZ independently
...
of MAXDSIZ.
1999-03-31 06:53:56 +00:00
scottr
9506e86204
This file is no longer used by anything.
1999-03-27 06:13:51 +00:00
mycroft
93768384ee
Fix a bug in pmap_collect_pv(), even though nobody currently uses it:
...
When we put a page on the collection list, we must subtract NPVPPG from the
total free count: one for each pv_entry that's free in that page, and one for
each free pv_entry in other pages that we're going to eat by moving the ones
in the page being collected.
1999-03-27 05:57:02 +00:00
briggs
f4647f0ec7
Compile itecnputc if NZSC == 0.
1999-03-27 05:53:05 +00:00
scottr
5e3349678a
Update from Hauke to resolve some relatively severe performance problems.
1999-03-27 05:45:19 +00:00
briggs
b15dc3ed17
Only handle SIR_SERIAL if NZSC > 0.
1999-03-27 05:21:20 +00:00
briggs
f41bf819c2
Allow this to compile if NZSC is 0.
1999-03-27 05:19:34 +00:00
briggs
b056247aa9
Make this compile again--pass access_type just the same as prot.
1999-03-27 05:01:28 +00:00
mycroft
9affa543a5
Oops; forgot to change some pmap_enter() calls.
1999-03-27 03:34:08 +00:00
wrstuden
8a4ca40c65
Enable pps support, only if CLOCAL set & MDMBUF clear and no clock present.
1999-03-27 01:17:03 +00:00
mycroft
12d512bbb7
Oops; vm_offset_t -> vaddr_t.
1999-03-27 00:30:06 +00:00
mycroft
9c6b797796
Changes for modified pmap_enter() API:
...
* Map the message buffer with access_type = VM_PROT_READ|VM_PROT_WRITE `just
because'.
* Map the file system buffers with access_type = VM_PROT_READ|VM_PROT_WRITE to
avoid possible problems with pagemove().
* Do not use VM_PROT_EXEC with either of the above.
* Map pages for /dev/mem with access_type = prot. Also, DO NOT use
pmap_kenter() for this, as we DO NOT want to lose modification information.
* Map pages in dumpsys() with VM_PROT_READ.
* Map pages in m68k mappedcopyin()/mappedcopyout() and writeback() with
access_type = prot.
* For now, bus_dma*(), pmap_map(), vmapbuf(), and similar functions still use
access_type = 0. This should probably be revisited.
1999-03-26 23:41:25 +00:00
ender
85974131bd
Include uvm/uvm.h instead of uvm/uvm_extern.h because we need the prototype
...
for uvm_unmap() in order to compile a kernel with GRF_COMPAT defined.
Fix provided by Frederick Bruckman <fb@enteract.com> in PR #7237 .
1999-03-26 22:52:15 +00:00
ender
4533a22d80
NetBSD/mac68k installation kernel config
1999-03-26 08:42:49 +00:00
ender
235abbff06
Garbage collect a bit of old VM missed by the initial pass.
...
Fix supplied by Dave Huang <khym@bga.com> in PR #7226 .
1999-03-24 22:28:49 +00:00
mrg
ca5f9685bb
clean up kernel/config files files for machVM lossage.
1999-03-24 06:06:09 +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
drochner
76fa1751fe
Add a macro to check for sufficient pointer alignment in bus.h context,
...
"BUS_SPACE_ALIGNED_POINTER()".
Equal to the param.h "ALIGNED_POINTER()" normally, but obeys additional
requirements of the bus_space_xxx_n() macros. (BUS_SPACE_DEBUG)
1999-03-23 21:29:03 +00:00
wrstuden
a7678930b4
Oops. mac68k does NOT use PCLK as a clock source, so don't enable it in
...
the default channel setup.
1999-03-23 17:55:03 +00:00
scottr
4982fb8fdb
Fix an obscure bug in send_adb_cuda() found be comparison with
...
the macppc version.
1999-03-18 09:10:19 +00:00
chs
ab7269f62a
if uvm_fault() fails with KERN_RESOURCE_SHORTAGE, send a SIGKILL
...
and print a message about it. this will be used to recover from
out-of-swap conditions.
1999-03-18 04:56:01 +00:00
sommerfe
bc533621ed
defopt MINIROOTSIZE
1999-03-17 18:59:21 +00:00
minoura
e518820ca8
Pullin m68k/ieee.h.
1999-03-15 11:55:53 +00:00
perry
d446fb449c
exterminate ovbcopy. patches provided by Erik Bertelsen, pr-7145
1999-03-12 22:42:30 +00:00
scottr
2ea6ea5db5
Add the PowerBook 170 to what appears to be the correct
...
class of systems, based on the Apple dev notes for this system.
1999-03-05 06:45:41 +00:00
scottr
44a3f70740
Remove ADB_DEBUG; it's not fatal, but it adds a bunch of code that's
...
disabled by default.
1999-03-05 06:33:18 +00:00
scottr
e640c5d7cc
Move all IPL setup to intr.c, and do some sanity checking.
1999-02-28 04:52:07 +00:00
scottr
d32ed292af
defopt BUFCACHE and BUFPAGES.
1999-02-27 06:39:34 +00:00
scottr
21c8d6ed43
Fix tyop in last.
1999-02-27 05:28:35 +00:00
scottr
c1037ea51f
Support the BUFCACHE option.
1999-02-27 03:26:09 +00:00