首页> 外国专利> System for allocating buffer to transfer data when user buffer is mapped to physical region that does not conform to physical addressing limitations of controller

System for allocating buffer to transfer data when user buffer is mapped to physical region that does not conform to physical addressing limitations of controller

机译:当用户缓冲区映射到不符合控制器物理寻址限制的物理区域时,分配缓冲区以传输数据的系统

摘要

The present invention is a method and apparatus for efficiently transferring data between an input/output device and a main memory area of a computer system. More specifically, the invention transfers a requested amount of data using direct memory access and either a single transfer buffer or a dynamically allocated transfer buffer. The invention receives input/output requests that specify an amount of data to be transferred between the input/output device and a logical user buffer contained within the main memory area. By evaluating physical memory locations that correspond to the logical user buffer, the invention determines whether the physical memory locations conform to addressing limitations of a direct memory access transfer buffer. When the physical memory locations conform to the addressing limitations of a direct memory transfer buffer, the invention transfers the requested data directly between the input/output device and the physical memory locations of the logical user buffer. On the other hand, when the evaluated physical memory locations do not conform to the physical requirements of a direct memory access transfer buffer, the invention dynamically allocates a conforming direct memory access transfer buffer. Subsequently, the invention transfers the requested data between the input/output device and the conforming buffer. After transferring the data between the conforming buffer and the input/output device, the invention releases the allocated buffer to reduce the amount of memory overhead in the computer system.
机译:本发明是一种用于在计算机系统的输入/输出设备和主存储器区域之间有效地传输数据的方法和设备。更具体地说,本发明使用直接存储器访问和单个传输缓冲器或动态分配的传输缓冲器来传输请求的数据量。本发明接收输入/输出请求,该输入/输出请求指定要在输入/输出设备和包含在主存储器区域内的逻辑用户缓冲器之间传送的数据量。通过评估对应于逻辑用户缓冲器的物理存储器位置,本发明确定物理存储器位置是否符合直接存储器访问传输缓冲器的寻址限制。当物理存储器位置符合直接存储器传送缓冲器的寻址限制时,本发明直接在输入/输出设备和逻辑用户缓冲器的物理存储器位置之间传送所请求的数据。另一方面,当所评估的物理存储器位置不符合直接存储器访问转移缓冲器的物理要求时,本发明动态地分配合格的直接存储器访问转移缓冲器。随后,本发明在输入/输出设备和一致性缓冲器之间传送所请求的数据。在合格缓冲器与输入/输出设备之间传送数据之后,本发明释放分配的缓冲器以减少计算机系统中的存储器开销量。

著录项

  • 公开/公告号US5687392A

    专利类型

  • 公开/公告日1997-11-11

    原文格式PDF

  • 申请/专利权人 MICROSOFT CORPORATION;

    申请/专利号US19940241009

  • 发明设计人 RON RADKO;

    申请日1994-05-11

  • 分类号G06F15/02;

  • 国家 US

  • 入库时间 2022-08-22 02:41:07

相似文献

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

客服邮箱:kefu@zhangqiaokeyan.com

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

  • 服务号