Commit Graph

174213 Commits

Author SHA1 Message Date
mrg
d5ae492949 find the kmodule ldscript in the source tree again.
should fix a build issue reported by jmcneill.
2008-10-14 18:31:42 +00:00
jmcneill
b8aea8193c kern/39727: race condition in ehci isoc abort xfer path
From Jeremy Morse:

  * Serialize access to the ehci intrlist.
  * Change the ehci intrlist to a tailq so xfers are not queued out of order.
  * In ehci_check_itd_intr, don't treat a transfer error as an indication
    that the xfer is no longer active.
2008-10-14 18:12:38 +00:00
matt
02ed53f8f6 Need to be __clz[sd]i2 2008-10-14 17:23:33 +00:00
pooka
2002727b2c Give maximum level of network softinterrupts a symbolic constant
(which happened to get bumbed from 32 to 33 (AF_MAX) now).
2008-10-14 17:15:20 +00:00
matt
c9a118aa75 Add FA526 support (compile tested only) 2008-10-14 16:01:22 +00:00
cegger
9250503c06 do correct octal counting and use CPUID_APM_FLAGS in cpuctl 2008-10-14 15:49:04 +00:00
tsutsui
8e13c684aa If no booted_device is found in find_root(), also check CD-ROM boot
with strategy bootloader does.  This allows one CD system with cd9660
root file system and mfs (like a restorecd for cobalt) using GENERIC.

No objection on port-i386, and no bad side effect on usual harddisk boot
or installation of GENERIC with miniroot module.
2008-10-14 15:48:44 +00:00
tsutsui
9f5daccbf0 Regen autoconf stuff using tools version of autoconf (in src/tools/autoconf),
as per suggestion from apb@ on tech-toolchain.
Tested 'build.sh -U release iso-image' on NetBSD/i386 4.99.73.
2008-10-14 15:23:26 +00:00
bjs
8ff9ca028e Fix handling of lists with a single entry in list_for_each_safe();
this also plugs a memory leak.
2008-10-14 14:55:28 +00:00
cegger
6b341232c5 add cpuid fn 80000007 %edx: AMD Power Management feature flags 2008-10-14 14:33:51 +00:00
ad
e2115ceee7 PR kern/39726 Soekris 5501-60 boot/bootxx 120 second delay
Try enabling A20 using an extended BIOS call before playing around with
the keyboard controller or system config port.
2008-10-14 14:18:11 +00:00
pooka
a44cdde52c M_IOV is used all over the place, so stuff it in with malloc_stdtypes 2008-10-14 14:17:49 +00:00
pooka
fe413fd0f6 +IPL_SOFTNET 2008-10-14 14:09:29 +00:00
ad
82e3c0b1ac Accept filters:
- Remove remaining #ifdef INET.
- Avoid holding locks so we don't need to do KM_NOSLEEP allocations.
- Use a rwlock to protect the accept filter list.
- Make it safe to unload accept filter modules.
- Minor KNF.
2008-10-14 13:45:26 +00:00
ad
978e1181ad Use designated initializers for struct accept_filter. 2008-10-14 13:05:44 +00:00
cegger
9f76b1e7c7 fix output of 3DNOWPREFETCH feature flag 2008-10-14 12:22:29 +00:00
pooka
6fd4c68b67 Add some more trivial emulations. 2008-10-14 10:42:27 +00:00
pooka
a48233737f score some stubs 2008-10-14 10:32:38 +00:00
wiz
34edb0b49f Typo fix and punctuation nit. 2008-10-14 09:29:40 +00:00
ad
a68a7877a5 Correction to previous. 2008-10-14 09:17:23 +00:00
ad
a65f991bb4 Redo kern_resource.c:1.146 by pooka@: change ui_sbsize to a u_long. 2008-10-14 09:16:32 +00:00
apb
4c441fdf08 Use "?=", not "=", to set default values for the TOOL_* variables
added in the previous commit.
2008-10-14 07:24:34 +00:00
matt
01a00ce83a Add a _clzsi2 for armv4 platforms. 2008-10-14 03:16:20 +00:00
pooka
8a7a4b8184 Add a simple example of how to use rump networking facilities.
This just contacts www.NetBSD.org, does GET / and displays the
result.

It either uses the host kernel socket provided PF_INET or the kernel
TCP/IP stack running in userspace (via if_virt and /dev/tap),
depending on the libraries it's linked with.

(not built yet, as I need to commit some more bits from my local
tree for it work)
2008-10-14 00:56:24 +00:00
pooka
65f822a3e5 Make the "something random" ethernet address ETHER_IS_LOCAL
(address assignment probably needs some more work if we want to
support multiple interfaces).

