mycroft
f37f08c48e
This doesn't need opt_compat_netbsd.h any more.
1998-07-09 09:27:33 +00:00
scottr
7b68890c7f
Fix a problem with the reworked reboot code on the IIci: don't try to
...
reference variables after the MMU is disabled.
1998-07-09 06:02:50 +00:00
mycroft
3a64270ca6
Back out the change from TCP/IP vol 2, in revision 1.7, which removed TH_FIN
...
from the output flags for CLOSING state. There is no harm in retransmitting
the FIN, and this change has unexpected side effects that break simultaneous
close behaviour.
1998-07-09 05:49:56 +00:00
mycroft
401accfd7a
Don't #ifdef the encoding compatibility crud. It's needed for source
...
compatibility with other systems and much third party software.
1998-07-09 02:45:45 +00:00
mark
7b6cd6a0a6
Guard opt_cputypes.h include with _KERNEL && !LKM.
1998-07-09 02:43:25 +00:00
mycroft
3158aca613
Fix the name of the ulinear_be mode.
1998-07-09 02:26:55 +00:00
mjacob
93ecc95d92
Fix printing of real mem. I'm going to, for right now, leave it to
...
someone else to figure out the best machine independent fashion of
fixing ptoa to handle > 32 bits.
1998-07-09 00:46:17 +00:00
cgd
da88f08f26
if you're going to length-check a field before using it, length-check
...
the field you're actually going to use. (bp_sname was being checked
instead of bp_file.)
1998-07-08 22:14:10 +00:00
kleink
2fc150acf9
For the sake of XPG3 and later, provide TMP_MAX; consistent with the defintion
...
in <stdio.h>. Also, rearrange name space protection a bit.
1998-07-08 19:51:25 +00:00
kleink
6fd55f2089
Move the definition of NZERO from <sys/param.h> to <sys/syslimits.h>, since
...
XPG3 and later require it to be made visible by inclusion of <limits.h>,
which, in turn, includes <sys/syslimits.h>. The <sys/param.h> API is not
affected by this change, since <sys/syslimits.h> is included from there, too.
1998-07-08 19:31:33 +00:00
pk
f640e832b1
Make sure to release buffers only once.
1998-07-08 18:41:24 +00:00
sommerfe
3858a1179a
Only run pppasyncstart (sc->sc_start) from the netisr handler.
...
This allows pppoutput to be called from splimp (e.g., when ipflow is
in use.) without requiring pppasyncstart to run at splimp.
This is believed to fix PR5624.
1998-07-08 18:05:48 +00:00
drochner
acea5c2e79
add dependency to get the version number right
1998-07-08 17:47:42 +00:00
drochner
13b329cdd2
bump version number to reflect the partition ID change
...
(should have been done long ago)
1998-07-08 17:46:21 +00:00
thorpej
bca69afed6
Place the software PG_EXEC PTE bit into the protection array, instead
...
of OR'ing it in manually.
1998-07-08 17:30:45 +00:00
mjacob
6b092524ea
stale beer- place structure in right file
1998-07-08 17:20:42 +00:00
thorpej
a8d2213784
Define a macro that returns the mask of PALcode PTE bits that we care
...
about when determining if a TBI is necessary (i.e. the PALcode bits minus
the FOx bits, since we always track those).
1998-07-08 17:19:46 +00:00
thorpej
0792d7f3db
Define a shorthand macro that represents the mask of PTE bits that the
...
PALcode cares about.
1998-07-08 16:48:49 +00:00
thorpej
3f776dfbe2
Cosmetic change.
1998-07-08 16:46:51 +00:00
mjacob
434b3fe82b
tentative better fix for allocating the correct number of mchkinfo structs
1998-07-08 16:28:25 +00:00
mrg
31283e2cd0
fix error in previous pointed out by bad. minor KNFing.
1998-07-08 15:17:57 +00:00
thorpej
e32f380030
Garbage-collect some of the old ISA DMA code.
1998-07-08 07:56:47 +00:00
thorpej
8bbd7378c5
RCS ID police.
1998-07-08 07:56:13 +00:00
hubertf
cab003200b
Abort on "rm -rf /"...
1998-07-08 07:17:30 +00:00
thorpej
48abe1f910
From pmap.new.c (UVM case only):
...
Put the first 16M of RAM onto the "first16" free list, and everthing
else onto the default free list.
1998-07-08 05:41:59 +00:00
thorpej
9bbe01f100
Note that UVM is mandatory on the Shark (otherwise ISA DMA won't work)
1998-07-08 05:27:17 +00:00
mjacob
ff376fbd03
Doh! Jason caught me being really stupid. There isn't necessarily
...
a linear 0..N mapping out of alpha_cpu_whami - which is what I was
using to index the new cpu machine check array. This is a quick hack
back to just using the first element while I think of a kinder function
that will do the function (per-platform) of whami->VIRTUAL CPU ID, which
if you think about it, is really necessary anyway.
1998-07-08 05:25:40 +00:00
thorpej
1b5fbe0b89
DRQ 4 is used to chain the two 8237s together. Make sure it's always
...
cascaded and that it will be unmasked when DMA is thawed after being
frozen. (This also has the effect of making sure that no device ever
erroneously gets DRQ 4.)
1998-07-08 05:23:23 +00:00
thorpej
30291f0f2f
Declare the ofisa soundblaster attachment.
1998-07-08 05:14:10 +00:00
thorpej
e332a993e2
Initialize the machdep ISA DMA structures once we've done OpenFirmware
...
ISA DMA initialization.
1998-07-08 05:01:56 +00:00
thorpej
8d10a53ddb
Use MI ISA DMA code (XXX this needs some work).
1998-07-08 05:01:17 +00:00
thorpej
fcd0183e81
Remove all of the home-grown ISA DMA code, and translate the OpenFirmware
...
"dma-ranges" property into the pmap's ISA DMA ranges.
1998-07-08 05:00:40 +00:00
thorpej
28cbb7c537
Provide the ISA chipset tag. XXX This should go away in favor of a real
...
ofisa attachment of the "cs" driver.
1998-07-08 04:59:46 +00:00
thorpej
f5535d79ca
Provide the ISA chipset tag.
1998-07-08 04:59:02 +00:00
thorpej
8eeb7eaad0
Implement an ISA bus_dma back-end for NetBSD/arm32. Tested only on the
...
Shark, but should work for other ISA-"enabled" arm32 systems, as well.
1998-07-08 04:58:03 +00:00
thorpej
696858d5f9
Nuke these; we use the MI ISA DMA code now.
1998-07-08 04:57:13 +00:00
thorpej
98b07e4b07
Provide an ISA chipset tag via isa_attach_hook(). G/c home-grown
...
ISA DMA code, in favor of the MI code.
1998-07-08 04:56:13 +00:00
thorpej
b51b6b7c04
Lift-and-tweak from the i386 port (near-complete rewrite), providing
...
the ISA DMA stuff expected by machine-independent code.
1998-07-08 04:54:47 +00:00
thorpej
eeb19dd33c
Remember our ISA chipset tag.
1998-07-08 04:53:33 +00:00
thorpej
f7e400a7ab
Use the machine-independent ISA DMA code.
...
XXX We use COHERENT for now; need to deal with sync'ing DMA maps being
XXX used by the isadma driver.
1998-07-08 04:53:03 +00:00
thorpej
a177e7aedc
Rearrange this a little so we can use MI ISA DMA code. XXX Should just
...
pull in files.isa, but Not Right Now, apparently.
Add the sound blaster driver here (XXX see above), and build the
arm32 bus_dma back-end.
1998-07-08 04:51:12 +00:00
thorpej
8e03657b43
Define two free lists: default, and one to protect ISA DMA-safe memory.
1998-07-08 04:49:21 +00:00
thorpej
d7d001fe70
Allow platform-specific code to define DMA-safe memory ranges for ISA.
...
If pages being loaded into the VM system intersect with any of these
ranges, the intersecting pages will be placed on a lower-priority
free list to protect them.
1998-07-08 04:48:20 +00:00
thorpej
d47ea67c1f
Define one page free list, and put all pages on it.
1998-07-08 04:43:18 +00:00
thorpej
6fa49323d7
Put VMEbus RAM on a lower priority free list, since it's much slower (because
...
the MVME-147 doesn't cache access to any VMEbus space).
1998-07-08 04:40:28 +00:00
thorpej
6fb9a8addf
Define one page free list, and put all pages on it.
1998-07-08 04:39:34 +00:00
thorpej
1bd007d54b
Define 2 free lists: a default, and a "first16", which is where the first
...
16M of RAM goes (in an effort to protect ISA DMA-safe memory).
1998-07-08 04:38:33 +00:00
thorpej
26287d01ec
Put the first 16M of RAM onto the "first16" free list, and everthing
...
else onto the default free list.
1998-07-08 04:37:43 +00:00
thorpej
a5dd574b12
Attempt to pull buffer cache pages out of the "first16" free list, in
...
an effort to avoid bouncing file system buffers (it's not clear how much
of a win this is, and it'll be pointless w/ a unified buffer cache, but
what the heck).
1998-07-08 04:36:39 +00:00
thorpej
1ea93eea1c
Define one page free list, and put all pages on it.
1998-07-08 04:35:23 +00:00