summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Change the arguments of exec_setregs() so that it receives a pointernwhitehorn2010-03-2518-71/+50
| | | | | | | | to the image_params struct instead of several members of that struct individually. This makes it easier to expand its arguments in the future without touching all platforms. Reviewed by: jhb
* Change the way text_addr and data_addr are computed to use thenwhitehorn2010-03-251-11/+6
| | | | | | | | | | | executable status of segments instead of detecting the main text segment by which segment contains the program entry point. This affects obreak() and is required for correct operation of that function on 64-bit PowerPC systems. The previous behavior was apparently required only for the Alpha, which is no longer supported. Reviewed by: jhb Tested on: amd64, sparc64, powerpc
* Propagate CONF_CFLAGS (from makeoptions) to the module build too.netchild2010-03-252-0/+7
| | | | Discussed with: jhb (on arch@)
* We are holding a write lock here so avoid aquiring it twice callingbz2010-03-251-1/+1
| | | | | | the "locked" version rather than the wrapper function. MFC after: 6 days
* Remove disabled code. In 99% cases exports are send to ng_ksocket(4), whichglebius2010-03-251-9/+0
| | | | | already forces queued mode, so what was suggested in disabled code is already done.
* fix another bug in "ipfw set N ..."luigi2010-03-241-1/+1
| | | | Submitted by: Marcin Wisnicki
* This broke when we went to gnu99 as the default standard. Fix the buildimp2010-03-241-0/+1
| | | | by reverting to the gnu89 standard.
* Adds the option of keeping per-cpu statistics in SCTP. Thisrrs2010-03-245-2/+174
| | | | | | may be useful since it gets rid of atomics but I want it to remain an option until I can do further testing on if it really speeds things up.
* lagging file I forgot to commit with my nr-sack fixes... oppsrrs2010-03-241-2/+0
| | | | Reviewed by: tuexen@freebsd.org
* Fix for NR-Sack code. The code was NOT working properly whenrrs2010-03-244-666/+193
| | | | | | | | | | | | | enabled. Basically most of the operations were incorrect causing bad sacks when you enabled nr-sack. The fixes range across 4 files and unifiy most of the processing so that we only test nr_sack flags to decide which type of sack to generate. Optimization left for this is to combine the sack generation code and make it capable of generating either sack thus shrinking out a routine. Reviewed by: tuexen@freebsd.org
* Print the pointer to the lock with the panic message. The previousbz2010-03-241-2/+2
| | | | | | | | | panic: rw lock not unlocked was not really helpful for debugging. Now one can at least call show lock <ptr> form ddb to learn more about the lock. MFC after: 3 days
* Expose MACHINE_CPU while building lib32 target.delphij2010-03-241-0/+1
|
* make the module loadableluigi2010-03-241-0/+2
| | | | Submitted by: Marcin Wisnicki
* Do not fetch precise time of request start when stats collection disabled.mav2010-03-241-1/+4
| | | | Reviewed by: pjd, phk
* Now actually implement reading/refreshing/returning data from the ↵syrinx2010-03-244-40/+334
| | | | | | | | | | | | pfTablesAddrTable and modify the BEGEMOT-PF-MIB to add support for IPV6 address' statistics in the PF tables via pfTablesAddrNetType and pfTablesAddrNet. While here, upgrade the pf_tree.def file to the new format that includes enumerated values. Also make sure to return SNMP_ERR_NOSUCHNAME for ALTQ objects, if ALTQ is disabled, so that the agent will know to skip the pfAltq subtree when servicing GETNEXT requests from SNMP clients (otherwise snmpwalk on begemotPf would stop at the pfAltq subtree with bsnmpd returning SNMP_ERR_GENERR).
* - Remove const'ness from dlerror(3) prototype, for consistency with POSIX.gahr2010-03-244-6/+5
| | | | | Approved by: cognet MFC after: 1 week
* Align memory access of 24-bit pixel renderer to word boundary.jkim2010-03-241-2/+7
|
* Teach VGA framebuffer about 8-bit palette format for VESA.jkim2010-03-242-12/+16
|
* Honor ip.fw.one_pass when a packet comes out of a pipe without being delayed.luigi2010-03-241-1/+5
| | | | | | I forgot to handle this case when i did the mtag cleanup three months ago. PR: 145004
* Prune empty directories.ed2010-03-240-0/+0
|
* Add missing Giant locking for the vfsconf list.jhb2010-03-241-0/+2
| | | | Submitted by: kib
* Use gpart(8) to set the active boot partition.phk2010-03-242-2/+2
|
* o FreeBSD 7.3 added.maxim2010-03-241-8/+9
|
* Fix periodic "t_delta 16.01359db7eb5eb3c0 too long" messages on the console byneel2010-03-241-17/+36
| | | | | accounting for the "lost time" between when the timer interrupt fired and when clock_intr() actually started executing.
* The nargvstr and nenvstr properties of arginfo are ints, not longs,nwhitehorn2010-03-241-2/+2
| | | | | | | | so should be copied to userspace with suword32() instead of suword(). This alleviates problems on 64-bit big-endian architectures, and is a no-op on all 32-bit architectures. Tested on: amd64, sparc64, powerpc64
* Adapt r204907 and r205402, the amd64 implementation of the workaround foralc2010-03-244-53/+224
| | | | | | | | | | | AMD Family 10h Erratum 383, to i386. Enable machine check exceptions by default, just like r204913 for amd64. Enable superpage promotion only if the processor actually supports large pages, i.e., PG_PS. MFC after: 2 weeks
* Fix the experimental NFS subsystem so that it uses the correctrmacklem2010-03-241-3/+3
| | | | | | | preprocessor macro name for not requiring strict data alignment. Suggested by: marius MFC after: 2 weeks
* Update metadata information as well as upgrade instructions.delphij2010-03-232-17/+12
|
* Fix an off-by-one bug for the number of slots on a PCI/PCI-X bus.marcel2010-03-231-7/+8
| | | | | We failed to setup PCI devices on slot 31 and that's where the SATA controller is for the P2020 eval board.
* Add my copyright here. It seems I have contributed enough code. :-)jkim2010-03-231-0/+1
|
* Be extremely careful when we determine bytes per scan line information.jkim2010-03-231-11/+54
| | | | | | | First, we compare mode table data against minimum value. If the mode table does not make sense, we set the minimum in the mode info. When we actually set the mode, we try VESA BIOS function and compare it against the previous value. If it makes more sense, update the information.
* When the regular NFS server replied to a UDP client out of the replayrmacklem2010-03-231-0/+2
| | | | | | | | | | | cache, it did not free the request argument mbuf list, resulting in a leak. This patch fixes that leak. Tested by: danny AT cs.huji.ac.il PR: kern/144330 Submitted by: to.my.trociny AT gmail.com (earlier version) Reviewed by: dfr MFC after: 2 weeks
* MFV: Update nc to the version from OpenBSD 4.7.delphij2010-03-232-21/+27
| | | | MFC after: 1 month
* Fall back to VGA palette functions if VESA function failed and DAC is stilljkim2010-03-231-11/+10
| | | | | in 6-bit mode. Although we have to check non-VGA compatibility bit here, it seems there are too many broken VESA BIOSes out to rely on it.
* Map entire video memory again. This is a partial backout of r203535.jkim2010-03-231-3/+4
| | | | | Although we do not use them all directly, it seems VGA render may access unmapped memory region and cause kernel panic.
* Separate 24-bit pixel draw from 32-bit case. Although it is slower, we dojkim2010-03-231-1/+4
| | | | not want to write a useless zero to inaccessible memory region.
* Implement /proc/filesystems.jhb2010-03-231-0/+18
| | | | Submitted by: Fernando Apesteguia fernando.apesteguia (gmail)
* Reject attempts to create a MAP_ANON mapping with a non-zero offset.jhb2010-03-232-3/+7
| | | | | | PR: kern/71258 Submitted by: Alexander Best MFC after: 2 weeks
* Add definitions for a 4th PCI host controller. No Freescale processormarcel2010-03-232-1/+16
| | | | | | has all 4 implemented, but across the processors we now support all the combinations. For example, the MPC8533 doesn't have a PCI controller at 0xA0000, but does at 0xB0000.
* Add PCI ID for MCS9901's parallel port.delphij2010-03-231-0/+1
| | | | | | PR: kern/144713 Submitted by: gcooper MFC after: 2 weeks
* Enable power management for E500 cores. Use "doze" for now to makemarcel2010-03-233-12/+13
| | | | | | | | sure the caches remain coherent. For single-core configurations and with busdma changes we could eventually switch to "nap" and force a D-cache invalidation as part of the DMA completion. To this end, clear PSL_WE until after we handled the decrementer or external interrupt as it tells us whether we just woke up or not.
* Correct cross reference.delphij2010-03-231-3/+3
| | | | MFC after: 2 weeks
* When receiving a management frame, pass the mbuf to bpf before callingrpaulo2010-03-231-0/+3
| | | | | | | | | | | iv_recv_mgmt(). iv_recv_mgmt() will generate management frame responses and pass them to bpf before the management frame that triggered the response. PR: 144323 Submitted by: Alexander Egorenkov <egorenar at gmail.com> MFC after: 2 weeks Sponsored by: iXsystems, inc.
* Add MCS to the list of media types.rpaulo2010-03-231-0/+2
| | | | Sponsored by: iXsystems, inc.
* Add a missing LINE_BREAK() after printing the roaming parameters inrpaulo2010-03-231-0/+1
| | | | | | | verbose mode. Sponsored by: iXsystems, inc. MFC after: 2 weeks
* Add a new field for extended HT capabilities.rpaulo2010-03-233-3/+16
| | | | | | Submitted by: Alexander Egorenkov <egorenar at gmail.com> MFC after: 2 weeks Sponsored by: iXsystems, inc.
* Finish the much belated Intel XScale hwpmc(4) man page.rpaulo2010-03-231-2/+119
|
* Add .snap to daily_clean_tmps_ignore; /tmp/.snap ist not supposed tojoerg2010-03-231-1/+1
| | | | | | be auto-removed (and /tmp is a filesystem of its own now by default). MFC after: 3 days
* Get nexus(4) out of the RTC business. The interface used by nexus(4)nwhitehorn2010-03-235-62/+190
| | | | | | | | | | in Open Firmware was Apple-specific, and we have complete coverage of Apple system controllers, so move RTC responsibilities into the system controller drivers. This avoids interesting problems from manipulating these devices through Open Firmware behind the backs of their drivers. Obtained from: NetBSD MFC after: 2 weeks
* Fixes a bug where SACKs in the face ofrrs2010-03-233-50/+35
| | | | | | | | | | | | | | | | mapping_array expansion would break. Basically once we expanded the array we no longer had both mapping arrays in sync which the sack processing code depends on. This would mean we were randomly referring to memory that was probably not there. This mostly just gave us bad sack results going back to the peer. If INVARIENTS was on of course we would hit the panic routine in the sack_check call. We also add a print routine for the place where one would panic in invarients so one can see what the main mapping array holds. Reviewed by: tuexen@freebsd.org MFC after: 2 weeks
OpenPOWER on IntegriCloud