在 SPARC 计算机中,S 总线上的 DMA 引擎具有以下特性:
仅访问 0xFF000000 到 0xFFFFFFFF 范围内的地址
32 位 DMA 计数器寄存器
可处理按字节对齐的传送
支持 1 字节、2 字节和 4 字节突发流量大小
最小有效传送大小为 1 字节
32 位地址寄存器
无分散/集中列表
仅对扇区执行操作,例如磁盘
在 SPARC 计算机中,S 总线上的 DMA 引擎具有以下特性结构:
static ddi_dma_attr_t attributes = { DMA_ATTR_V0, /* Version number */ 0xFF000000, /* low address */ 0xFFFFFFFF, /* high address */ 0xFFFFFFFF, /* counter register max */ 1, /* byte alignment */ 0x7, /* burst sizes: 0x1 | 0x2 | 0x4 */ 0x1, /* minimum transfer size */ 0xFFFFFFFF, /* max transfer size */ 0xFFFFFFFF, /* address register max */ 1, /* no scatter-gather */ 512, /* device operates on sectors */ 0, /* attr flag: set to 0 */ };