Commit Graph

111821 Commits

Author SHA1 Message Date
junyoung 48e9f35fd3 Use unsigned char rather than u_char. 2003-04-22 16:12:18 +00:00
christos abfff333c3 don't define TRUE and FALSE locally. 2003-04-22 15:10:04 +00:00
thorpej 1b42986cc6 Bump SYMTAB_SPACE a little. 2003-04-22 14:49:13 +00:00
tsutsui 4762c81f53 - #ifdef DEBUG, #if DEBUG -> #ifdef AHC_DEBUG
- TAB/space cosmetics
2003-04-22 14:33:01 +00:00
yamt d99d457173 correct accounting of {exec,file}pages.
they are not updated correctly when breaking loan.
2003-04-22 14:28:15 +00:00
thorpej 49c00b1d84 Use high vectors on IQ80321 and IQ80310. 2003-04-22 14:09:46 +00:00
thorpej efb72f65db Use high vectors on the BRH. 2003-04-22 13:51:11 +00:00
thorpej d1c431c7e1 pmap_link_l2pt(): If not ARM32_NEW_VM_LAYOUT, add an assertion that
the VA that the page table maps is aligned to a 4MB boundary.
2003-04-22 13:49:48 +00:00
christos db7b52084a choose the smaller size of the two strings when memcpy'ing them. A better
fix would be to strncpy and null terminate? From enami.
2003-04-22 13:18:52 +00:00
tron 82451d010e Revert last commit now that "bsd.lib.mk" is fixed. 2003-04-22 13:17:54 +00:00
christos 8906603597 fix wrong calculation. pointed by enami. 2003-04-22 13:11:23 +00:00
bjh21 22250c1a61 Add missing /usr/include/sparc/cpuconf.h. 2003-04-22 13:02:10 +00:00
christos 2b009f6aa8 fix lossage caused by previous commit. 2003-04-22 12:55:26 +00:00
tron 37ae1ea947 Define "LIB" to get "bsd.lib.mk" working again. 2003-04-22 12:07:02 +00:00
bjh21 c6c405019e Include <machine/pio.h> for in8() and in16(). 2003-04-22 11:37:28 +00:00
fvdl 0c0c1c086e Bump the number of level 2 pages for the kernel image. 2003-04-22 11:32:34 +00:00
itojun b2fcce1997 style 2003-04-22 10:08:33 +00:00
itojun 47c9fbf29d port numbers are unsigned. use %u. from kame 2003-04-22 09:56:30 +00:00
wiz 21b07cfaf5 Bump date for last. 2003-04-22 08:53:02 +00:00
fair 3be73adced Remove the reference to the gdb "-k" option,
which is deprecated, per PR 19106
2003-04-22 08:45:57 +00:00
grant 8b06af555f netbsd.org -> NetBSD.org 2003-04-22 08:14:38 +00:00
wiz 309502d07c postfix-2.0.9 out. 2003-04-22 08:05:43 +00:00
wiz 2dbd65d621 Sort. 2003-04-22 08:05:08 +00:00
itojun a6a7baa235 "user:group=foo.bar" is weird. use colon on both sides 2003-04-22 07:46:46 +00:00
itojun 906a2ba4ed always configure IPV6_FAITH explicitly to avoid misconfiguring it on SIGHUP.
sync w/kame
2003-04-22 07:45:27 +00:00
itojun 39d6020d8a backout 1.18 and 1.19 2003-04-22 03:51:07 +00:00
itojun e2d8f394cc free vis_user 2003-04-22 03:03:16 +00:00
itojun 750506085f malloc vis_user (why 1.6 branch has the fix already?) 2003-04-22 03:02:14 +00:00
jmc 57e8e96d56 Configs used to build 1.6.1 iso images 2003-04-22 02:55:41 +00:00
thorpej 1f5e3cbbe6 New pmap for netwinder. 2003-04-22 01:42:01 +00:00
hubertf 4af963d89d Rename "upgrade" variable to "Replace" (etc.) as that is what it's really
for. Assorted text updates.
2003-04-22 01:17:03 +00:00
thorpej bbef46a7e9 Some ARM32_PMAP_NEW-related cleanup:
* Define a new "MMU type", ARM_MMU_SA1.  While the SA-1's MMU is basically
  compatible with the generic, the SA-1 cache does not have a write-through
  mode, and it is useful to know have an indication of this.
