18. *Operatiile I/O - Modul DMA Flashcards

1
Q

Ce este DMA?

A

dispozitive periferice a caror rata de transfer (octeti/secunda) este atat de ridicata incat, din motive de timing, face imposibil modul de lucru prin intreruperi

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Care sunt pasii?

A

CPU-ul comunica controller-ului DMA (etapa de initializare)

CPU-ul isi vede de treaba, iar controller-ul DMA
realizeaza transferul
realizeaza intrerupere cand a terminat

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

De ce este DMA-ul mai bun?

A

necesita modul aditional (hardware) pe magistrala

controller-ul DMA preia controlul de la CPU pentru operatii I/O

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

Ce realizeaza modul DMA?

A

orice transfer masiv catre si de la memorie

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

Care sunt etapele transferului?

A

initializarea modulului I/O, initializarea controller-ului DMA
cerere ciclu DMA
transfer date de la I/O la DMA
transfer date de la DMA la memorie
indica sfarsitul transferului printr-o intrerupere

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

Care sunt modurile de conectare la magistrala?

A
magistrala unica, controller DMA detasat 
CPU intrerupt de 2 ori
magistrale separate (procesor si I/O)
CPU intrerupt o data
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

In ce moduri lucreaza DMA?

A

block transfer
cycle stealing
interleaved DMA (transparent)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

In ce consta block transfer?

A

Controller-ul DMA preia controlul magistralei de la CPU, care nu are acces decit la finalizarea transferului
CPU poate realiza operatii interne ce nu necesita magistrala

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

In ce consta cycle stealing?

A

Este un transfer de tip word-by-word “furind” ciclii CPU (procesorul este oprit pentru un ciclu)
nu este o intrerupere.

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

In ce consta interleaved DMA?

A

DMA preia controlul magistralei atunci cind CPU nu o foloseste

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

In ce moduri lucreaza DMA?

A

transfer de un cuvant

in mod burst/block

How well did you know this?
1
Not at all
2
3
4
5
Perfectly