首页> 外国专利> System for performing DMA byte swapping within each data element in accordance to swapping indication bits within a DMA command

System for performing DMA byte swapping within each data element in accordance to swapping indication bits within a DMA command

机译:用于根据DMA命令中的交换指示位在每个数据元素内执行DMA字节交换的系统

摘要

An apparatus and method for performing byte swapping using a direct memory access (DMA) controller is provided. In a computer system, a DMA controller for a peripheral component is coupled to system memory via a bus. The DMA controller receives a command pointer to initiate a memory access operation. The command pointer specifies the location of the first DMA command in a command list to be executed by the DMA controller. Each DMA command includes an address word giving the starting address and length word indicating the number of data words to be accessed in memory. Because the data stored in memory is double-word aligned, the two least significant bits of the length word are not needed to perform the memory access and are instead used to indicate any byte swapping that is to be performed on the data during the memory access. During a memory access, the DMA controller swaps the bytes in each double- word of data as specified by the two least significant bits of the length word.
机译:提供了一种使用直接存储器访问(DMA)控制器执行字节交换的设备和方法。在计算机系统中,用于外围组件的DMA控制器通过总线耦合到系统内存。 DMA控制器接收命令指针以启动内存访问操作。命令指针指定要由DMA控制器执行的命令列表中第一个DMA命令的位置。每个DMA命令都包括一个地址字,该地址字给出了起始地址,而长度字则指示了要在存储器中访问的数据字的数量。由于存储在存储器中的数据是双字对齐的,因此长度字的两个最低有效位不需要执行存储器访问,而是用于指示在存储器访问期间将对数据执行的任何字节交换。在存储器访问期间,DMA控制器按长度字的两个最低有效位指定的方式交换每个双字数据中的字节。

著录项

  • 公开/公告号US5862407A

    专利类型

  • 公开/公告日1999-01-19

    原文格式PDF

  • 申请/专利权人 RENDITION INC.;

    申请/专利号US19960616594

  • 发明设计人 MOHAMMED SRITI;

    申请日1996-03-15

  • 分类号G06F9/22;G06F9/315;

  • 国家 US

  • 入库时间 2022-08-22 02:08:54

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号