hat tip to Quentin Garnier
2008-10-14 00:50:44 +00:00
mrg
6fa3737bb8 since the Makefile creates stuff in (objdir) ./ldscripts/ and then
later deletes it, move the kmodule ldscript into 'xldscripts' and
deal with it from there.

fixes build issues where src/gnu/usr.bin/binutils/ld/ldscripts went
missing as reported by at least 2 people so far.
2008-10-13 22:36:55 +00:00
pooka
5ca4322cea Add tcp debugging as a build option. 2008-10-13 22:24:06 +00:00
pooka
e6b645ca82 Dear diary: an ethernet address with 0x01 set in the first octet
is an ethernet multicast address.  TCP does not like ethernet
multicast addresses.
2008-10-13 22:05:15 +00:00
cegger
68e6aa3a03 print features4: cpuid fn80000001 %ecx on AMD CPUs. 2008-10-13 21:11:46 +00:00
apb
76b1d72406 Update lists of options (sync with i386/boot(8) man page). 2008-10-13 20:41:21 +00:00
apb
c042908183 Update MI boot(8) man page from i386/boot(8) 2008-10-13 20:40:52 +00:00
apb
055794e083 Update i386/boot(8) man page:
* Explain that the native boot protocol sets flags in boothowto,
  while multiboot passes args as strings.
* Add missing option letters.
* For each option letter, say which flag it sets in boothowto.
* Describe the "load" and "multiboot" commands.
* Xr multiboot(8).
* Some chnges in wording.
2008-10-13 20:40:25 +00:00
pooka
4a2061c973 POOL_INIT -> pool_init 2008-10-13 19:44:21 +00:00
pooka
1c4adfb91b award unlimited sbsize rlimit 2008-10-13 19:41:13 +00:00
cegger
26997ceaa5 Add cpuid 0x80000001 %ecx features flags. Rename CPUID_MASK4 to CPUID_INTEL_MASK4 for consistency with new CPUID_AMD_MASK4 2008-10-13 19:14:53 +00:00
kleink
d0ec02536d tz{code,data}2008h out; tzdata2008h in. 2008-10-13 19:11:49 +00:00
kleink
25b8dd8b9d Import tzdata2008h. 2008-10-13 19:09:14 +00:00
apb
59b0ced7eb Add missing TOOL_* variables to bsd.sys.mk and document them in
bsd.README.  Previously, several of these variables were present in
bsd.own.mk but not in bsd.sys.mk or bsd.README.
2008-10-13 18:24:21 +00:00
apb
bdcb00dc94 Remove references to TOOL_BEBOXELF2PEF and TOOL_BEBOXMKBOOTIMAGE,
which were obsoleted in May 2008.
2008-10-13 18:23:47 +00:00
pooka
c4be8eb459 regen: properly create weak references to sys_foo() 2008-10-13 18:17:43 +00:00
pooka
0473281d9b rump_enosys() is autogenerated into rump_syscalls (makes things
actually work)
2008-10-13 18:17:07 +00:00
pooka
3a64aae825 Fix previous: weak symbols work so much better if they are exported
from the object as weak symbols...

There's also something to be said about "cosmetic" tweaks after
testing, but I do think I'll bother.
2008-10-13 18:16:33 +00:00
dyoung
47db387b04 Do not descend into docs/ unless MKDOC != no. 2008-10-13 18:11:54 +00:00
dyoung
5e0c4c784c Per uwe@'s suggestion, build nbgroff under wider circumstances.
I choose to build it if MKDOC != no or if MKHTML != no.  It used
to be built only when MKMAN != no.
2008-10-13 18:11:15 +00:00
pooka
c65f514a40 Add uid_init() I managed to miss earlier. 2008-10-13 18:03:53 +00:00
bouyer
1c69cc93b9 Jumbo frames is supported.
Note new default values for interrupt mitigation counters.
2008-10-13 18:02:43 +00:00
bouyer
49f5440bbe Add support for jumbo frames.
Some performances tweaks (including better defaults for interrupt mitigation)
2008-10-13 17:57:32 +00:00
cube
196dd1446e Treat .man.pre files just as regular .man files, that's what is done in the
package itself anyway.
2008-10-13 16:38:52 +00:00
pooka
d10342d64b regen - weak aliasing for default syscall 2008-10-13 16:25:52 +00:00
pooka
cf05fbf706 Weak alias all rump system calls to rump_enosys() 2008-10-13 16:25:12 +00:00