Mapa mental
Chapter 2 Computer System Structures
Conteúdo do mapa
Chapter 2 Computer System Structures
Computer-System Operation
- Interrupt indicates the occurrence of an event from either the hardware of software
Interrupt Handling
- Interrupt vector
- Interrupt vector provide the address of the interrupt service routine
- Interrupt service routine
- Interrupt vector
Synchronous I/O Structure
- After I/O start, control return to user program only upon I/O completion.
- At most one I/O request is outstanding at a time,no simultaneous I/O processing
Asynchronous I/O Structure
- After I/O start, control return to user program without waiting for I/O completion
- Device-status table, contains entry for each I/O device indicating its type, address, and state
Computer System Architecture
- Memory controller
- To synchronize the access to memory
- Memory controller
Storage Structure
- Main memory
- CPU can access directly
- Volatile storage
- Secondary storage
- Nonvolatile storage
- Main memory
Storage Hierarchy
- Storage system organized in hierarchy
- speed
- The higher Hierarchy more faster
- cost
- The higher Hierarchy more expensive
- volatility
- The higher Hierarchy more smaller storage capacity
- speed
- Caching
- Copying information into faster storage system
- Storage system organized in hierarchy
Dual-Mode Operation
- The computer system must be able to distinguish between the execution of operating system code and use-defined code.
- Modes of operation
- User mode
- Kernel mode
- Mode bit
- kernel (0)
- user (1)
I/O Protection
- All I/O instruction are privileged instruction
Memory Protection
- The computer system may provide memory protection at least for the interrupt vector and interrupt service routine.
- Memory outside the defined range is protected
- Base register - holds the smallest legal physical memory address
- Limit register - contains the size of range
The load instructions for the base and limit registers are privileged instruction
Timer - interrupts computer after specified period to ensure the operating system maintains control over CPU
Load-timer is a privileged instruction
Informações
- Descrição
- Operating System Mapa Mental sobre Chapter 2 Computer System Structures, criado por Kelvin Koh em 12-05-2018.
- Criado por
- Kelvin Koh
- Visualizações
- 0
- Avaliação