Commit Graph

96125 Commits

Author SHA1 Message Date
dyoung
4738cebcdd Regen. 2008-08-06 15:17:05 +00:00
dyoung
711281588b Define O2 Micro OZ711E0. From OpenBSD. 2008-08-06 15:14:21 +00:00
plunky
fd7356a917 Convert socket options code to use a sockopt structure
instead of laying everything into an mbuf.

approved by core
2008-08-06 15:01:23 +00:00
reinoud
a287d23dee Rewrite allocation scheme's determination and implementation replacing the
old somewhat naive selection scheme that didn't allow different allocation
settings for nodes, directory information (FIDs) and data.

Also fix some curious side-effects of atime updates on RMW devices.
2008-08-06 13:41:12 +00:00
hannken
601ab263e0 Do not call UFS_WAPBL_*() when ffs_freefile() is acting on a snapshot.
While here replace the test for VBLK with a convenience variable.
2008-08-06 12:54:26 +00:00
matt
7fc2caf9e9 Fix typo FP_ -> FE_ 2008-08-06 03:54:50 +00:00
degroote
64411951db We have a dummy entry for IPV6CP even if the non-INET6 case.
So always reference IDX_IPV6CP
Fix build of if_spppsubr.c if INET6 is not defined.
2008-08-05 23:56:31 +00:00
reinoud
5e89a5a8f1 Fixup important bug in internal recorded data fixup. Although most unlikely
it could result in theory result in descriptor trashing.

On the performance side, it would try to fixup *every* descriptor even if
it wasn't an internally allocated one. Performance loss wasn't that big but
every bit helps.
2008-08-05 19:29:54 +00:00
drochner
687baea535 Disable interrupts before shutdownhooks are run, as all other ports.
shutdownhooks need to use polling functions (and most do).
2008-08-05 17:09:17 +00:00
matt
91d4704c12 Update <machine/ieeefp.h> to use the C99 FE_* definitions instead of the
NetBSD defined ones.  Redefine the NetBSD ones in terms of the C99 ones.
Step 1 to having <fenv.h>
2008-08-05 16:47:41 +00:00
matt
c5e5572326 For ARITH traps, set the siginfo code appropriately for FP related traps. 2008-08-05 16:00:31 +00:00
matt
a97a3faaf7 Add the AFLT_FLT* code for T_ARITHFLT. 2008-08-05 15:59:28 +00:00
matt
e56d3c9caf Add PSL_{IV,FU,DV} bits. 2008-08-05 15:56:04 +00:00
pooka
7b679f625d Maintain consistency of naming between the rumpfs library name and
the MOUNT_FOOFS name.  Don't bother polluting the obsolete lists
with the original names since they were in only for a few days.
2008-08-05 14:42:03 +00:00
pooka
b43847b66c zu, not zd, to print size_t 2008-08-05 13:39:29 +00:00
simonb
159018ab5b Enable "options APPLE_UFS". OK pooka@. 2008-08-05 13:16:27 +00:00
plunky
c5ce5d1afa adjust message for previous change 2008-08-05 13:08:31 +00:00
pooka
919218a908 Honor PG_RELEASED when unbusying a page.
Fixes ufs file system full problem discovered by Simon Burge.
2008-08-05 13:06:35 +00:00
plunky
516804fedf drop packets that exceed the negotiated MTU 2008-08-05 13:02:10 +00:00
apb
945315ec99 Use ${TOOL_SED}, which is defined by bsd.own.mk/bsd.sys.mk,
instead of just ${SED}.   (Don't do the same for ${AWK},
because that's not yet a host tool.)
2008-08-05 08:26:05 +00:00
matt
0d17fd6f2c RBSMALL is dead. 2008-08-05 04:12:09 +00:00
perry
3a8b66906e Per request from Matt Thomas, make -m on -current print the major
number of the next release.
2008-08-04 19:30:09 +00:00
perry
3fe86b6b2e 1) replace use of sed with $SED
2) get rid of grep variable -- grep isn't used here
3) add a -m option that prints the release major number (like "4")
4) add a comment documenting the options
2008-08-04 17:56:52 +00:00
matt
e90b08472f Add _POSIX_HOST_NAME_MAX and _POSIX_SYMLOOP_MAX to <limits.h> and add some
references to them in <sys/param.h>
in <stdio.h> also export v*scanf when _ISOC99_SOURCE is defined

