Commit Graph

87695 Commits

Author SHA1 Message Date
matt
ab93af26ea Fix pte_clear to TLB flush the va, not the tlb adress (which is only valid
for clearing the ref bit).  pvo_to_pte (if !diagnostic) will return NULL
immediately if PTE_VALID is not set.
2001-11-11 23:07:02 +00:00
tv
79ca4cf1a1 Create an objdir here for storage of timestamps, build-wide data, and so
forth.
2001-11-11 22:40:42 +00:00
tv
fcc9c62259 Make the BSDSRCDIR/BSDOBJDIR symlink based objdir system work for the top
source directory.  This will use BSDOBJDIR of OBJMACHINE is unset, and will
create a directory '.MACHINE' inside BSDOBJDIR if OBJMACHINE is set.

MAKEOBJDIR and MAKEOBJDIRPREFIX based objdirs already cope with the top
level directory just fine.
2001-11-11 22:39:23 +00:00
chris
8298c55eab Correct comments for ffs algoritm (it isn't using register r0) 2001-11-11 22:07:41 +00:00
chris
6829afaed3 Update the libc version of ffs to make use of an optimsed asm version. 2001-11-11 22:05:18 +00:00
tv
80d11d2c09 Provide defaults for MDSETIMAGE and CRUNCHGEN. 2001-11-11 21:41:00 +00:00
tv
e8c8d143cc Back out my rev. 1.75 on recommendation of christos.
Instead of skipping the PWD check entirely, add a skip of the PWD override
if MAKEOBJDIR is set and contains a variable transform ($).  This has
similar problems to what happens if MAKEOBJDIRPREFIX is set.
2001-11-11 21:40:05 +00:00
tv
2814f4901b Fix long-standing bug where, if an objdir exists, searching the .PATH for a
file will strip any leading path on the filename when searching ${.CURDIR}.

This bug manifested itself more prominently with xsrc/xfree/xc/lib/GL/GL,
since we now always search ${.CURDIR} as an alternative to ${.OBJDIR}
(PR bin/14499).
2001-11-11 21:36:06 +00:00
christos
50a347501a compile in the absense of SYSVSHM and SYSVSEM. pointed out by @@@. 2001-11-11 21:21:02 +00:00
tron
679b5ba134 Add new category "toolchain". 2001-11-11 21:14:15 +00:00
jwise
8ce003bad4 Fix a cross reference in man page. This should probably be mandoc-ified
if we are not going to use reachover makefiles for ksh (and given that
pdksh does not update very frequently (at all?  any more?  at the moment?),
it is probably reasonable not to).
2001-11-11 21:09:34 +00:00
mhitch
c873b07b2d After modifying transmit descriptors, write-back cache needs to be flushed.
Fixes DEFTA on R4x00 DECstations.
2001-11-11 18:47:03 +00:00
thorpej
944fcd0d83 Allocate the appropriate space for the XScale global cache clean code. 2001-11-11 17:30:14 +00:00
rafal
1a9f819d84 Make microtime(9) do interpolation to get better-than-hz resolution, if
the platform supplies a clkread function that does something other than
return 0 (which is the default unless overridden by the platorm code).
Supply such a function for the IP22; even if it isn't perfect, it goes
a long way to making ntp usable.

While I'm at it, move the ticks-per-hz variable out of the struct platform
since it's really private to the per-platform interrupt/clock code.

XXX: No clkread function supplied for IP32, since it has other problems --
like a hardcoded ticks-per-hz, but the same code as on the IP22 could be
used.
2001-11-11 17:21:40 +00:00
thorpej
b75edaf367 Some fixes/cleanup to the XScale cache clean code:
* Define a CPWAIT macro as described in the i80200 manual and use it,
  rather than replicating the code in a few places.
* The i80200 manual notes that the line-allocate operation used to
  do global D$ clean does not actually perform a load/fill request
  from external memory, and thus does not actually place valid data
  in the cache lines allocated.  Require that machine-dependent code
  allocate an appropriately-sized chunk of unmapped VA space for the
  global clean operation in order to avoid unpredictable results.
* The i80200 manual notes that the VA range for the Mini-Data global
  clean (which *must* be mapped to physical memory) must be reserved
  exclusively for cleaning the Mini-Data cache.  Require that machine-
  dependent code allocate an appropriately-sized chunk of memory for
  this purpose.
2001-11-11 17:18:27 +00:00
thorpej
4ffa983428 Pull in common 32-bit ARM VM parameters. 2001-11-11 16:44:15 +00:00
thorpej
c653a0ee51 Even though the ARM architecture defines large, standard, and small
pages, we use the standard (4K) page size as PAGE_SIZE.  Make the
PAGE_SIZE related variables compile-time constants that reflect this.

Results in a bit over 2K worth of .text savings, and visibly better
code in the places that use PAGE_SIZE, etc.
2001-11-11 16:40:36 +00:00
itohy
adb46cd666 fix ascii art 2001-11-11 14:02:18 +00:00
martin
cd67a5ce17 Add polish keyboard map, from Dawid Szyma_ski <dawszy@netbsd.lubin.pl>. 2001-11-11 11:48:56 +00:00
jmc
26b0861d8f Make everything fit once again.
Remove restore from the ramdisk as this is building a bootfloppy for
installing and this simply won't fit anymore. If repair images are desired
this should go the x86 route and build separate floppies for different
purposes.

Change sh to use the x_sh from distrib/utils and move some items around
in the list so they happen earlier (making the pw file).
2001-11-11 07:46:46 +00:00
tsutsui
78b0b559e3 - Fix some bogus comments.
- Add a missed splx(s) in error case.
2001-11-11 05:28:55 +00:00
itojun
ebdef2d397 backout IPv6 patch to postfix. IPv6 support for "mynetworks" check was
left unimplemented, and postfix daemon could become an open relay for
IPv6 connectivity.  it seems that we need to torture-test IPv6 patch outside
of the tree more.
From moley@wide.ad.jp
2001-11-11 05:26:50 +00:00
tsutsui
2cf8d764c2 Note DC-390UW as well as DC-390U/F (to use siop(4) for them). 2001-11-11 05:24:45 +00:00
jmc
adf8bd3435 Ugg...Turn LIST_FOREACH into a while loop around LIST_NEXT...
The *_FOREACH macros got added post 1.5 and were pulled up into 1.5.2. This
makes it impossible to compile mtree local on a 1.5-release box as a cross
toolchain bit for bootstrapping to -current. (and why I never saw this problem
on my 1.5.2 machine)

This whole thing is solved via a compat lib for the tools for all netbsd bits
and/or trimming down a version of mtree to just the bits needed for building
the snapshots.
2001-11-11 05:07:20 +00:00
isaki
db0f7ea415 add Nereid. ne* at intio0 2001-11-11 01:40:29 +00:00
isaki
85e2e11f39 Support an ethernet part of Nereid.
Nereid is the board of ethernet/USB/memory for X68k
developed by X-PowerStation, a japanese X68k circle.
See http://xps.jp/ but only written in japanese.
2001-11-11 01:39:02 +00:00
isaki
20d2e2f7e8 Support BUS_SPACE_MAP_SHIFTED_EVEN for bus_space_map().
Now BUS_SPACE_MAP_SHIFTED means BUS_SPACE_MAP_SHIFTED_ODD.
It is needed for Nereid Ethernet.
2001-11-11 01:38:00 +00:00
jmc
6dda1d498c Pull the rmd160 stuff out as mtree now has options to selectively compile
pieces out we won't need during a build.
2001-11-11 01:36:15 +00:00
jmc
ac4077ac62 Turn on defines to disable all the hashing functions. We don't need these for
the build and some systems won't have all the routines.
2001-11-11 01:35:21 +00:00
jmc
a1ae34bc72 Always rebuild the nbmake wrapper script. Otherwise the options passed to
build.sh just get lost if they differ from a previous invocation (i.e. letting
MKOBJDIRS get set the first time, -o will get ignored after this unless a
rebuild of the script happens). It's low overhead so this adds little burden
to getting it right.
2001-11-11 01:34:30 +00:00
thorpej
2ea8a793d0 * Define prologue/epilogue macros for the cache clean functions,
and use them, like we do in the SA-1 code.
* Use numbered labels for loops.
2001-11-11 01:05:11 +00:00
thorpej
3492e0ce0b Fix a missing-whitespace typo. 2001-11-11 01:02:58 +00:00
thorpej
eb8206f223 Use numeric labels for loops. 2001-11-11 00:47:49 +00:00
thorpej
de8e924e4c * Define prologue/epilogue macros for the cache clean functions,
and use them, rather than replicating the code several times.
* Use numbered labels for loops.
2001-11-11 00:41:48 +00:00
soren
f6d503d78f Fix vnd blk/chr number. 2001-11-11 00:39:33 +00:00
soren
3566ffe886 Fix vnd pastoes. 2001-11-11 00:38:30 +00:00
christos
09b14fa42a Oops, missed one. 2001-11-11 00:34:52 +00:00
thorpej
ddb435fb56 Define KERNEL_TEXT_BASE, ALT_PAGE_TBLS_BASE, and KERNEL_VM_BASE
in terms of KERNEL_BASE.
2001-11-11 00:32:02 +00:00
perry
82540eeaca fix a couple of signed->unsigned warnings lint found 2001-11-11 00:25:23 +00:00
christos
ddf09edfc0 merge duplicate register definitions. 2001-11-11 00:24:16 +00:00
christos
257a5919a3 Get rid of duplicate RID definitions. 2001-11-11 00:16:07 +00:00
perry
06ccd5c20e make a couple of comments reflect termios.h again following changes
to termios.h
2001-11-11 00:03:20 +00:00
perry
ea6b9b674d patch up some comments to avoid cpp warnings about redefines. 2001-11-11 00:00:15 +00:00
thorpej
fe9e809208 Add a comment explaining that we expect the memory controller
registers to already be subregion'd off, and actually init
the PCI DMA tag.
2001-11-10 23:14:51 +00:00
thorpej
9e1b785626 Split all the model/version-specific cpufuncs into separate files
corresponding to the model/version.
2001-11-10 23:14:08 +00:00
thorpej
a27687fb2f Fix some whitespace. 2001-11-10 23:12:41 +00:00
wiz
588034584f Add MAKEDEV(8) for evbarm and the necessary dirs. 2001-11-10 23:04:04 +00:00
wiz
ab7d80e97b Misc regens with more xrefs. 2001-11-10 22:58:27 +00:00
wiz
84b670bf3e Add MAKEDEV(8) for evbarm 2001-11-10 22:57:57 +00:00
wiz
0c941f9eca Fix a formatting glitch, and remove a space while I'm here. 2001-11-10 22:57:02 +00:00