Commit Graph

103847 Commits

Author SHA1 Message Date
matt
8c472e414b Move pte_spill calls from trap_subr to trap(). Count the number of
"evictions" and avoide calling pmap_pte_spill if there are no evictions
for the current pmap.  Make the ISI execption use the default exception
code.  Remove lots of dead stuff from trap_subr.

Make olink use TAILQ instead of LIST and be sorted with evicted entries
first and resident entries last.  Make use of this knowledge to make
pmap_pte_spill do a fast exit.
2002-10-10 22:37:50 +00:00
jdolecek
7bbf3ad2b9 replace empty ucbsndioctl()/ucbsndmmap() with nullioctl()/nullmmap() 2002-10-10 22:36:09 +00:00
jdolecek
fc6049b9b7 replace the somewhat strange poll routine with standard nopoll() (a.k.a
seltrue())
2002-10-10 22:33:15 +00:00
martin
55dd94056d Document the usage of "flags" to select between the two assigned
interrupts.
2002-10-10 22:32:08 +00:00
martin
de956cbcda Only use one interrupt handler for both status changes and pcmcia IO
intterupts. No more races between the two interrupt handlers, without any
locking, and the driver becomes a bit simpler too.

Use the last bit of the config flags to select between the first and the
second sbus interrupt level the firmware has assigned to us.
2002-10-10 22:23:16 +00:00
thorpej
df2e531a81 Move netccitt config defns to netccitt/files.netccitt. 2002-10-10 22:17:59 +00:00
thorpej
c8715bae75 Oops, missed include in the last. 2002-10-10 22:12:53 +00:00
thorpej
f664080f40 Move netatalk config defns to netatalk/files.netatalk. 2002-10-10 22:10:52 +00:00
thorpej
6be7d2f3e6 Move IR and Bluetooth config defns missed in previous commit. 2002-10-10 22:07:44 +00:00
thorpej
1e9e72e1ab Move IPKDB config defns to ipkdb/files.ipkdb. 2002-10-10 21:56:50 +00:00
thorpej
05f976610a Move IR and Bluetooth config defns to their own files. 2002-10-10 21:52:28 +00:00
briggs
2cc2b9cde2 Some systems/shells have difficulty if the closing ] of a test does not have
preceding whitespace.  Ensure that there is whitespace.
2002-10-10 20:46:39 +00:00
dyoung
e57ba8d648 Introduce biosdiskreset(), and call it to reset the disk (with Int
0x13 Function 0) after a read error. This is a requirement mentioned
in most BIOS documentation.

This answers PR 18591.

