, , . . - , , , , , . . , , (, , ) . (, ). , (interrupt) , . , , DMA (Direct Memory Access) . , , .
, (interrupt driven program). , . (interrupt vector) , - ( ). . .
, , , . (disabled), , .
, (, ), (trap; ) , - , . . , , .
(program counter PC) . , . , , , (polling) , : , USB - ; , .. , .
|
|
-
.2 , - .
. 2. -
-: - , , , , .
- .
- - , , , - . - (idle) . - ; - . println(x). , -. , , , - . , , .
- - , . . -, , - ( ). , : - -. , , . (, -, ).
, . (system call) , -. , , , . , .
|
|
(a) (b) - . 3.
. 3. -
, -.
.4 -, . , , , . ( 3) - , , .
. 4.4.
(Direct Memory Access DMA) -, , ,
DMA - , . , , , ( ), , .
() , . , . () , () .
(hard disks). , . (tracks),, , . .
. 5.
. 5.
, - .
, , (). ( cache), . , . - , , (, ), . , -, , . . -, , . , , .. .
|
|
( ) .6
. 6.
, . . :
- () , USB-. : - 128 ; USB 2.0: 240 260 ;
(ZIV drive ) 1 ; USB;
BluRay - ( 25 , 50 ). , DVD 4.7 .