首页> 外国专利> Procedure and device for programming a DMA controller in which a translated physical address is stored in a buffer register of the address processing unit and then applied to the data bus and stored in a register of the DMA controller

Procedure and device for programming a DMA controller in which a translated physical address is stored in a buffer register of the address processing unit and then applied to the data bus and stored in a register of the DMA controller

机译:用于对DMA控制器进行编程的过程和设备,其中已转换的物理地址存储在地址处理单元的缓冲寄存器中,然后应用于数据总线,并存储在DMA控制器的寄存器中

摘要

A method for programming a DMA controller of a system on a chip that includes a CPU, an MMU, and a DMA controller including source, destination, and size registers associated with a base subaddress. In response to a first instruction of a user program that includes a virtual address, the virtual address is translated into a corresponding physical address, and the physical address is stored in a buffer register that is inaccessible to the user program. In response to a second instruction of the user program, the physical address stored in the buffer register is applied to the data bus and a first word including high-order bits indicating the base subaddress is applied to the address bus. The source or destination register is selected according to the first word applied to the address bus and the physical address applied to the data bus is stored in the selected register.
机译:一种用于对芯片上的系统的DMA控制器进行编程的方法,该芯片包括CPU,MMU和DMA控制器,该DMA控制器包括与基本子地址关联的源,目标和大小寄存器。响应于包括虚拟地址的用户程序的第一指令,该虚拟地址被转换为对应的物理地址,并且该物理地址被存储在用户程序不可访问的缓冲寄存器中。响应于用户程序的第二指令,将存储在缓冲寄存器中的物理地址应用于数据总线,并将包括指示基本子地址的高位的第一字应用于地址总线。根据应用于地址总线的第一个字选择源寄存器或目标寄存器,并将应用于数据总线的物理地址存储在所选寄存器中。

著录项

  • 公开/公告号US7581039B2

    专利类型

  • 公开/公告日2009-08-25

    原文格式PDF

  • 申请/专利权人 ALBERT MARTINEZ;JEAN NICOLAI;

    申请/专利号US20050179033

  • 发明设计人 ALBERT MARTINEZ;JEAN NICOLAI;

    申请日2005-07-11

  • 分类号G06F13/28;

  • 国家 US

  • 入库时间 2022-08-21 19:31:45

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号