scw
3bf49b3ae8
Tweak the read/write data abort check to recognise Xscale's strd/ldrd
...
instructions.
While the original code matched "strd" just fine, it also matched
the "ldrd" instruction ...
2003-10-13 21:13:30 +00:00
cl
1f11f69f25
add MD part of SA/pthread pagefault handling on hppa
2003-10-13 21:12:12 +00:00
scw
9d9ddf0409
Xscale-optimised b{copy,zero}_page().
...
Contributed by Wasabi Systems.
2003-10-13 21:03:13 +00:00
scw
063066a055
On Xscale, define PMAP_UAREA() and use it to tweak uarea mappings so
...
they use the mini D$.
This results in a small performance boost on xscale platforms, since
flushing the main cache on a context switch won't affect the kernel
stack/pcb.
2003-10-13 20:50:34 +00:00
scw
4355b16f71
In uvm_lwp_fork(), check if PMAP_UAREA() is defined and if so, invoke it
...
with the KVA of the newly-wired uarea.
This is useful on some architectures (e.g. xscale) where the uarea mapping
can be tweaked to use the mini-data cache instead of the main cache.
2003-10-13 20:43:03 +00:00
ad
1e3b781fed
Make this work with the newer 'Quartz' controllers.
2003-10-13 20:35:53 +00:00
dyoung
193ac59e63
Fix PR 23146 (sys/net80211/ intergration break WEP/power management
...
function) from FUKAUMI Naoki.
2003-10-13 20:05:09 +00:00
scw
5e7e19ec12
Xscale-optimised mem* functions, contributed by Wasabi Systems.
...
(Note: memcmp/memset improvements also benefit non-Xscale).
memcmp() - Compare 32-bits at a time if possible. Special-case 6-byte
comparisons, for the benefit of the network stack.
memset() - More loop unrolling, plus use of 'strd' instruction,
results in > 100% speedup on Xscale.
memcpy() - Big-endian support, unrolled loops, 'strd/ldrd/pld', plus
special-cases for very common length/alignment combinations
(at least in the kernel). Benchmarks show ~50% improvment on
Xscale.
memmove() - Big-endian support. Use fast memcpy(), above, if the regions
don't overlap. Otherwise unchanged.
2003-10-13 19:59:24 +00:00
bouyer
9d9b366ce0
Add pmatch(9).
2003-10-13 19:57:41 +00:00
bouyer
341734578e
Add a man page for pmatch().
2003-10-13 19:52:58 +00:00
fvdl
ff376b0763
Implement 32bit get/setcontext entry points.
2003-10-13 18:55:30 +00:00
fvdl
fd1fb232de
Regenerate.
2003-10-13 18:54:57 +00:00
fvdl
4a68d0f9cb
Define compat_16 as valid prefix; define the 1.6 compat sigreturn.
2003-10-13 18:53:35 +00:00
fvdl
f7ae3d4536
Define a few 32bit compat types (if COMPAT_NETBSD32, not exported to
...
userspace). Having them here is both good and bad. Good because they're
close to the actual native ones, bad because it exposes things out
of compat/netbsd32. However, putting the exclusively in the latter
requires a lot of reshuffling in the includes there, so this will
do for now.
2003-10-13 18:50:43 +00:00
fvdl
759027f9ca
Define a 32bit compat version of the siginfo sendsig, and rename the
...
old one to reflect it's COMPAT_16 status.
2003-10-13 18:47:10 +00:00
fvdl
6781db3e2a
Do checks on passed in context values (sigreturn/setcontext) explicitly;
...
can't rely on catching the trap on iret for a few reasons.
2003-10-13 18:45:59 +00:00
fvdl
0deb20a334
Define 32bit versions of signal frames and contexts.
2003-10-13 18:41:11 +00:00
fvdl
ef0bb54192
Define a few macros to validate userspace selectors.
2003-10-13 18:40:16 +00:00
fvdl
dc921bb48e
Define mcontext32_t (if COMPAT_NETBSD32).
2003-10-13 18:38:34 +00:00
fvdl
4505ad3141
Define all frame members as unsigned, to avoid any possibility of
...
sign extension on these values.
2003-10-13 18:38:02 +00:00
cl
e9de14a4d3
add MD part of SA/pthread pagefault handling on sh3
2003-10-13 18:08:45 +00:00
thorpej
a58b40631e
* Shuffle some flags to make it easier to visually compare lists
...
of flags.
* In the new mount case, make sure to clear the mount "action" flags.
* Allow MNT_FORCE to be set by root on new mounts.
2003-10-13 18:02:20 +00:00
pk
595fb05c30
obp_v2_getbootfile: use the value of the `boot-file' prom environment
...
variable if we determine that the boot arguments presented to us by the
PROM do not contain a boot file name.
Idea from Greg Woods on port-sparc@netbsd.org .
2003-10-13 17:59:19 +00:00
thorpej
fc8c8a08ca
"force" is not an inverted option; fix it.
2003-10-13 17:55:11 +00:00
augustss
32ee02b1f9
Regen.
2003-10-13 17:16:55 +00:00
augustss
c88ef72c1d
Add some IOMEGA products.
2003-10-13 17:15:03 +00:00
thorpej
f7840303a1
Whitespace nits.
2003-10-13 17:07:55 +00:00
thorpej
1bdc80d6cc
Whitespace.
2003-10-13 16:55:10 +00:00
dyoung
031c2c9baa
Why don't I make up my mind? No need to left-shift the country
...
codes when I right-shift the country-code register! Fixes a bug
reported by Dan Carosone: regulatory domain "ETSI" registered as
domain "Spain/Other", so he could only tune channels 10 and 11.
2003-10-13 16:35:49 +00:00
agc
9f1aac5bb3
Move Jason Downs's code from a 4-clause to a 3-clause licence by
...
removing the advertising clause. Diffs provided in PR 22410 by Joel
Baker, confirmed to the board by Jason Downs.
With additional thanks to Jason Thorpe.
2003-10-13 15:36:33 +00:00
christos
f1f16d70f5
Remove Berkeley's advertising clause 3.
2003-10-13 15:31:35 +00:00
agc
61470ee029
Move Mark Nudelman's code from a 4-clause to a 3-clause licence by removing
...
the advertising clause. Diffs provided in PR 22549 by Joel Baker, confirmed
to the board by Mark Nudelman.
2003-10-13 14:34:25 +00:00
agc
b2b49933f4
Move Matt Green's code from a 4-clause to a 3-clause licence by removing
...
the advertising clause. Diffs provided in PR 22396 by Joel Baker, the changes
were confirmed to the board by Matt Green.
2003-10-13 14:22:20 +00:00
skrll
fd905830f3
Don't pull in libgcc_pic.a for -shared - it was added as a workaround for
...
gcc 2.95.3. Removing this fixes EH for gcc 3.3 by using the .eh.section
support in libcrt{begin,end}
Closes PR 22673.
2003-10-13 13:19:41 +00:00
jdolecek
5351b51128
the main parts of new unified MAKEDEV framework - MAKEDEV template
...
and script for generating the MD MAKEDEV
this is work in progress, some parts are still missing
2003-10-13 09:37:45 +00:00
itojun
e6d129819b
update m_pkthdr.len
2003-10-13 08:55:59 +00:00
dyoung
5cea02e6fe
Complete replacement of the old 802.11 layer with the new.
2003-10-13 08:34:15 +00:00
dyoung
2295b27590
Install athioctl.h, defining ioctls for Atheros 802.11a/b/g radios.
2003-10-13 08:29:48 +00:00
dyoung
abda32ca8b
Add 'mode' option to change PHY media for 802.11 devices. Also,
...
display PHY mode. E.g., run an 802.11a (5GHz, 54Mbps max) access
point:
> ifconfig ath0 nwid my_access_point mode 11a mediaopt hostap
> ifconfig -m ath0
ath0: flags=8843<UP,BROADCAST,RUNNING,SIMPLEX,MULTICAST> mtu 1500
nwid my_access_point
powersave off
bssid 00:05:5d:84:cc:6e chan 3
address: 00:05:5d:84:cc:6e
media: IEEE802.11 autoselect mode 11a hostap
status: active
supported IEEE802.11 media:
media autoselect
media autoselect mediaopt adhoc
media autoselect mediaopt hostap
media autoselect mediaopt monitor
media autoselect mode 11a
media autoselect mode 11a mediaopt adhoc
media autoselect mode 11a mediaopt hostap
media autoselect mode 11a mediaopt monitor
*snip snip*
2003-10-13 08:27:35 +00:00
dyoung
372fd2b92a
Adapt atw(4) to the new 802.11 layer.
...
Simplify atw_start, atw_newstate.
Synchronize access to atw_start by bracketing the call to
ieee80211_next_scan in atw_next_scan with splnet()/splx().
2003-10-13 08:22:19 +00:00
dyoung
e31cc884ed
Adapt awi(4) to the new 802.11 layer.
2003-10-13 08:10:48 +00:00
dyoung
ef743c64b6
Switch wi(4) to the new 802.11 layer.
2003-10-13 08:07:21 +00:00
dyoung
690ab87058
Use new 802.11 header files.
2003-10-13 08:02:02 +00:00
agc
ed6ed8e698
Move Keith Muller's code from a 4-clause to a 3-clause licence by removing
...
the advertising clause. Diffs provided in PR 22397 by Joel Baker, confirmed
to the board by Keith Muller.
2003-10-13 07:41:22 +00:00
dyoung
e4e42ad093
Add new 802.11 layer to the file lists.
2003-10-13 07:29:28 +00:00
lukem
d048430db6
Various fixes for when ngen is 0.
2003-10-13 07:28:52 +00:00
dsl
ca9f17c96d
Add bsd.obj.mk so these directories get their own obj directory (for the
...
library objects shared by their subdirectories).
Needed when the obj directory isn't a parent of the subdirectories obj directory
2003-10-13 06:56:47 +00:00
dyoung
c2ca61c2e6
Build net80211/.
2003-10-13 06:49:14 +00:00
dyoung
2459b02669
Switch an(4) to using the header files in the new 802.11 layer.
2003-10-13 06:45:32 +00:00
dyoung
5dbbaac41d
Switch to the new 802.11 layer.
2003-10-13 06:43:22 +00:00