Data Transfer Apparatus and Data Transfer Method
AssigneeKabushiki Kaisha Toshiba
InventorYugo ARIMA
Life of this patent
Estimating the term…
Abstract
A data transfer apparatus includes a processor, a main memory, and a DMAC connected to the main memory via a plurality of buses. The DMAC transfers data to the main memory by bypassing the processor, writes flag data “1” indicating completion of the data transfer processing in a completion status storage area of the main memory, and finally outputs an interrupt signal to the processor. In response to the interrupt signal, an interrupt handler refers to the completion status storage area, and when the flag data is written, reads the data in the main memory and erases the flag data in the completion status storage area.
Claims20
A data transfer apparatus, comprising:
- a processor;
- a memory connected to the processor;
- a data transfer unit that is connected to the memory through a plurality of buses and is configured to perform data transfer processing to transfer data to be transferred from a device having the data to be transferred to a first storage area of the memory by bypassing the processor, and when the data transfer processing finishes, write status data indicating completion of the data transfer processing in a second storage area of the memory, and output a predetermined interrupt signal to the processor after writing the status data;
- and
- a transfer data readout processing unit configured to refer to the second storage area in response to the predetermined interrupt signal sent to the processor and perform determination processing that determines whether or not the status data is written, repeat the reference to the second storage area when a result of the determination processing indicates that the status data is not written, and read out the data to be transferred in the first storage area and erase the status data in the second storage area when the status data is written.
A data transfer method that transfers data to a memory connected to a processor from a data transfer unit that is connected to the memory via a plurality of buses, comprising:
- the data transfer unit performing data transfer processing that transfers data to be transferred from a device having the data to be transferred to a first storage area of the memory by bypassing the processor;
- upon completion of the data transfer processing, the data transfer unit writing status data indicating completion of the data transfer processing in a second storage area of the memory;
- the data transfer unit outputting a predetermined interrupt signal to the processor after writing the status data;
- and
- referring to the second storage area in response to the predetermined interrupt signal to the processor, performing determination processing that determines whether or not the status data is written, repeatedly referring to the second storage area when a result of the determination processing is that the status data is not written, and reading out the data to be transferred in the first storage area and erasing the status data in the second storage area when the status data is written.
A computer having PC architecture, comprising
- a processor;
- a main memory connected to the processor;
- a direct memory access controller that is connected to the main memory through a plurality of buses and is configured to perform data transfer processing to transfer data to be transferred from a device having the data to be transferred to a transfer data storage area of the main memory by direct memory access that bypasses the processor, and when the data transfer processing finishes, write status data indicating completion of the data transfer processing in a completion status storage area of the main memory, and output a predetermined interrupt signal to the processor after writing the status data;
- and
- an interrupt handler configured to refer to the completion status storage area in response to the predetermined interrupt signal sent to the processor and perform processing that determines whether or not the status data is written, repeat the reference to the completion status storage area when the determination processing result indicates that the status data is not written, and read out the data to be transferred in the transfer data storage area and erase the status data in the completion status storage area when the status data is written.
Dependencies are inferred from the claim text.