Commit Graph

91606 Commits

Author SHA1 Message Date
martin
5bb1b47a42 Do not .include <bsd.prog.mk> if building as a host tool. 2002-01-25 22:11:11 +00:00
fvdl
194ca09a3f Add bus_space_mmap. 2002-01-25 22:01:42 +00:00
fvdl
bd94b6db19 Add wsfont files to make building with wscons possible. 2002-01-25 22:01:12 +00:00
thorpej
f59990cae7 * Default dcache_inv_range to xscale_cache_flushD_rng for XScale
cores.
* For i80200 Step-A0 and Step-A1, set dcache_inv_range to
  xscale_cache_purgeD_rng to work around a bug where a D$
  "invalidate by address" doesn't properly clear the dirty
  bits on the cache block (i80200 errata item #25).
2002-01-25 21:33:26 +00:00
thorpej
08342df793 Overhaul bus_dmamap_sync for the ARM:
* Track which process (XXX really, vmspace) owns the mapping.  When
  we sync the map, if the mapping doesn't belong to the kernel or to
  the current process (XXX really, vmspace), then no cache fobbing
  is necessary, since the cache is Wb-Inv'd on context switch (XXX need
  to revisit this when we support FCSE).
* Be smarter about which cache operation we do when sync'ing the map:
  - PREREAD -- Invalidate D$ (XXX right now, we actually do Wb-Inv)
  - PREWRITE -- Write-back D$ (note, we do NOT invalidate here)
  - PREREAD|PREWRITE -- Wb-Inv D$

More work is needed here.  In particular, a version for CPUs
with write-through caches should be provided, to eliminate
the write-back steps (which are noops on such CPUs, but skipping
two branches would be nice).
2002-01-25 20:57:41 +00:00
thorpej
3fe7e33bdc When loading the bounce buffer into the DMA map, don't
pass in a proc, because the bounce buffer belongs to the
kernel.
2002-01-25 20:49:25 +00:00
wennmach
fbd3eb4819 sync usage() message with realty 2002-01-25 20:30:41 +00:00
thorpej
2c23251a7a ANSI'ify function decls. 2002-01-25 19:37:49 +00:00
tsutsui
b5d7745709 Remove extra brace. 2002-01-25 19:19:46 +00:00
thorpej
4e990d9ccb Overhaul of the ARM cache code. This is mostly a simplification
pass.  Rather than providing a whole slew of cache operations that
aren't ever used, distill them down to some useful primitives:

	icache_sync_all         Synchronize I-cache
	icache_sync_range       Synchronize I-cache range

	dcache_wbinv_all        Write-back and Invalidate D-cache
	dcache_wbinv_range      Write-back and Invalidate D-cache range
	dcache_inv_range        Invalidate D-cache range
	dcache_wb_range         Write-back D-cache range

	idcache_wbinv_all       Write-back and Invalidate D-cache,
				Invalidate I-cache
	idcache_wbinv_range     Write-back and Invalidate D-cache,
				Invalidate I-cache range

