briggs
126f6cf9bc
Add a new option EVBARM_BOARDTYPE to differentiate between different
...
evbarm ports. Inline _splraise/_spllower/splx for i80321 and iq80310
for more performance.
2002-08-17 16:42:20 +00:00
thorpej
003b8e8bca
More local label fixups.
2002-08-17 16:36:31 +00:00
wiz
b96a6bccda
regen (+pci)
2002-08-17 11:45:04 +00:00
wiz
5f9f466ecc
regen (tty for sab, hi petrov)
2002-08-17 11:44:17 +00:00
isaki
ea16a0bcb3
fix mode and group of /dev/reload
2002-08-17 05:28:54 +00:00
briggs
20267a208f
Do not trim 'offset' from 'len' in _bus_dmamap_sync_linear().
2002-08-17 05:14:10 +00:00
thorpej
7cbd25232f
Use correct-for-ELF local labels.
2002-08-17 03:14:47 +00:00
thorpej
7dfd5a8bef
2002-08-16 Nick Clifton <nickc@redhat.com>
...
* gprof.c (main): Remove spurious test for __alpha__.
2002-08-17 03:03:53 +00:00
uwe
fdc57c1775
Add missing slash to /* notyet *
2002-08-17 02:23:18 +00:00
chris
725f3ca1a7
correct comment, it's r0, not a0.
2002-08-17 01:23:36 +00:00
chris
d8ac0fb3aa
pull in ffs.S from libc for arm.
...
The main benefit is that ffs always runs in constant time.
2002-08-17 01:22:33 +00:00
briggs
d86c947b8c
Inline bus_dma_inrange() and bus_dmamap_sync_*().
2002-08-17 01:15:15 +00:00
thorpej
50fe583069
Must ... micro ... optimize!
...
* Save an instruction in the transition from idle to have-process-to-
switch-to, and eliminate two instructions that cause datadep-stalls
on StrongARM And XScale (one in each idle block).
* Rearrange some other instructions to avoid datadep-stalls on StrongARM
and XScale.
* Since cpu_do_powersave == 0 is by far the common case, avoid a
pipeline flush by reordering the two idle blocks.
2002-08-17 01:08:21 +00:00
chris
1334ab7d1e
following Jason's change to _xscale, convert bpl's to bhi's, saves looping more than needed in some cases.
2002-08-17 01:02:38 +00:00
bjh21
47226343a9
Be consistent about the type of idle().
2002-08-17 00:01:23 +00:00
itojun
27dfc9236f
style (tab around $NetBSD$)
2002-08-16 23:54:52 +00:00
bjh21
72f31d9112
If we're treating the MEMC as a TLB, there's no need to completely reload
...
it in pmap_activate(). Instead, let's leave it empty and let pages be
faulted into it on demand. This improves the context switch latency
somewhat, at least for small processes.
2002-08-16 22:51:43 +00:00
itojun
4005a5250f
set h_errno properly if internal string manipulation fails.
2002-08-16 21:54:00 +00:00
mjacob
bb6cb67b54
Further fix problems with 23XX ISR handling and correctly initialize the
...
23XX to use ZIO in preference to fast posting.
2002-08-16 21:43:14 +00:00
bjh21
4d7743ff17
According to Chuck Silvers, pmap_copy_page() and pmap_zero_page() don't
...
need to mess with the referenced and modified flags, since they're only
called when a page is being initialised, and is about to have them cleared.
Make this so.
2002-08-16 21:16:48 +00:00
itojun
2abe377059
defend against malicious line in ut_line, which could cause unwanted
...
writes to anything under /dev. revoke setuid/gid privs earlier.
From: xs@kittenz.org
2002-08-16 20:21:48 +00:00
martin
39acbf03ed
Avoid exit(0) to play more nicely with rc_fast_and_loose.
...
Noted by Greywolf on tech-userlevel.
2002-08-16 18:05:19 +00:00
petrov
7de59e9a76
Add tty for sab.
2002-08-16 17:56:56 +00:00
thorpej
ebff575bc3
* Add a new machdep.powersave sysctl, which controls the use of
...
the CPU's "sleep" function in the idle loop.
* Default all CPUs to not use powersave, except for the PDA processors
(SA11x0 and PXA2x0).
This significantly reduces inteterrupt latency in high-performance
applications (and was good to squeeze another ~10% out of an XScale
IOP on a Gig-E benchmark).
2002-08-16 15:25:53 +00:00
heinz
306c75457d
regen
2002-08-16 15:08:08 +00:00
heinz
fb31736257
Add Lucent/Agere FW322/323 IEEE 1394 controller
2002-08-16 15:03:02 +00:00
fredette
a3961f4a15
This cleans up interrupts with respect to GSC bus chips and the devices
...
they contain. IRQ information for these has been removed from the
kernel configuration file. GSC bus chips now choose an available CPU
IRQ for themselves, and know IRQ information for all of the devices
they may contain. Minor autoconfiguration changes support this.
Renamed the old-style vmstat interrupt counters to say "ipl" and not
"irq", since they've been disconnected from irq numbers. Also provide
a function to allocate an irq bit from an interrupt register, and a
function to report the next ipl bit that will be allocated.
2002-08-16 15:02:39 +00:00
itojun
44ca8f4da1
use sizeof, avoid duplicated use of MAXDNAME
2002-08-16 13:59:39 +00:00
itojun
1173373b45
be more picky about size arg
2002-08-16 12:23:20 +00:00
itojun
1e1a07972c
lint clean
2002-08-16 12:20:19 +00:00
itojun
bb80ac654a
avoid sprintf. use snprintf with picky error traps.
2002-08-16 12:18:06 +00:00
itojun
0de70db9cd
check for pointer overwrap
2002-08-16 12:10:37 +00:00
itojun
b51bffa186
correct cases with zero in the middle
...
(0x00ff00ff should be "0.255.0.255", not "255.255")
2002-08-16 12:05:01 +00:00
itojun
0b6566bcda
avoid sprintf. use snprintf. simplify cases where 1st arg is 0.
2002-08-16 12:03:41 +00:00
is
a71878134b
IDE drives are no longer configured as sdN
2002-08-16 12:01:39 +00:00
itojun
c6a3499c08
use snprintf. don't duplicate MAXDNAME (use sizeof).
2002-08-16 11:53:19 +00:00
itojun
90a8853f46
use strlcat
2002-08-16 11:49:57 +00:00
itojun
f425242dc9
fix weird indent for comment lines
2002-08-16 11:48:25 +00:00
itojun
c5a4255163
eliminate sprintf. use snprintf.
...
XXX loc_ntoa should be changed to take additional size_t as arg
2002-08-16 11:45:55 +00:00
itojun
5c323232e7
eliminate sprintf, use snprintf. check strlcat error.
2002-08-16 11:30:28 +00:00
kent
4cb030f3b9
Fix division-by-zero when auich_set_params() is called before auich_calibrate().
2002-08-16 11:22:13 +00:00
jdolecek
d23ad48af9
use 'pid_t' for pipe_pgid, rather that 'gid_t'
...
this fixes the code in pipeselwakeup() to properly send signal to process group
Problem found by Anders Magnusson, using gcc 3.2 with pdp-10 target.
2002-08-16 10:32:12 +00:00
petrov
4f9cdf2197
Enable sab.
2002-08-16 09:03:36 +00:00
petrov
560e50e242
Add sab.
2002-08-16 08:56:44 +00:00
msaitoh
3bc4d0b5aa
remove extra CRLF conversion
2002-08-16 08:56:27 +00:00
jdolecek
4a6a2fe18b
update to accompany removal of COMPAT_OLDBOOT, and no more 'wd' and 'sd'
...
aliases for 'hd'
2002-08-16 08:54:18 +00:00
petrov
e879a86b97
Add sab.
2002-08-16 08:52:48 +00:00
petrov
0e426c8d8b
Port Jason L. Wright's sab82532 driver. From OpenBSD.
2002-08-16 08:47:13 +00:00
itojun
3452fa16c4
be more picky about string buffer manipulation. hints from freebsd
2002-08-16 07:39:44 +00:00
thorpej
b9d86783bf
* Hard-code EXTSR_1000XFDX|EXTSR_1000XHDX for reads of the MII_EXTSR
...
in the TBI case.
* Force BMSR_ANEG | BMSR_EXTCAP to be returned for reads of the MII_BMSR
in the TBI case.
2002-08-16 07:10:56 +00:00