Commit Graph

80527 Commits

Author SHA1 Message Date
perry 6859233343 bcopy is dead on i386. the one use left in the kernel was in locore.s
itself, and that got replaced with a call to memcpy. Ross deserves
most of the credit.
note that if you've seen bcopy elsewhere in the kernel, systm.h
defines it as a macro...
2001-05-16 22:09:36 +00:00
mjacob 90cabee3fb Per helpful suggestion from LukeM- make INLINE usage consistent (and
use correct __inline format).
2001-05-16 21:41:52 +00:00
jdolecek 8e532c1ad1 Make sure to allocate big enough mbuf data area before elevating
interrupt priority, to avoid allocating additional mbufs on
splsched(). Move some other misc bits out of splched()-guarded
section. This should make the code a bit more friendly wrt e.g.
clock interrupts. Sligh performance improvement was observed with
this change (like 1-2% on slow machine), even.

This also fixes ancient kern/2478 by Bill Sommerfeld.
2001-05-16 20:30:52 +00:00
scw c22fb1db55 Finally nobble the bus_dmamap_sync() problem with osiop(4).
Basically, bus_dmamap_sync() `PREREAD' needs to flush the cache
for the start and end of the region if it is not aligned to
a cacheline boundary, otherwise a subsequent POSTREAD can *purge*
valid data which was in the cacheline but *outside* the region
passed to bus_dmamap_sync().

Bus snooping doesn't always help here because osiop(4) calls
bus_dmamap_sync() with POSTREAD even if no data was actually
transferred! (And we can't rely on snooping on the 68060 models anyway).
2001-05-16 19:06:46 +00:00
drochner 35f2b9136a get up-to-date (cleanup, get rid of vm_offset_t) 2001-05-16 18:50:52 +00:00
drochner 2df9b8f13f get up-to-date (cleanup, splimp->splvm) 2001-05-16 18:49:51 +00:00
drochner 038ce6b8af get up-to-date (sprinkle pmap_update()) 2001-05-16 18:49:05 +00:00
drochner 26085708d5 get up-to-date (get rid of vm specific error codes, sprinkle pmap_update()) 2001-05-16 18:48:21 +00:00
drochner 29182d41aa get up-to-date (splimp->splvm, cleanup, sprinkle pmap_update()) 2001-05-16 18:47:04 +00:00
simonb 96a430ba30 If _SOFT_FLOAT is defined, pull floating point va_args from the GPR
area and not the FPR area (by having the double argument type test
always fail).

Fixes problems using <stdarg.h> with -msoft-float.
2001-05-16 15:41:03 +00:00
simonb 38e4ed8f09 Pass -D_SOFT_FLOAT to cpp if called with -msoft-float. 2001-05-16 15:36:47 +00:00
simonb 9c23ab2d54 Add "switch to ELF". 2001-05-16 15:01:40 +00:00
ichiro 8a78799bf4 support BUFFALO AirStation WLI-PCM-S11
this card are PRISM2.5 card.
2001-05-16 14:33:21 +00:00
christos 4802a48290 PR/12956: Grant Beattie: Explain how to copy the timezone files so that
programs run in the proper timezone
2001-05-16 14:27:58 +00:00
uch 3c3caa0eb2 don't generate opt_spec_platform.h 2001-05-16 14:26:40 +00:00
ad c6da2452c0 Put back /usr/include/dev/tc/sticreg.h. 2001-05-16 13:48:52 +00:00
ichiro 25221c413e regen 2001-05-16 12:57:55 +00:00
ichiro 4c575cc65b add product
BUFFALO AirStation 11Mbps WLAN Card
2001-05-16 12:57:27 +00:00
msaitoh cbcd644ce8 sigreturn() fix (from kleink) 2001-05-16 12:42:38 +00:00
blymn 3f76420b8a Fixed wrapping of multiline fields. 2001-05-16 11:51:16 +00:00
enami 43923690d3 Add an entry for Victor MP-C303. 2001-05-16 11:13:20 +00:00
enami 389aaa8b08 Regen. 2001-05-16 11:06:27 +00:00
enami 7cd4cb0d25 Define platid for Victor InterLink MP-C303 2001-05-16 11:04:57 +00:00
tsubai 9b368d61a4 Add AirMac frontend. 2001-05-16 10:56:42 +00:00
enami fb619e9a70 Calc. cpu speed for VR4122. 2001-05-16 10:49:18 +00:00
tsubai eef5fa50d3 Big-endian support. 2001-05-16 10:45:36 +00:00
leo cfc3edb550 remove some debugging leftovers. 2001-05-16 08:45:50 +00:00
enami 2f39ebba50 Victor MP-C303 uses 4k pagesize. So, ask system instead of hardcoding it. 2001-05-16 08:40:51 +00:00
enami 422ad4763b The lower bound for getPage is _addr_table_idx, not 0. 2001-05-16 08:37:44 +00:00
enami 679894e9ae Add missing close paren in message. 2001-05-16 08:19:42 +00:00
kanaoka aa09aa91c7 Search the entire device-space of bus 0 if the router device
address is set to 000:00:0, and the compatible router entry
is undefined.

  Patch PR port-i386/12880 by Dave Sainty <dave@dtsp.co.nz>.
2001-05-16 08:10:36 +00:00
leo 8406481cd3 Regen. 2001-05-16 07:53:54 +00:00
ichiro 15833cae3b add prism chip identity, Prism2 with SST flush. 2001-05-16 07:53:28 +00:00
leo 7cab6084a4 Fix errors in previous commit:
- forgot PCI bus
 - forgot pckbd config
2001-05-16 07:50:29 +00:00
enami e58d00a406 Use relative path for symlink target so that it won't point outside of tree. 2001-05-16 07:09:26 +00:00
lukem ff47810d07 fix previous delint 2001-05-16 06:29:01 +00:00
matt c45b32243a Add a VAXANY type. Eventually to used in INSTALL / GENERIC to easily
include support for all VAX platforms
2001-05-16 05:36:53 +00:00
perry 4201bf1ae0 nuke bcopyw and bcopyb. It is unclear what they were for, and nothing
called them.
2001-05-16 05:01:28 +00:00
lukem c15945130c delint: remove unnecessary assignment to same objection (hidden in #define) 2001-05-16 04:50:11 +00:00
lukem be493349d2 delint: zero sized array initalisation is a gccism 2001-05-16 04:39:03 +00:00
lukem 927097774a delint: remove volatile from fxp_mdi_read() decl 2001-05-16 04:20:55 +00:00
perry e266791dab Add a couple of include LINTSTUBs and fix some LINTSTUB prototypes.
Still exits hard because of bcopy/memcpy problem, but that is a
legitimate problem. bcopy should go and be replaced with memcpy to fix this.
2001-05-16 04:18:52 +00:00
perry 4be93c9ed7 Add a /* LINTSTUB: include <foo.h> */ mechanism. 2001-05-16 04:17:04 +00:00
mjacob b81e69fa8e beginning basic 2300 infrstructure support 2001-05-16 03:58:34 +00:00
perry bf16779f43 allow long typed functions 2001-05-16 03:58:14 +00:00
mjacob 9f2c2c7a8c Keep up with the Joneses.... further synchronization for the eventual
implementation in NetBSD for target mode.
2001-05-16 03:58:03 +00:00
mjacob 73eba1a839 Long overdue- put locks on the usage of the mailbox command stuff. This
keeps us from stomping on ourselves.

Say we're in the middle of re-evaluating a loop (and sleeping) when a
command completes, or a timer refires, and this *other* thread decides
*it* wants to start re-evaluating the loop. Bad news.

We have to be a bit careful- if we can't acquire the MBOX semaphore at
interrupt level, we will simulate a host interface error. This is a bit
of a temp workaround. There's some work underway driven by a NetBSD
commercial user that will try and force most mailbox stuff into a
part A/part B interrupt driven model.
2001-05-16 03:55:15 +00:00
perry 2ce3ea6b4e systm.h says these take const void * parameters 2001-05-16 03:54:24 +00:00
perry 6aea3cdfa2 fuword returns a long, according to systm.h 2001-05-16 03:52:58 +00:00
mjacob a1dd9d78ee It's 'role None', not 'role No'.
Also, pay attention to the difference in the ISPASYNC_CHANGE_NOTIFY
between loop and fabric changes.
2001-05-16 03:52:10 +00:00