???????????????????? ? ?????????????????????????????????????????????????? OS - PowerPoint PPT Presentation

1 / 14
About This Presentation
Title:

???????????????????? ? ?????????????????????????????????????????????????? OS

Description:

... Floopy disk, ... (Device Controller) ... (Disk Controller) ... – PowerPoint PPT presentation

Number of Views:20
Avg rating:3.0/5.0
Slides: 15
Provided by: Somc153
Category:

less

Transcript and Presenter's Notes

Title: ???????????????????? ? ?????????????????????????????????????????????????? OS


1
??????????????????????/???????? I/O Devices
manager
  • ???????????????????? ? ???????????????????????????
    ??????????????????????? OS
  • ?????????????/???????? (I/O Devices) ???????????
    3 ??????
  • ??????????? (Block devices)
  • ?????????????????? (Character device)
  • ????????????

2
??????????? (Block devices)
  • ??????????????????????????????????????????????????
    ?????????? ???? Floopy disk, Harddisk, Tape
  • ????????????????????? 512-32,768 ????
  • ??????????/????????????????????????????????????
  • ???????? 2 ???
  • ?????????????????????????????????? (Direct access
    storage device) ?????? ??????????????? ?
  • ????????????????????????????????????????? (Serial
    access storage device) ?????? ???

3
?????????????????? (Character devices)
  • ???????????????????????????????????????
    ????????????? (Buffer) ??????????????????????
  • ??????????????????????????????????????????????????
    ????
  • ??????????????????????
  • ?????????
  • ????????????
  • ??????
  • ??????

4
?????????????????? (Character devices)
5
????????????
  • ???????????????????????????????????????? 2
    ???????????????????
  • ????????????????????????? OS ?????????????????????
    ???? ?????????????????????????????????????????????
    ? ?
  • ???? ????? (Monitor) ?????????????????????????????
    ?????????????? ???????????????????????????????
    ???????????????????????????????????? ? ????
    ??????????????????????????????????????????????????
    ????????????? ???? OS ????????????????????????????
    ????????????????
  • ??????????????????????????????????????????????????
    ??????????????????????????????

6
???????????????? (Device Controller)
  • ?????????????????????????????????????? ?
    ????????????????????????????????
  • ?????????????????????????????????????????????????
    ?????????????????????????????????? (Circuit
    board) ????????????????????????????
    ????????????????
  • ?????????????????????????????????????????????????
    ??????????????????????????????????????
  • ???????????????????????????????????????? ? ????
  • ?????????????? ???????????????????????????????
  • ?????????????? ???????????????????????????????????
    ?? (Disk Controller)

7
????????????? (Device drivers)
  • ??????????????????????????????????????????????????
    ?? ? ????? ?????????????????????????
    ?????????????????????????????
  • ????????? OS ??????????????????????? ??? OS
    ????????????????????????????????????????????????
    ??????????????????????????????????? ?
    ??????????????????????????? OS ???????????????????
    ?????????????
  • ????????????????????????????????? OS
    ??????????????????????????????????????????????????
    ? ????????????????????????????????????????????????
    ??????????????????????????????? ?????????????
    (Device drivers)

8
????????????? (Device drivers)
?????
????????????
???????
9
?????????? OS ??????????????????
  • ???????????????????????????? ??????? UCB (Unit
    control block) ???????????????????????????????????
    ?????????????? ? ?????????????? ?
  • ??????????????????????????????????????????????????
    ????? 3 ??????
  • ???????? (Dedicated device) ??????????????????????
    ?????????????????????????????????? ?????????? ?
    ??????????????????????????????
  • ?????????? (Shared device) ???????????????????????
    ???????????????????????????? ?????????????????????
    ????????
  • ??????? (Virtual device) ?????????????????????????
    ?????????????????????????????

10
?????????? OS ??????????????????
  • ?????? (Allocate) ??????? ????????????????????????
    ?????????????????????
  • ???????? (Deallocate) ????????????????????????????
    ????????????????? ???????????????????????????????
  • ??????????????????????????????????????????????????
    ?????? ???????????????

11
?????????????????????? CPU ??????????
  • ???????????????????????????????????????????? ?
    ???????????????????????????????????????
  • ???????????????? CPU ?????????????????????????????
    ????????????????????????? ?
  • ???????????????????????????? ? ???????????????????
    ?????? ?????????????????? CPU ??????????????????
    ????????????????????????????????

12
?????????????????????? CPU ??????????
13
?????????????????????? CPU ??????????
  • ?????????????????????????????????????????????????
    CPU
  • ?????????????????????????????????????????? CPU
    ???????????????????????????????? ???????????????
    CPU ???????????????????????????
  • ?????????????????? ????? DMA (Direct Memory
    Access)

CPU
I/O
???????????
14
?????????????????????? CPU ??????????
  • ?????????????????? DMA ????????????? ?????????
    DMA (DMA Controller)
  • DMA Controller ?????????????? CPU
    ??????????????????????????? DMA
  • ????????????????????? DMA Controller
    ??????????????????? CPU ?????? ????? CPU
    ?????????? CPU ????????? DMA Controller
    ??????????????????????????????? ???? CPU
    ?????????????
  • ??????????????? DMA Controller ???????????????????
    CPU ?????????????????????????????????????
Write a Comment
User Comments (0)
About PowerShow.com