freebsd-nq/sys/sparc64/sparc64
Hartmut Brandt e557905435 Fix a problem in bus_dmamap_load_{mbuf,uio} when the first mbuf or the first
uio segment is empty. In this case no dma segment is create by
bus_dmamap_load_buffer, but the calling routine clears the first flag.
Under certain combinations of addresses of the first and second mbuf/uio
buffer this leads to corrupted DMA segment descriptors. This was already
fixed by tmm in sparc64/sparc64/iommu.c.

PR:		kern/47733
Reviewed by:	sam
Approved by:	jake (mentor)
2003-02-04 16:30:27 +00:00
..
autoconf.c Run configure at SI_SUB_THIRD instead of SI_SUB_ANY like other 2002-11-18 03:28:23 +00:00
bus_machdep.c Fix a problem in bus_dmamap_load_{mbuf,uio} when the first mbuf or the first 2003-02-04 16:30:27 +00:00
cache.c - Reorganize PMAP_STATS to scale a little better. 2003-01-05 05:30:40 +00:00
clock.c Split statclock into statclock and profclock, and made the method for driving 2003-02-03 17:53:15 +00:00
counter.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
critical.c Include machine/critical.h to get missing prototypes. 2002-06-23 14:38:41 +00:00
db_disasm.c The abs() function isn't defined locally; include a header file that 2003-01-16 08:53:03 +00:00
db_hwwatch.c Remove __P. 2002-03-21 00:06:55 +00:00
db_interface.c Add support for starting and stopping cpus with ipis. 2002-03-13 04:59:01 +00:00
db_trace.c Use correct function name in previous commit. 2002-09-19 19:51:56 +00:00
dump_machdep.c - Use direct mapped addresses for the message buffer, for the crash dump 2002-12-27 01:50:29 +00:00
eeprom_ebus.c Add MD frontents for the mk48txx driver, ported from NetBSD, and remove 2002-04-04 23:58:50 +00:00
eeprom_sbus.c Add MD frontents for the mk48txx driver, ported from NetBSD, and remove 2002-04-04 23:58:50 +00:00
eeprom.c Add MD frontents for the mk48txx driver, ported from NetBSD, and remove 2002-04-04 23:58:50 +00:00
elf_machdep.c Resolve relative relocations in klds before trying to parse the module's 2003-01-21 02:42:44 +00:00
exception.S Merge some code paths back together so that we only instantiate 1 copy of 2003-01-26 03:38:30 +00:00
genassym.c Forgot this file in previous commit. 2002-12-28 23:58:18 +00:00
identcpu.c s/HZ/Hz/ 2002-11-06 23:31:01 +00:00
in_cksum.c Add optimized implementations of in_cksum_skip() and related functions 2001-11-06 20:05:01 +00:00
interrupt.S Correct typos, mostly s/ a / an / where appropriate. Some whitespace cleanup, 2003-01-01 18:49:04 +00:00
intr_machdep.c - Expand struct trapframe to 256 bytes, make all fields fixed width and the 2002-10-22 18:03:15 +00:00
iommu.c Fix some more missing dt_ prefixes for dma tag fields. 2003-01-29 17:41:29 +00:00
locore.S Removed legacy signal trampoline. 2002-08-29 01:59:54 +00:00
machdep.c Don't allow user process to set an invalid window state through sigreturn. 2003-01-10 00:04:56 +00:00
mem.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
mp_exception.S Use the meaningful mnemonics for ancillary state registers now that gas 2002-12-29 00:23:48 +00:00
mp_locore.S Add pmap support for user mappings of multiple page sizes (super pages). 2002-08-18 02:09:27 +00:00
mp_machdep.c - Add a spin lock to single thread cache invalidation and tlb flush ipis, 2002-12-22 20:50:23 +00:00
nexus.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
ofw_bus.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
ofw_machdep.c Fix a bug that was indroduced while moving this code around (use the 2001-12-21 21:31:44 +00:00
pmap.c - Reorganize PMAP_STATS to scale a little better. 2003-01-05 05:30:40 +00:00
prof_machdep.c Add routines needed for high resolution profiling. 2002-07-29 00:45:13 +00:00
rwindow.c Greatly improve readability of trap() by using a table to convert between 2002-10-25 16:00:47 +00:00
sparcbus_if.m Add a file forgotten in the previous commit (a kobj interface that 2001-11-09 20:43:44 +00:00
support.S Demark sections of code that need special fault handling with labels. 2002-08-16 00:57:37 +00:00
swtch.S - Expand struct trapframe to 256 bytes, make all fields fixed width and the 2002-10-22 18:03:15 +00:00
sys_machdep.c Remove M_TRYWAIT/M_WAITOK/M_WAIT. Callers should use 0. 2003-01-21 08:56:16 +00:00
tick.c Split statclock into statclock and profclock, and made the method for driving 2003-02-03 17:53:15 +00:00
tlb.c - Reorganize PMAP_STATS to scale a little better. 2003-01-05 05:30:40 +00:00
trap.c Reversion of commit by Davidxu plus fixes since applied. 2003-02-01 12:17:09 +00:00
tsb.c - Reorganize PMAP_STATS to scale a little better. 2003-01-05 05:30:40 +00:00
upa.c The author isn't a [UC] Regents. Correct the copyright language. 2001-08-09 02:32:05 +00:00
vm_machdep.c Reversion of commit by Davidxu plus fixes since applied. 2003-02-01 12:17:09 +00:00