Commit Graph

52792 Commits

Author SHA1 Message Date
aymeric 181d083e76 s/BOOT_ELF/BOOT_ELF32/ inside a comment 2002-01-26 13:17:58 +00:00
aymeric c520d6cae2 - ANSIfy
- remove some trailing spaces/tabs
- minor style nits
2002-01-26 13:16:06 +00:00
takemura e8088a8f99 Straightened vripvar.h 2002-01-26 10:50:43 +00:00
takemura 672880d927 Adjusted GP size. 2002-01-26 10:24:58 +00:00
chs 1b454dbb4f fix an error case. 2002-01-26 08:32:05 +00:00
chs 2a8b52def1 re-enable NFSv3 commit RPCs by abandoning my new approach in favor of
frank's scheme, with one new twist:  don't wait until we've totally run
out of free pages before committing, but instead notice when we've built
up a largish range of uncommitted pages and commit only the older half of
the range, which is likely to already be on disk on the server.
2002-01-26 02:52:19 +00:00
chs 0365a63944 in genfs_putpages():
- yield the cpu if we've taken too long.
 - when traversing by offset, skip over any pages that we clustered.
2002-01-26 02:44:27 +00:00
augustss a7dea23b26 Regen. 2002-01-25 22:54:53 +00:00
augustss 6fd474bf85 Fix typo pointed out by Manuel Bouyer. 2002-01-25 22:54:34 +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
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
pk fa4a18f612 Remove out-dated comment on pager pages + some other comment nit-pickings. 2002-01-25 17:50:33 +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
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 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
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
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 a54225fdf9 Added missing -DIPFILTER_LKM 2002-01-24 13:50:32 +00:00
martti b035470c38 Fixed initialization 2002-01-24 08:24:59 +00:00
martti 7a8f11612c Re-sync with IPFilter 2002-01-24 08:23:40 +00:00
martti b9920d0f43 Upgraded IPFilter to 3.4.23 2002-01-24 08:21:30 +00:00
martti b0499f9062 Import IPFilter 3.4.23 2002-01-24 08:18:28 +00:00
thorpej c50e5f6562 Don't need pciide_machdep.c 2002-01-24 06:51:30 +00:00
thorpej d58e8e800b Update copyright years and author list. 2002-01-24 06:21:27 +00:00
thorpej 68a5455c8b Work around a bug in the XScale core's D-cache. The work-around is to
use 2 adjacent cache-size areas for global cache clean, alternating
between the two of them on each call.  Without this, D-cache blocks
aren't evicted properly, and no one seems to know why.
2002-01-24 06:18:12 +00:00
briggs 2341768d92 Two changes for XScale:
1) Add defparam XSCALE_CCLKCFG to define a parameter for the
	   CCLKCFG register.  Default it to '9' on the IQ80310.
	2) Add a sleep call to the xscale CPU function vector (replacing
	   the nullop) which should drop the CPU into "idle" mode when
	   cpu_switch finds nothing on the run queues.
2002-01-24 04:23:18 +00:00
thorpej bd098d4ca4 Fix a typo (thanks Allen). 2002-01-24 03:58:09 +00:00
thorpej ffe44b126d Pull in files.i80200 2002-01-24 03:57:36 +00:00
thorpej ae267d2bc7 s/CPLD/iq80310/g 2002-01-24 03:34:28 +00:00
rafal 17abb81d69 One more change resulting from my GDT rearrangement... Since GMACHCALLS_SEL
is always defined now, don't use that to test if we should install the MACH
compat gate; test COMPAT_MACH instead.
2002-01-24 03:20:28 +00:00
gson 11111119ae Make receiving packets work again after struct fxp_rfa grew. 2002-01-24 02:52:15 +00:00
gson d4da6dc52d Debug printf within #if 0..#endif did not compile if enabled. 2002-01-24 02:44:11 +00:00
gson 69ba1e26ce Remove duplicate definition of global variable bcea which caused
linking to fail, along with other globals already
defined in lib/sa/globals.c
2002-01-24 02:37:53 +00:00
itojun a709c83618 place NRL copyright notice itself, not a reference to it. 2002-01-24 02:12:29 +00:00