From andy dot shevchenko at gmail dot com.
2008-08-04 17:08:49 +00:00
simonb
ba0675032b Only allow WAPBL to operate with UFS2 style superblocks.
Problem reported by Takeshi Nakayama.
2008-08-04 15:55:11 +00:00
pooka
27f3f4f004 Add support for using real kmem/vmem. Don't enable it by default,
though, since it a) is a lot of unnecessary indirection in rump
b) requires callouts which are so far unimplemented.
2008-08-04 15:02:16 +00:00
pooka
8f1eb24c9f libs don't need NOMAN 2008-08-04 14:35:24 +00:00
pooka
c7b9619f12 the most karmic commit of all: fix tyop in comment 2008-08-04 13:37:33 +00:00
christos
fd2004ecfd keep the loop, but arrange IDX_COUNT to be correct. 2008-08-04 12:03:14 +00:00
martin
2cfed21969 PR kern/39280: Uninitialized callout stopped in if_spppsubr layer
in kernels without options INET6.
2008-08-04 10:17:33 +00:00
spz
79462c037e typo fix in comment (drops the ' in drop's :) 2008-08-04 07:01:05 +00:00
matt
b89c8b7b61 Free the socket only after disposing of the PCB. 2008-08-04 06:47:52 +00:00
matt
3e368ad90b Free the socket only after disposing of the PCB. 2008-08-04 06:29:58 +00:00
matt
cc99e2f48f Remove the pcb from the rawcb list before sofree'ing it.
Don't reacquire softnet_lock until after we've freed the pcb.
2008-08-04 06:19:35 +00:00
cegger
e61fddb8f9 struct cfdata -> cfdata_t 2008-08-04 06:01:18 +00:00
tls
c5ddeafa76 Unlock reassembly queue before calling sorwakeup(), not after. In unusual
cases with in-kernel consumers which might send data on the same socket,
we can deadlock on the reassembly queue otherwise (observed while testing
accept filters).
2008-08-04 04:08:47 +00:00
tls
717f903a98 Add accept filters, ported from FreeBSD by Coyote Point Systems. Add inetd
support for specifying an accept filter for a service (mostly as a usage
example, but it can be handy for other things).  Manual pages to follow
in a day or so.

OK core@.
2008-08-04 03:55:47 +00:00
macallan
d61452c45c fix another botched device_t-ification 2008-08-04 03:14:43 +00:00
joerg
9ae4651601 Move some MD declarations from x86/pci/files.pci to x86/conf/files.x86,
so that Xen can use the former.

Drop Xen's pcib.c in favor of the x86 code and thereby unbreak ichlpcib.
2008-08-03 19:32:03 +00:00
joerg
cc4b6d8ca3 Reduce diff to GENERIC for compat options. 2008-08-03 19:23:47 +00:00
joerg
2955830a40 Remove SYSV IPC options as they have been replaced with sysctls. 2008-08-03 19:20:48 +00:00
rumble
6b11ab8f44 Add -m to usage and do not simply use strcmp to compare names as the volhdr
name is not necessarily nul-terminated.
2008-08-03 17:42:34 +00:00
rumble
f048ceb62a Add -m to move (rename) files in the volume header. While here, remove
some magic constants and fix some space-limited printfs.
2008-08-03 16:09:20 +00:00
degroote
8501900fa0 In crypto_freereq, destroy explicitly the condvar
ok by tls@
2008-08-03 10:18:12 +00:00
tsutsui
70612e5c54 Remove __weak_alias() for mips3_delay(). It's in mips3_clock.c. 2008-08-03 09:14:28 +00:00
cegger
6223c57814 make i386 ALL kernel compile 2008-08-03 07:05:22 +00:00
joerg
3ea923f75a Allow using VGA_POST without ACPI again. 2008-08-03 02:12:22 +00:00
tsutsui
84e2b374ec Two fixes to make -current kernel be loadable by 4.0 bootloader:
- if bootinfo is not passed from bootloader, check argv[1] first
  which might be the loaded kernel path specified for bootloader
- when using argv[0] as the kernel path (loaded directly by the PROM)
  assume boot partition is 0 (partition a) since the kernel might be
  in an SGI volume header partition and it can't be a root partition

Ok'ed by rumble@, and tested on IP22 and IP32.
2008-08-03 00:35:03 +00:00
tsutsui
8485799843 - replace some mysterious magic numbers in CPU clock measurement code
with some more meaningful expressions
- compare counter values in 100ms rather than 2ms
- check CPU_MIPS_DOUBLE_COUNT in mips_cpu_flags explicitly
2008-08-03 00:20:18 +00:00
tsutsui
2d4879d193 Add CPU_MIPS_DOUBLE_COUNT to R10K family CPUs and
also remove (unused?) MIPS_NOT_SUPP flag from them.

Problem on R10k O2 is reported by martin@ on port-sgimips.
2008-08-03 00:09:20 +00:00