Note: This does not yet include an overhaul of the actual asm files
that implement the primitives.  Instead, we've provided a safe default
for each CPU type, and the individual CPU types can now be optimized
one at a time.
2002-01-25 19:19:22 +00:00
thorpej
8ed8f67cf7 Make the software copy of INTCTL volatile. 2002-01-25 19:05:36 +00:00
thorpej
dac6fe0dba Fix a prototype. 2002-01-25 18:16:24 +00:00
thorpej
14b07cc031 Fix a function prototype. 2002-01-25 18:14:39 +00:00
tv
3dc61f3b98 Make util.c replacement functions use autoconf conditionals to probe
what is Really available in the host OS.
2002-01-25 17:51:31 +00:00
pk
fa4a18f612 Remove out-dated comment on pager pages + some other comment nit-pickings. 2002-01-25 17:50:33 +00:00
tv
371a05affa Abort on C compiler error. Add @DEFS@ to compile line. 2002-01-25 17:50:28 +00:00
pk
cbfb1366b6 Implement the sun4c hardware-assisted page flush operation in a separate
function.
2002-01-25 17:40:44 +00:00
thorpej
f5ee1b0539 Don't explicitly assign MACHINE_ARCH. 2002-01-25 17:22:35 +00:00
christos
d08bc504d8 If WI_RID_SCAN_APS is not defined, then don't support it. 2002-01-25 17:17:21 +00:00
thorpej
593454cde4 Fix asm constraints. Sun3 kernels built with the new toolchain boot now. 2002-01-25 16:42:22 +00:00
ad
49849b4d3a - Always validate the return value read from the outbound FIFO.
- Copy access method info into the softc so we don't double dereference.
- Remove static on functions.
2002-01-25 16:10:35 +00:00
reinoud
351db2d000 Forgot these files :( ... hope i can delete lots of them later but better
commit them now for inclusion in 1.5.3 / 1.6
2002-01-25 15:35:43 +00:00
mrg
85fefefd90 update .Dd 2002-01-25 15:35:32 +00:00
mrg
2d530607f5 add $NetBSD$ 2002-01-25 15:33:51 +00:00
reinoud
cf0cf9c783 Create initial distribution directory for NetBSD/acorn32. There might be
some unused stuff in there like the floppies but i've left them here for
completion. They might be interesting to build one day too.
2002-01-25 15:28:41 +00:00
reinoud
6875bccf40 Cleanup kernel configuration file and add a generic INSTALL kernel. The
A7000 kernels are obsolete now the ARM7500 detection is integrated. The
NC's however are not completely supported and should in the near future be
bootable with GENERIC/INSTALL too.
2002-01-25 15:20:54 +00:00
jmcneill
8a10d0653d Make sure not to set the intellimouse mode more than once at boot, but still
reset the intellimouse mode on suspend/resume. Fixes problems with pmsi mice
locking the keyboard controller when X starts.
2002-01-25 14:53:43 +00:00
bouyer
e87cf5777c Remplace ncr0 with siop0, and mention 53c1010 and 53c1510d 2002-01-25 14:18:45 +00:00
bouyer
d5b1ff95c6 Ops, also note the 53c1510d 2002-01-25 14:15:44 +00:00
bouyer
2fcb5aa824 Note that the 1010-33 is only supported in Ultra2-wide mode. 2002-01-25 13:48:59 +00:00
bouyer
82c55f2186 Note Ultra160 support. 2002-01-25 13:42:51 +00:00
dsainty
4d8f15ea68 Add myself (David Sainty) 2002-01-25 13:27:48 +00:00
ragge
a8858d3140 Add special command "keepsymbols", allows the specified external symbols
not to be hidden. From Jens Nilsson, jens@rockstorm.se.
2002-01-25 12:05:00 +00:00
lukem
47737da33b add $PAX to both, and $MAKEFS to bsd.sys.mk 2002-01-25 05:21:40 +00:00
perry
7f6d795f45 add usr/share/games/ching 2002-01-25 05:07:57 +00:00
lukem
a2a5907be5 build pax as a host tool, for -N and to work around borken vendor paxes 2002-01-25 05:01:17 +00:00
rafal
5e26468b29 Less odious hack for powerfail interrupt; even thought it's still odious,
at least now we only attempt to install the handler once.
2002-01-25 04:54:31 +00:00
uwe
49ae87f6c4 Add missing -ms to format 'Title'. 2002-01-25 04:11:30 +00:00
fair
20d78a0f95 make the description of -w and -r more clear, per PR 13503. 2002-01-24 23:35:10 +00:00
he
e3812c3916 Say that this driver first appeared in 1.5.3. 2002-01-24 22:24:19 +00:00
eeh
5092e6e3e9 Create ttyC00 and ttyC01 for NS16550 serial ports. 2002-01-24 22:22:26 +00:00
he
d69be53e42 Add entries for the 'esa at pci' audio driver (ESS Allegro-1 / Maestro-3). 2002-01-24 20:19:46 +00:00
thorpej
c2004821b2 Use a table to look up stepping names. Add a generic stepping
table ("rev 0", "rev 1", etc.) and an i80200 stepping table that
has the stepping names that appear in the i80200 manuals/errata..
2002-01-24 20:14:19 +00:00
thorpej
0404ff83b9 Generic soft interrupt support for the evbarm port. Two caveats:
* This is not currently used by the in-tree evbarm interrupt code.  New
  interrupt code will appear "soon" which makes use of this file.
* This file will probably move to a generic ARM location eventually.
2002-01-24 18:48:03 +00:00
thorpej
e05fbea5e8 Shave an instruction off the case where we want to do a CPWAIT and
then return.
2002-01-24 17:53:08 +00:00
pk
92be3a121c pmap_kenter_pa4_4c(): set supervisor bit in PTE. 2002-01-24 16:50:34 +00:00
martti
8334fdf826 Added ipf6.conf 2002-01-24 14:49:16 +00:00
martti
bdbbd6ee47 Fixed link between ipf.5 and ipf6.conf.5 2002-01-24 14:48:37 +00:00
martti
a54225fdf9 Added missing -DIPFILTER_LKM 2002-01-24 13:50:32 +00:00
martin
d4e37ff89e Add a missing "else". 2002-01-24 10:40:12 +00:00