| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
|
|
|
|
|
| |
but actually exited from the for(){} loop. This fixes the PPPIOCSCOMPRESS
ioctl.
PR: kern/101333
Submitted by: Igor Popov <igorpopov newmail.ru>
|
|
|
|
|
|
|
| |
MFT.
PR: 86965
Submitted by: Lowell Gilbert <lgfbsd@be-well.ilk.org>
|
|
|
|
|
|
|
|
|
|
| |
kept unused in the ring. This check should probably be moved up to
bce_start_locked at some point, as it'll make the loop up there slightly
more efficient, and will eliminate a costly set of busdma operations when
the ring is full. But this works for now.
This makes all of my UDP torture tests work. I'll cautiously say that
it might even work for other users now. Feedback is appreciated.
|
|
|
|
| |
Approved by: cognet
|
| |
|
|
|
|
|
|
|
|
|
|
| |
syscalls using __syscall but only actually returning 32bits, such as mmap(),
specially : they set the return value in td->td_retval[0], but the userland
functions will expect this in r1, and not in r0 as it is normally done, as it
is the LSB. So add a special case for all these syscalls (all except lseek,
which truly returns 64bits).
Many thanks to Peter Grehan for his patience while explaining me the issue.
|
|
|
|
| |
uses pfil to get to ipfw.
|
|
|
|
| |
endianness is.
|
|
|
|
|
|
|
|
|
|
|
| |
If the length is zero, catch this early, instead of making dflen go negative
and letting bad things happen... We also check to see if RV (checksum) is
0, and handle that has a checksum failure...
Properly handle checksum failures by not processing read-write VPD data,
and removing all the found read-only data...
Tested by: oleg (dflen going negative)
|
|
|
|
| |
and remove "temporary" stuff that is not needed any more.
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
processes. It was originally added back when support for Linux threads
(and thus shared sigacts objects) was added, but no one knows why. My
guess is that at some point during the Linux threads patches, the sigacts
object was torn down during exit1(), so this check was added to prevent
a panic for that race. However, the stuff that was actually committed to
the tree doesn't teardown sigacts until wait() making the above race moot.
Re-allowing signals here lets one interrupt a NFS request during process
teardown (such as closing descriptors) on an interruptible mount.
Requested by: kib (long time ago)
MFC after: 1 week
|
|
|
|
|
| |
- Remove duplicate options.
- 'nomakeoption ATKBD_DFLT_KEYMAP' is not needed anymore.
|
| |
|
|
|
|
| |
Submitted by: rdivacky
|
| |
|
|
|
|
|
|
|
| |
be displayed specially, and debug registers are among of the least
interesting special registers (far behind %cr3). The debug registers
are still accessible as variables and displayed in another bogus place
("show watches").
|
|
|
|
|
|
|
|
| |
Massive update. The highlights:
o dramatically cut memory usage by writing better, less intertwingled
code.
o implement booting off mmc/sd cards (sd only tested one at the moment)
o start to split out board specific stuff for boot2.
|
|
|
|
| |
Also remove 'device io' from amd64 NOTES; DEFAULTS takes care of it.
|
|
|
|
|
|
|
| |
thread reference on it.
Reviewed by: tegge
Approved by: pjd (mentor)
|
|
|
|
|
|
|
|
| |
vnode' v_rdev and increment the dev threadcount , as well as clear it
(in devfs_reclaim) under the dev_lock().
Reviewed by: tegge
Approved by: pjd (mentor)
|
|
|
|
| |
Noticed by: ru@
|
|
|
|
| |
the food chain. devi == NULL is the error condition. Treat it as such.
|
| |
|
|
|
|
| |
things OK.
|
| |
|
| |
|
|
|
|
| |
Fix a typo in resource allocation.
|
| |
|
| |
|
|
|
|
| |
code). A little green, so not yet connected to the build.
|
|
|
|
|
|
| |
This interface also appears in the AT91SAM9260 and '61 as well as the
AVR32 based micros from Atmel. We don't yet support write protect or
hot-swap in this bridge driver.
|
|
|
|
|
|
| |
should be easily adapted to SD 2.0 (aka SDHC), SDIO, MMC and MMCplus
cards. At the present time, there's only one bridge driver for the
ARM9 based Atmel AT91RM9200.
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Move the pid_t, size_t, and time_t definitions earlier in the file, sort
them, and fix whitespace.
- Drop redundant includes of sys/cdefs.h and sys/_types.h as sys/ipc.h
already includes them.
PR: kern/104436
Reviewed by: bde
Reported by: clsung
MFC after: 3 days
|
| |
|
| |
|
|
|
|
| |
parent tag.
|
|
|
|
|
| |
and tx buffers. Fix it there, and also don't have it be overridden by the
parent tag.
|
|
|
|
| |
tx load and fragmentation problems.
|
|
|
|
|
|
| |
is newer than acpi_wakecode.h, the latter is rebuilt.
Reported by: bde
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
| |
tasks. Since the host controllers rely on tasks to process transfer
timeouts, if a synchronous transfer from a driver was invoked from
a task and timed out, it would never complete because the single
task thread was stuck performing the synchronous transfer so couldn't
process the timeout.
This affected the axe, udav and ural drivers.
Problem hardware provided by: guido
|
|
|
|
|
|
| |
o day and mday are the same. No need to subtract 1 from mday.
o Set dow to -1 as clock_ct_to_ts() checks this field and
returns EINVAL on any day of the week but Sunday.
|
| |
|
|
|
|
|
|
|
|
|
|
|
| |
Unlock the vnode in devfs_close() while calling into the driver d_close()
routine.
devfs_revoke() changes by: ups
Reviewed and bugfixes by: tegge
Tested by: mbr, Peter Holm
Approved by: pjd (mentor)
MFC after: 1 week
|
|
|
|
|
| |
Reported by: Coverity
CID: 1556
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Count (scheduling of) software interrupts (SWIs) as SWIs, not as
hardware interrupts.
- Don't count (scheduling of) delayed SWIs as interrupts at all, since
in the delayed case it is expected that there are many more scheduling
calls than handling calls. Perhaps all interrupts should be counted
only when they are handled, but it is only counts of delayed SWIs that
shouldn never be combined with the other counts.
subr_trap.c:
- Count (handling of) Asynchronous System Traps (ASTs) as traps, not as
software interrupts.
Before these changes, the counter for SWIs only counted ASTs, and SWIs
weren't counted separately, but a subcounter for ASTs alone is less
needed than for most other exception sources.
4.4BSD-Lite uses the counters for similar things (actually matching
their names) on its main arches (hp300, ..., !i386) where more of the
exceptions are in hardware.
|