| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
| |
|
| |
|
|
|
|
| |
which included commits to RCS files with non-trunk default branches.
|
| |
|
|
|
|
| |
which included commits to RCS files with non-trunk default branches.
|
|\
| |
| |
| | |
which included commits to RCS files with non-trunk default branches.
|
| | |
|
| |
| |
| |
| | |
counters out of the inner struct and remove it.
|
| |
| |
| |
| |
| |
| | |
the flag field.
Reviewed by: rwatson
|
| |
| |
| |
| | |
D_MMAP_ANON device switch flag.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
1.) Fix an off-by-one in the DVMA space handling, which would make it
possible to allocate one page beyond the end of the DVMA area.
This page was aliased to the first page. Apparently, this bug was
responsible for the trashed nvram/eeprom some people were reporting,
in conjunction with a number of unfortunate coincidences.
2.) Fix broken boundary and and lowaddr calculations.
3.) Fix a memory leak on an error path.
4.) Update a outdated comment to reflect the introduction of IOMMU_MAX_PRE,
make the usage of IOMMU_MAX_PRE more consistent and KASSERT that the
preallocation size is not 0.
5.) Fix a case where an error return was lost.
6.) When signalling an error to the caller by invoking the callback, do
not use a segment pointer of NULL for compatability with existing
drivers.
Also, increase the maximum segment number to 64; it is rather arbitrary,
with the exception of the of the stack space consumed by the segment
array.
Special thanks go to Harti Brandt <brandt@fokus.fraunhofer.de> for
spotting 4 and 5, and testing many iterations of patches.
Pointy hats to: tmm
|
| | |
|
| |
| |
| |
| |
| |
| |
| |
| | |
- Remove NetBSD-style or-ed together BUS_DMASYNC operations, in some
cases relaxing the (intended) syncing operation a bit.
- Add syncs before reading the descriptor rings.
- Try to combine syncs where possible to avoid overhead.
- Sync all maps before unloading them.
|
| |
| |
| |
| |
| |
| |
| |
| |
| |
| |
| | |
- Remove NetBSD-style or-ed together BUS_DMASYNC operations, in some
cases relaxing the (intended) syncing operation a bit.
- Stop pretending that that we can sync part of a dmamap: replace the
GEM_CDTXSYNC and GEM_CDRXSYNC macros with GEM_CDSYNC to sync the
complete control map, and combine syncs wherever possible to avoid
the overhead.
- Sync all maps before unloading them.
- Remove a few syncs which should be unnecessary.
|
| |
| |
| |
| |
| |
| | |
constants where flag bits (as in NetBSD), although they are consecutively
numbered in FreeBSD. This would cause unnecessary flushing in the
BUS_DMASYNC_POSTWRITE case, but was otherwise mostly harmless.
|
| |
| |
| |
| |
| | |
allocations would fail if the desired allocation size was equal to
the boundary.
|
| | |
|
| | |
|
|\ \
| | |
| | |
| | | |
which included commits to RCS files with non-trunk default branches.
|
| | |
| | |
| | |
| | |
| | |
| | | |
This is particularly important for OpenSSL 0.9.7, as `des_read_pw_string'
is a macro there. (This fix brought in on the vendor branch, because I
already committed it to Heimdal's CVS.)
|
| | |
| | |
| | |
| | | |
OpenSSL 0.9.7 when it is imported. (This currently has no effect.)
|
| | | |
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Approved by: markm (mentor)(implicit)
Submitted by: Robin Breathe <robin@isometry.net>
|
| | | |
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Submitted by: Bruno Schwander <bruno@tinkerbox.org>
MFC after: 3 days
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
is happening.
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
from the Makefile:
- Print pointers with %p instead of %x.
- Include missing headers to get prototypes.
Noticed by: benno
|
| | |
| | |
| | |
| | |
| | | |
The ACPI data for the mouse includes the compatibility ID, but we
apparently don't make use of it.
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | | |
Merge M_NOWAIT/M_DONTWAIT into a single flag M_NOWAIT.
|
| | |
| | |
| | |
| | |
| | |
| | | |
other architectures.
Pointed out by: peter
|
| | |
| | |
| | |
| | |
| | |
| | | |
Fix potential malloc panic.
Prodded by: phk
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
- Move APRATE switch() code to function for clarity.
- Conditionally call wi_printaplist() alone if more than one 'L'
is preset.
- Add the 'Q' flag to suppress printing of extraneous information
in wi_printaplist().
- Re-order second getopt() in main().
Reviewed by: imp
|
| | |
| | |
| | |
| | | |
Obtained from: OpenBSD
|
| | |
| | |
| | |
| | | |
ELF one.
|
| | | |
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
read from the raw kld files.
Submitted by: Hartmut Brandt <brandt@fokus.gmd.de>
PR: 46870
Tested on: alpha (obrien), i386, sparc64
|
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | |
| | | |
indicate that uma_small_alloc should not. This code should be refactored so
that there is not so much cross arch duplication.
Reviewed by: jake
Spotted by: tmm
Tested on: alpha, sparc64
Pointy hat to: jeff and everyone who cut and pasted the bad code. :-)
|
| | | |
|
| | | |
|
| | |
| | |
| | |
| | |
| | | |
Submitted by: maxim
Reviewed by: rwatson, bmah
|