version 1.11, 2005/03/09 19:04:44 |
version 1.11.4.1, 2006/06/21 14:54:11 |
Line 462 __NEWSMIPS_copy_region(4) |
|
Line 462 __NEWSMIPS_copy_region(4) |
|
* On the MIPS, we just flush the write buffer. |
* On the MIPS, we just flush the write buffer. |
*/ |
*/ |
#define bus_space_barrier(t, h, o, l, f) \ |
#define bus_space_barrier(t, h, o, l, f) \ |
((void)((void)(t), (void)(h), (void)(o), (void)(l), (void)(f)), \ |
((void)((void)(t), (void)(h), (void)(o), (void)(l), (void)(f), \ |
wbflush()) |
wbflush())) |
#define BUS_SPACE_BARRIER_READ 0x01 /* force read barrier */ |
#define BUS_SPACE_BARRIER_READ 0x01 /* force read barrier */ |
#define BUS_SPACE_BARRIER_WRITE 0x02 /* force write barrier */ |
#define BUS_SPACE_BARRIER_WRITE 0x02 /* force write barrier */ |
|
|
Line 614 struct newsmips_bus_dmamap { |
|
Line 614 struct newsmips_bus_dmamap { |
|
int _dm_flags; /* misc. flags */ |
int _dm_flags; /* misc. flags */ |
int _dm_maptbl; /* DMA mapping table index */ |
int _dm_maptbl; /* DMA mapping table index */ |
int _dm_maptblcnt; /* number of DMA mapping table */ |
int _dm_maptblcnt; /* number of DMA mapping table */ |
struct proc *_dm_proc; /* proc that owns the mapping */ |
struct vmspace *_dm_vmspace; /* vmspace that owns the mapping */ |
|
|
/* |
/* |
* PUBLIC MEMBERS: these are used by machine-independent code. |
* PUBLIC MEMBERS: these are used by machine-independent code. |