martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
christos
53524e44ef
Kill caddr_t; there will be some MI fallout, but it will be fixed shortly.
2007-03-04 05:59:00 +00:00
christos
95e1ffb156
merge ktrace-lwp.
2005-12-11 12:16:03 +00:00
drochner
8120b42b0e
fix constification fallout
2005-06-01 16:13:04 +00:00
thorpej
3faec1e02a
Use PAGE_SIZE rather than NBPG.
2003-04-01 02:17:17 +00:00
provos
0f09ed48a5
remove trailing \n in panic(). approved perry.
2002-09-27 15:35:29 +00:00
thorpej
8617f2c7f5
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.
2001-07-19 04:27:37 +00:00
thorpej
294259060c
bzero -> memset
2001-07-12 23:25:39 +00:00
thorpej
c3d730df25
ANSI'ify.
2001-01-03 20:29:58 +00:00
thorpej
a2a696618e
Restructure alpha_sgmap_dmamap_create() slightly.
2001-01-03 20:12:34 +00:00
thorpej
db36913c87
The code that creates/destroys SGMAP DMA maps is the same; put it
...
in a common place and share it.
2001-01-03 19:15:59 +00:00
mrg
80bb8049ba
remove include of <vm/vm.h>. <vm/vm.h> -> <uvm/uvm_extern.h>
2000-06-29 09:02:51 +00:00
mycroft
579eeb8cf7
If we have to increase the boundary due to the spill pages, use the old
...
boundary as an alignment. Otherwise we fail to enforce the old boundary,
causing massive lossage.
1999-02-18 08:55:16 +00:00
thorpej
d5df55112a
vm_offset_t -> {paddr_t,vaddr_t}, vm_size_t -> vsize_t
1998-08-14 16:50:00 +00:00
thorpej
59d76407b4
Display information about which sgmap we're attempting to initialize
...
if we die in alpha_sgmap_init().
1998-06-06 01:31:46 +00:00
mjacob
4ccb969d0b
Okay, handle the ALLOCNOW case by doing the appropriate adjustments
...
up front. Do the spacing arithmetic slightly differently.
1998-03-23 07:51:25 +00:00
thorpej
30aa56fc66
Use M_DMAMAP where appropriate.
1998-02-11 01:37:51 +00:00
thorpej
3d9cd8a05a
Extent names are const.
1998-01-21 22:34:38 +00:00
thorpej
e62d894d7a
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...)
1998-01-18 00:05:33 +00:00
thorpej
3366b987d0
Put SGMAP-related stuff in the DMA map structure directly, rather than
...
indirecting through a pointer.
1998-01-17 21:53:52 +00:00
thorpej
2981fec2f0
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.
1998-01-17 03:37:22 +00:00
thorpej
693b3e7262
Nuke the idea of <machine/options.h>. It completely defeats the purpose
...
of fine-grain option dependencies.
1997-09-02 13:17:47 +00:00
thorpej
46b89d7739
Pull thorpej-bus-dma branch into mainline.
1997-06-06 23:54:24 +00:00