Incidentally, on the Soekris Engineering net45x1 single-board
computer, this fixes a bug where the bootloader corrupts the kernel
while loading it from certain varieties of CompactFlash card
(especially varieties identified by NetBSD as <TOSHIBA THNCF064MBA>).
2002-10-10 18:52:42 +00:00
rafal
5ad5ca60a5 Memory and I/O space accesses to MACE PCI address ranges are passed through
in the correct byte order, so there's no reason to byteswap them.
2002-10-10 18:16:40 +00:00
provos
c603c2b26f enable meta key in emacs mode for 7-bit locales. approved thorpej. 2002-10-10 17:41:19 +00:00
thorpej
f157f8fff5 Add missing register prefixes. 2002-10-10 17:12:23 +00:00
jdolecek
ee922fe253 back previous off; as pointed out by Jason, MP doesn't work on sparc yet 2002-10-10 17:09:32 +00:00
thorpej
9ee29cd5eb Deal with the fact that __GNUC__ is not defined when preprocessing
assembler (Grr).
2002-10-10 17:02:23 +00:00
jdolecek
06436e36df add GENERIC.MP to KERNEL_SETS on architectures with MP support 2002-10-10 16:58:06 +00:00
pooka
fec12d1505 make a few debug printf's match reality 2002-10-10 15:39:01 +00:00
provos
1b3623c27a correctly evaluate group predicates 2002-10-10 14:06:30 +00:00
jdolecek
3aa30dca1a fix typo - driver name is 'opb', not 'obp' 2002-10-10 13:45:14 +00:00
jdolecek
f4e83b3c1d CFATTACH_DEL() needs 6 args 2002-10-10 13:37:21 +00:00
drochner
3dd7978358 add a dummy pattern rule to avoid yacc invocation
(which fails with r/o src tree)
2002-10-10 13:03:19 +00:00
jdolecek
de8f0324ad use (volatile int) cast, rather than just (volatile); the latter gives a warning 2002-10-10 11:45:14 +00:00
abs
5470c1def0 If we are going to point ENV at .shrc, and link this in as /.profile as well
as /root/.profile, then use /root/.shrc rather than $HOME/.shrc otherwise
single user mode tries to use /.shrc...
2002-10-10 11:15:41 +00:00
jdolecek
d32bd396f2 #undef ffs before the ffs() function definition, so that the name
isn't rewrote to __builtin_ffs() on gcc 2.95+; this fixes compilation
on sun2
also change the comment for function
2002-10-10 10:51:56 +00:00
chris
a8d4145f3a Minor tweaks to footbridge's delay, always reset the timer when starting delay run (and set last to the counter value).
When the read value is 0, reset the timer (don't wait till the next loop round to reset it)
Add a bit of debug to the calibration stuff to make sure its working ok.
2002-10-10 10:12:27 +00:00
jdolecek
a3e314bfcb tag the cdevsw as D_TTY 2002-10-10 10:12:00 +00:00
scw
7135f0329f Fixes for LP64. 2002-10-10 09:47:17 +00:00
wiz
c40801a8ee groff-1.18.1 out. 2002-10-10 09:38:46 +00:00
jdolecek
74c4946bb2 include shark/conf/std.shark, shark/conf/std.arm32 doesn't exist 2002-10-10 09:17:05 +00:00
scw
58c1858c31 More fixes/tweaks:
- Use the PVO_CACHEABLE flag in the pvo as the One True Indicator of
   the cacheable status of a mapping instead of peeking at the PTEH.
 - Don't inline some of the larger routines, in an effort to appease
   the somewhat buggy compiler.
 - Fix some comments.
 - Fix some casts.
 - Add a bunch more debugging instrumentation.
2002-10-10 08:57:52 +00:00
scw
bbb7b848b6 Don't try to trace back through proc_trampoline. 2002-10-10 08:53:22 +00:00
scw
a3d166c50b - Add kcr0 and kcr1 to db_regs.
- Move usr, sr, pc, and the branch-target registers to the top of
   the listing so that it is no longer necessary to scroll through
   64 integer registers to see them.
2002-10-10 08:52:31 +00:00
itojun
ce7f14ae22 GNU tar update 2002-10-10 08:23:51 +00:00
itojun
4384c54c01 switch to GNU tar 1.13.25 with security fixes. 2002-10-10 08:22:22 +00:00
wiz
0da5ac2408 Add dot in abbreviation. 2002-10-10 07:55:50 +00:00
thorpej
d47fd44e41 Avoid collision with __unused in sys/cdefs.h. 2002-10-10 07:25:21 +00:00
simonb
b1a30609f9 Install the kernel linker script in /usr/lkm/ldscript so that modload(8)
works without needing to resort to -A abuse.  LKMs work cleanly on MIPS
now.
2002-10-10 01:59:29 +00:00
simonb
da75d51b40 Add support for using an optional linker script (/usr/lkm/ldscript if
found, and overridable by the -T option).
2002-10-10 01:57:10 +00:00
thorpej
e4c85a8424 Add __unused, __packed, __aligned(), and __section() macros. Inspired
by FreeBSD.
2002-10-10 01:41:59 +00:00
lukem
30f103aea1 some clarifications & roff cleanups (yes, there's a problem with .Oo .. .Oc).
sparc64 does NOT appear to need a slicemap, so comment out that entire
section.

XXX: this program needs a rewrite. the argument handling is suboptimal.
that's coming next...
2002-10-10 01:25:03 +00:00
lukem
df6c4cf203 more details on which platforms can share a multiboot cd 2002-10-10 01:22:19 +00:00
thorpej
bee5ae7f7d Garbage-collect the __DO_NOT_DO_WEAK__ stuff. 2002-10-10 00:52:47 +00:00
martin
57801e8fb7 Pass a struct cons_channel * to cc_iclose, not a struct kbd_softc *.
This argument has been previously unused, thus undetected due to void*
typing. Mmm, copy & paste. Note that sparc got it right though.

Many thanks to Valeriy E. Ushakov <uwe@netbsd.org> for debugging support.
2002-10-10 00:22:19 +00:00
chris
0efb927aa4 As GENERIC grows, so does the needed symbol table space, bump it to
380000 from 370000.
2002-10-10 00:05:54 +00:00
bjh21
6ae19cc8cd Use ADR rather than an explicit ADD from PC. 2002-10-09 22:28:03 +00:00
nathanw
eeffadffd5 In _bus_dmamem_alloc_range(), respect the high end of the caller's range. 2002-10-09 21:35:33 +00:00
wiz
f40ce8cd84 mmm, bullding 2002-10-09 21:20:20 +00:00