Method and apparatus for performing direct memory access...

G - Physics – 06 – F

Patent

Rate now

  [ 0.00 ] – not rated yet Voters 0   Comments 0

Details

G06F 13/16 (2006.01) G06F 13/28 (2006.01)

Patent

CA 2249389

An apparatus and method for performing byte swapping using direct memory access (DMA) controller (101) is provided. In a computer system, a DMA controller for a peripheral component is coupled to system memory (20) via a bus (40). The DMA controller receives a command pointer (220) to initiate a memory access operation. The command pointer specifies the location of the first DMA command in a command list (24) 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.

Appareil et procédé destinés à exécuter un échange d'octets à l'aide d'un contrôleur (101) d'accès direct à la mémoire (ADM). Dans un système informatique, un contrôleur ADM destiné à une unité périphérique est couplé à une mémoire système (20) par l'intermédiaire d'un bus (40). Le contrôleur (ADM) reçoit un pointeur de commande (220) destiné à initier une opération d'accès à la mémoire. Le pointeur de commande spécifie l'emplacement de la première commande ADM dans une liste de commandes (24) à exécuter par le contrôleur ADM. Chaque commande ADM comprend un mot d'adresse donnant l'adresse de départ et un mot de longueur indiquant le nombre de mots de données auxquels accéder en mémoire. Etant donné que les données stockées en mémoire sont alignées par double mot, les deux bits les moins significatifs du mot de longueur ne sont pas nécessaires pour un accès à la mémoire et, au lieu de cela, ils sont utilisés pour indiquer un éventuel échange d'octets à effectuer sur les données pendant l'accès à la mémoire. Pendant un accès à la mémoire, le contrôleur ADM échange les octets dans chaque double mot de données selon ce qui est spécifié par les deux bits les moins significatifs du mot de longueur.

LandOfFree

Say what you really think

Search LandOfFree.com for Canadian inventors and patents. Rate them and share your experience with other people.

Rating

Method and apparatus for performing direct memory access... does not yet have a rating. At this time, there are no reviews or comments for this patent.

If you have personal experience with Method and apparatus for performing direct memory access..., we encourage you to share that experience with our LandOfFree.com community. Your opinion is very important and Method and apparatus for performing direct memory access... will most certainly appreciate the feedback.

Rate now

     

Profile ID: LFCA-PAI-O-1779114

  Search
All data on this website is collected from public sources. Our data reflects the most accurate information available at the time of publication.