Home | History | Annotate | Download | only in common
History log of /src/sys/arch/alpha/common/sgmapvar.h
RevisionDateAuthorComments
 1.19  05-Sep-2020  maya fix typo
 1.18  05-Sep-2020  thorpej Update a comment.
 1.17  17-Jun-2020  thorpej Switch from an extent mao to a vmem arena to manage SGMAP address space.
 1.16  01-Jul-2011  dyoung #include <sys/bus.h> instead of <machine/bus.h>.
 1.15  28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.14  03-May-2003  wiz branches: 1.14.104; 1.14.106; 1.14.108;
DMA, not dma nor Dma.
 1.13  19-Jul-2001  thorpej branches: 1.13.2;
Simplify the SGMAP code a bit, and move SGVA allocation out of a
common routine into the individual load routines, since each load
routine needs to muddle with the "internals" of this operation.

Add a `prefetch threshold' member to the bus_dma_tag_t, so that
eventually we can determine whether or not to allocate a spill
page on a per-mapping basis.
 1.12  03-Jan-2001  thorpej branches: 1.12.4;
ANSI'ify.
 1.11  03-Jan-2001  thorpej The code that creates/destroys SGMAP DMA maps is the same; put it
in a common place and share it.
 1.10  14-Aug-1998  thorpej branches: 1.10.12;
vm_offset_t -> {paddr_t,vaddr_t}, vm_size_t -> vsize_t
 1.9  24-Jun-1998  ross Protect against multiple inclusion.
 1.8  06-Jun-1998  thorpej Add a comment describing the locking needs of the alpha_sgmap.
 1.7  21-Jan-1998  thorpej Don't conditionally define the sgmap_log_entry structure, and turn off
SGMAP logging by default.
 1.6  18-Jan-1998  thorpej Implement a prefetch spill page for SGMAP DMA. This works around a slight
annoyance on systems that prefetch the next page during memory -> device
DMA if the DMA comes within a certain distance of the end of the current
page. This could cause machine checks since the PTE after the last page
would not have the valid bit set.

(I'm not going to complain about this slight kludge too much, since prefetch
makes DMA much faster...)
 1.5  17-Jan-1998  thorpej Put SGMAP-related stuff in the DMA map structure directly, rather than
indirecting through a pointer.
 1.4  17-Jan-1998  thorpej Allow specification of a minimum page table alignment to alpha_sgmap_init().
This is to work around an apparent hardware bug in some 2117x chipsets
where the page table must be aligned to at least 32k.
 1.3  05-Sep-1997  thorpej Add some debugging code to log sgmap activities. Also, make sure that
we return "no valid mappings" if there is an error while loading the
sgmap.
 1.2  07-Jun-1997  thorpej branches: 1.2.2; 1.2.6;
Pull the thorpej-bus-dma branch into the mainline.
 1.1  03-Jun-1997  thorpej branches: 1.1.2;
file sgmapvar.h was initially added on branch thorpej-bus-dma.
 1.1.2.3  04-Jun-1997  thorpej - Fix a serious bug in PTE index calculation.
- DMA addresses use the PTE index, not the PTE (byte) offset.
- Garbage-collect a now-unused flag.
 1.1.2.2  03-Jun-1997  thorpej PTE page frame shift and valid bits are type-dependent now.
 1.1.2.1  03-Jun-1997  thorpej Totally rearrange the SGMAP DMA handling code. Split the functions
into "common" (used unchanged by everyone) and "typedep", which depend
on the type (32-bit or 64-bit) of the SGMAP PTEs.

Fix several bugs, and clean up significantly, eliminating unnecessary
housekeeping overhead in several places.
 1.2.6.1  06-Sep-1997  thorpej Update marc-pcmcia branch from trunk.
 1.2.2.2  07-Jun-1997  cgd sync syng thorpej-bus-dma changes with alpha-nwscons branch (pass 2)
 1.2.2.1  07-Jun-1997  cgd file sgmapvar.h was added on branch alpha-nwscons on 1997-06-07 05:47:23 +0000
 1.10.12.1  05-Jan-2001  bouyer Sync with HEAD
 1.12.4.1  03-Aug-2001  lukem update to -current
 1.13.2.2  19-Jul-2001  thorpej Simplify the SGMAP code a bit, and move SGVA allocation out of a
common routine into the individual load routines, since each load
routine needs to muddle with the "internals" of this operation.

Add a `prefetch threshold' member to the bus_dma_tag_t, so that
eventually we can determine whether or not to allocate a spill
page on a per-mapping basis.
 1.13.2.1  19-Jul-2001  thorpej file sgmapvar.h was added on branch nathanw_sa on 2001-07-19 04:27:38 +0000
 1.14.108.1  16-May-2008  yamt sync with head.
 1.14.106.1  18-May-2008  yamt sync with head.
 1.14.104.1  02-Jun-2008  mjf Sync with HEAD.

RSS XML Feed