* Add a new PMAP_NEEDS_PTE_SYNC indicator, and try to evaluate it at
  compile time.  We evaluate it like so:
  - If SA-1-style MMU is the only type configured -> 1
  - If SA-1-style MMU is not configured -> 0
  - Otherwise, defer to a run-time variable.
  If PMAP_NEEDS_PTE_SYNC might evaluate to true (SA-1 only or run-time
  check), then we also define PMAP_INCLUDE_PTE_SYNC so that e.g. assembly
  code can include the necessary run-time support.  PMAP_INCLUDE_PTE_SYNC
  largely replaces the ARM32_PMAP_NEEDS_PTE_SYNC manual setting Steve
  included with the original new pmap.
* In the new pmap, make pmap_pte_init_generic() check to see if the CPU
  has a write-back cache.  If so, init the PT cache mode to C=1,B=0 to get
  write-through mode.  Otherwise, init the PT cache mode to C=1,B=1.
* Add a new pmap_pte_init_arm8().  Old pmap, same as generic.  New pmap,
  sets page table cacheability to 0 (ARM8 has a write-back cache, but
  flushing it is quite expensive).
* In the new pmap, make pmap_pte_init_arm9() reset the PT cache mode to
  C=1,B=0, since the write-back check in generic gets it wrong for ARM9,
  since we use write-through mode all the time on ARM9 right now.  (What
  this really tells me is that the test for write-through cache is less
  than perfect, but we can fix that later.)
* Add a new pmap_pte_init_sa1().  Old pmap, same as generic.  New pmap,
  does generic initialization, then resets page table cache mode to
  C=1,B=1, since C=1,B=0 does not produce write-through on the SA-1.
2003-04-22 00:24:48 +00:00
elric 645dee56e4 Adding libbsdmalloc which is Chris Kingsley's `power of two bucket' malloc.
Suggested by christos.
2003-04-21 22:21:06 +00:00
christos d0fa76e947 PR/21253: Manuel Bouyer: cpio should never descend on a directory; even on
the first one.
2003-04-21 22:10:10 +00:00
fvdl 3f5d6a0d73 Remove unused variable. 2003-04-21 22:00:42 +00:00
fvdl 9ec222cfbe Remove trigraph. 2003-04-21 21:49:31 +00:00
fvdl 2674450fcb Avoid trigraph in string. 2003-04-21 21:45:59 +00:00
fvdl 13b6cff110 Reset bus in attach, not at first access. 2003-04-21 20:05:26 +00:00
fvdl 11e1ebb8dd Reset channel(s) in ahc_attach, rather than at first access. 2003-04-21 19:59:48 +00:00
fvdl 1adc169997 Add NetBSD RCS Id. 2003-04-21 18:12:22 +00:00
fvdl 8775f88505 Add another IBM drive that incorrectly reports DT only. 2003-04-21 18:07:14 +00:00
fvdl d7ad58b224 Add file that I missed when adding the ahd driver. 2003-04-21 16:53:59 +00:00
fvdl 7c5409295c Set/report DT a bit more correctly. 2003-04-21 16:52:07 +00:00
augustss 7d5779ad01 Recognize more devices. From FreeBSD. 2003-04-21 16:38:34 +00:00
augustss 6be8a91f88 Add quirk. From FreeBSD. 2003-04-21 16:37:42 +00:00
augustss 33011a8fcf Regen. 2003-04-21 16:37:14 +00:00
augustss ac600b6a72 Add more devices. From FreeBSD and OpenBSD. 2003-04-21 16:36:52 +00:00
manu 0fd8402c80 Some Mach-O libraries do not have a load base address. The Darwin
kernel seems to skip them, letting the dirty job to dyld.
2003-04-21 14:32:25 +00:00
jrf 6867af7aad This addresses PR 17613 when certain methods of adding routes would
muck up the routing tables. The patch was submitted by Quentin Garnier
<netbsd@quatriemek.com> and tweaked a little after it was reviewed
by Christos Zoulas <christos@netbsd.org>. Final change/commit approved
by Christos.
2003-04-21 13:42:50 +00:00
martin d65cbab3ff Connect the front panel power button on psycho based machines to sysmon's
/dev/power.

XXX - due to the way interrupt handling is structured we have no easy
way to defer clearing the button interrupt until the sysmon callback
has  happened and the event is dispatched. We clear it imediately on
return from the interrupt handler. This means we get an interrupt storm
until the button is released, and then start to handle it.
This needs to be fixed! (But with the default application for the power
button does not make a user visible difference.)
2003-04-21 12:14:19 +00:00