summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* uuidgen has been repo-copied from usr.bin/ to bin/ to match its "new"obrien2008-03-136-205/+2
| | | | (2007/04/09) installation location.
* - Use an uppercase provider name in the example, to make the name changebrueffer2008-03-131-7/+7
| | | | | | | | | after labeling the provider more obvious. (1) - Correct nomenclature usage PR: 121487 (1) Submitted by: Anatoly Borodin <anatoly.borodin@gmail.com> MFC after: 3 days
* Add the module dependency on the mem(4) module. This will fix the modulecokane2008-03-131-0/+1
| | | | | | | | | failing to load on a kernel that has "nodevice mem" in the config. It will now properly bring in the mem(4) module. Submitted by: antoine Reviewed by: imp MFC after: 1 week
* Since version 4.3, gcc changed its behaviour concerning the i386/amd64kib2008-03-137-15/+15
| | | | | | | | | | | | | | | | | | ABI and the direction flag, that is it now assumes that the direction flag is cleared at the entry of a function and it doesn't clear once more if needed. This new behaviour conforms to the i386/amd64 ABI. Modify the signal handler frame setup code to clear the DF {e,r}flags bit on the amd64/i386 for the signal handlers. jhb@ noted that it might break old apps if they assumed DF == 1 would be preserved in the signal handlers, but that such apps should be rare and that older versions of gcc would not generate such apps. Submitted by: Aurelien Jarno <aurelien aurel32 net> PR: 121422 Reviewed by: jhb MFC after: 2 weeks
* Fix bugs in previous revision (missing comma, misspelled syscall name).ru2008-03-131-3/+2
|
* Remove trailing whitespace.ru2008-03-131-1/+1
|
* Add missing section number.ru2008-03-131-1/+1
|
* Add missed parentheseskib2008-03-131-1/+1
|
* Add const qualifier to cpuset mask's pointer, since the cpuset mask shoulddavidxu2008-03-131-1/+1
| | | | be not changed by the system call.
* In file sem_timewait.3, remove reference to SYSV semphore in SEE ALSOdavidxu2008-03-132-4/+3
| | | | section, sync it with sem_wait.3.
* PR 117603jeff2008-03-131-2/+5
| | | | | | | | | | - Close a sleepqueue signal race by interlocking with the per-process spinlock. This was mistakenly omitted from the thread_lock patch and has been a race since. MFC After: 1 week PR: bin/117603 Reported by: Danny Braniss <danny@cs.huji.ac.il>
* - When running a new command cause cpuset to operate on the per-thread maskjeff2008-03-122-4/+8
| | | | | | | | | | | by default rather than the setmask. This is consistent with the linux tool and more consistent with the notion that the default level is the process level. The cpuset mask can still be modified by specifying the -c option. You can not set the per-thread and cpuset mask in a single command. - Update the man page to reflect this change. Contributed by: gallatin
* This commit was generated by cvs2svn to compensate for changes in r177128,delphij2008-03-121-1/+2
|\ | | | | | | which included commits to RCS files with non-trunk default branches.
| * Reapply a bugfix that was done as sh.lex.c,v 1.1.1.8delphij2008-03-121-1/+2
| |
* | - The P_SA flag has been removed. Don't reference it in a KASSERT.jeff2008-03-121-2/+1
| |
* | - Fix build breakage; there was a reference to a removed syscall injeff2008-03-121-4/+3
| | | | | | | | a KASSERT(). Attempt to cleanup the comment to reflect reality.
* | The variable MTRR registers actually have variable-sized PhysBase andjhb2008-03-124-16/+52
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | PhysMask fields based on the number of physical address bits supported by the current CPU. The old code assumed 36 bits on i386 and 40 bits on amd64. In truth, all Intel CPUs up until recently used 36 bits (a newer Intel CPU uses 38 bits) and all the Opteron CPUs used 40 bits. In at least one case (the new Intel CPU) having the size of the mask field wrong resulted in writing questionable values into the MTRR registers on the application processors (BSP as well if you modify the MTRRs via memcontrol or running X, etc.). The result of the questionable physmask was that all of memory was apparently treated as uncached rather than write-back resulting in a very significant performance hit. Fix this by constructing a run-time mask for the PhysBase and PhysMask fields based on the number of physical address bits supported by the CPU. All 64-bit capable CPUs provide a count of PA bits supported via the 0x80000008 extended CPUID feature, so use that if it is available. If that feature is not available, then assume 36 PA bits. While I'm here, expand the (now-unused) macros for the PhysBase and PhysMask fields to the current largest possible value (52 PA bits). MFC after: 1 week PR: i386/120516 Reported by: Nokia
* | MFamd64: Break up the probe logic in the mem_drvinit routines so it'sjhb2008-03-122-13/+18
| | | | | | | | a bit easier to parse.
* | Minimize diffs with i686_mem.c:jhb2008-03-122-6/+9
| | | | | | | | | | - A few whitespace changes I missed in the style(9) changes. - Move M_MEMDESC to mem.c.
* | Current 'ar' read support in libarchive can only handle a GNU/SVR4kaiw2008-03-123-42/+41
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | filename table whose size is less than 65536 bytes. The original intention was to not consume the filename table, so the client will have a chance to look at it. To achieve that, the library call decompressor->read_ahead to read(look ahead) but do not call decompressor->consume to consume the data, thus a limit was raised since read_ahead call can only look ahead at most BUFFER_SIZE(65536) bytes at the moment, and you can not "look any further" before you consume what you already "saw". This commit will turn GNU/SVR4 filename table into "archive format data", i.e., filename table will be consumed by libarchive, so the 65536-bytes limit will be gone, but client can no longer have access to the content of filename table. 'ar' support test suite is changed accordingly. BSD ar(1) is not affected by this change since it doesn't look at the filename table. Reported by: erwin Discussed with: jkoshy, kientzle Reviewed by: jkoshy, kientzle Approved by: jkoshy(mentor), kientzle
* | Relax the BIOS/OS sempahore handoff code to workaround different hardjhb2008-03-121-1/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | hangs (one at boot, one at shutdown) in recent machines. First, only try to take ownership of the EHCI controller if the BIOS currently owns the controller. On a HP DL160 G5, the machine hangs when we try to take ownership. Second, don't bother trying to give up ownership of the controller during shutdown. It's not strictly required and a Dell DCS S29 hangs on shutdown after the config write. Both of these changes match the behavior of the Linux EHCI driver. I also think both of these hangs are caused by bugs in the BIOS' SMM handler causing it to get stuck in an infinite loop in SMM. MFC after: 1 week
* | Partially revert 1.95. It changed the probe for a mouse device to onlyjhb2008-03-121-1/+4
| | | | | | | | | | | | | | | | | | accept a mouse using the boot subclass. Instead, restore the original hid_is_collection() test and fallback to testing the interface class, subclass, and protocol if that fails. MFC after: 1 week PR: usb/118670
* | fix inverted test that disabled ACK's on xmitsam2008-03-121-1/+1
| |
* | document device hints including new ones to control rx fifo triggersam2008-03-121-1/+28
| | | | | | | | MFC after: 2 weeks
* | add device hints to control the rx FIFO interrupt level on 16550A partssam2008-03-122-1/+18
| | | | | | | | | | | | | | PR: kern/121421 Submitted by: UEMURA Tetsuya Reviewed by: marcel MFC after: 2 weeks
* | Add missing comma.remko2008-03-121-1/+1
| | | | | | | | | | | | | | PR: bin/121645 Submitted by: OISHI Masakuni <yamasa at bsdhouse dot org> Approved by: imp (mentor, implicit for trivial changes) MFC after: 3 days
* | Add resume support to the agp_i810 family.remko2008-03-121-0/+17
| | | | | | | | | | | | | | Submitted by: "Robert Noland" <rnoland at 2hip dot net> Reviewed by: anholt Approved by: anholt, imp (mentor) MFC after: 1 week
* | Convert TSEC watchdog to the new scheme.raj2008-03-122-18/+29
| | | | | | | | | | Reviewed by: imp, marcel Approved by: cognet (mentor)
* | Obtain TSEC h/w address from the parent bus (OCP) and not rely blindly on whatraj2008-03-125-11/+51
| | | | | | | | | | | | | | | | | | | | | | | | might be currently programmed into the registers. Underlying firmware (U-Boot) would typically program MAC address into the first unit only, and others are left uninitialized. It is now possible to retrieve and program MAC address for all units properly, provided they were passed on in the bootinfo metadata. Reviewed by: imp, marcel Approved by: cognet (mentor)
* | Improve handling U-Boot's "eth%daddr" while PowerPC metadata preparation.raj2008-03-121-3/+20
| | | | | | | | | | | | | | | | We're now more robust against cases of non-sorted and/or non-continuous numbering of those entries. Reviewed by: imp, marcel Approved by: cognet (mentor)
* | Eliminate artificial increasing of 'netdev_opens' counter in loader's ↵raj2008-03-127-87/+101
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | net_open(). This was introduced as a workaround long time ago for some Alpha firmware (which is now gone), and actually prevented net_close() to ever be called. Certain firmwares (U-Boot) need local shutdown operations to be performed on a network controller upon transaction end: such platform-specific hooks are supposed to be called via netif_close() (from within net_close()). This change effectively reverts the following CVS commit: sys/boot/common/dev_net.c revision 1.7 date: 2000/05/13 15:40:46; author: dfr; state: Exp; lines: +2 -1 Only probe network settings on the first open of the network device. The alpha firmware takes a seriously long time to open the network device the first time. Also suppress excessive output while netbooting via loader, unless debugging. While there, make sys/boot/uboot more style(9) compliant. Reviewed by: imp Approved by: cognet (mentor)
* | Bring the behaviour of pmc_capabilities() and pmc_width() in line withjkoshy2008-03-121-3/+5
| | | | | | | | | | | | documentation: set 'errno' and return -1 in case of an error. Update (c) years.
* | Describe return values from pmc_ncpu() and pmc_npmc() better.jkoshy2008-03-121-1/+4
| |
* | Respect RF_SHAREABLE flag in ARM nexus_setup_intr()raj2008-03-121-0/+3
| | | | | | | | | | Reviewed by: imp Approved by: cognet (mentor)
* | Remove dead code which makes a call to mem_range_attr_set().gallatin2008-03-121-18/+2
| | | | | | | | | | | | | | This fixes a bug where mxge did not declare a dependancy on mem(4), and failed to load with options nomem. Pointed out by: antoine
* | Improve ARM bus_dmamap_load_buffer() error handling.raj2008-03-121-2/+4
| | | | | | | | | | | | Reviewed by: imp Approved by: cognet (mentor) Spotted by: Grzegorz Bernacki gjb AT semihalf DOT com
* | If the special target .MAKEFILEDEPS exists, then enable theobrien2008-03-121-26/+26
| | | | | | | | "remaking makefiles" feature. Otherwise, follow traditional Pmake behavior.
* | If the special target .MAKEFILEDEPS exists, then enable theobrien2008-03-124-1/+24
| | | | | | | | | | "remaking makefiles" feature. Otherwise, follow traditional Pmake behavior. (hash table will be regenerated and committed follow this commit)
* | Update to the "new" libalias API (and thus fix world breakage).piso2008-03-124-23/+30
| |
* | -Don't pass down the entire pkt to ProtoAliasIn, ProtoAliasOut, FragmentInpiso2008-03-124-306/+44
| | | | | | | | | | and FragmentOut. -Axe the old PacketAlias API: it has been deprecated since 5.x.
* | - Remove ksethrcmdname.jeff2008-03-123-9/+0
| |
* | - Remove kse syscall symbols and man pages.jeff2008-03-122-21/+1
| |
* | Remove kernel support for M:N threading.jeff2008-03-1269-2343/+79
| | | | | | | | | | | | | | | | While the KSE project was quite successful in bringing threading to FreeBSD, the M:N approach taken by the kse library was never developed to its full potential. Backwards compatibility will be provided via libmap.conf for dynamically linked binaries and static binaries will be broken.
* | - P_SA has been removed.jeff2008-03-121-1/+0
| |
* | - Don't inspect the P_SA flag. It's being removed.jeff2008-03-121-7/+2
| |
* | - Remove libkse and related support code in libpthread from the build.jeff2008-03-122-6/+2
| | | | | | | | Don't remove the files yet. Kernel support will be removed shortly.
* | - Add an UPDATING entry about the removal of KSE.jeff2008-03-121-0/+10
| |
* | - Bump __FreeBSD_version for sleepq/cv_* api changes.jeff2008-03-121-1/+1
| |
* | - Pass the priority argument from *sleep() into sleepq and down intojeff2008-03-1214-95/+90
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | sched_sleep(). This removes extra thread_lock() acquisition and allows the scheduler to decide what to do with the static boost. - Change the priority arguments to cv_* to match sleepq/msleep/etc. where 0 means no priority change. Catch -1 in cv_broadcastpri() and convert it to 0 for now. - Set a flag when sleeping in a way that is compatible with swapping since direct priority comparisons are meaningless now. - Add a sysctl to ule, kern.sched.static_boost, that defaults to on which controls the boost behavior. Turning it off gives better performance in some workloads but needs more investigation. - While we're modifying sleepq, change signal and broadcast to both return with the lock held as the lock was held on enter. Reviewed by: jhb, peter
* | Portability: Eliminate the need for uudecode by incorporatingkientzle2008-03-127-81/+231
| | | | | | | | | | | | | | | | | | uudecode into the main test driver and invoking it just-in-time within the various tests. Also, incorporate a number of improvements to the main test support code that have proven useful on other projects where I've used this framework.
OpenPOWER on IntegriCloud