摘要 |
PURPOSE: A device and method for controlling a memory of a data processing system is provided to store data having an unfixed size effectively by dividing an external memory into a fixed size, controlling the external memory, managing an unused queue, and controlling the external memory using a pointer of a queue having start data of a packet and a pointer of a queue for storing the next data. CONSTITUTION: A counter control unit(60) creates a signal periodically and increases a counter value. A state queue control unit(70) checks a state queue which manages a state of an external memory by a predetermined size unit, and discards data which are not accessed for a predetermined time. A completion queue control unit(80) stores a pointer of an external queue having start data of each packet in a completion queue. An unused queue control unit(90) stores a pointer which points an external queue having discarded or read data in an unused queue.
|