Computer System Architecture

Get Started. It's Free
or sign up with your email address
Rocket clouds
Computer System Architecture by Mind Map: Computer System Architecture

1. Operation

1.1. A general-purpose computer consists >=1 CPU

1.1.1. can execute concurrently

1.2. A general-purpose computer consists a number of device controllers.

1.2.1. in charge of a specific type of device.

1.2.2. has a local buffer

1.2.3. informs CPU that it has finished its operation by causing an interrupt Interrupt indicates the occurrence

2. protection

2.1. I/O protection

2.1.1. privileged instructions. user can't issue I/O instruction directly. User must executes a system, call to request the OS to perform I/O

2.1.2. Must ensure the user couldn't gain control of the computer in monitor mode e.g, a user program, as part of its execution, stores a new address in the interrupt vector

2.2. Memory protection

2.2.1. must provide memory protection at least for the interrupt vector and the interrupt service routines.

2.2.2. Two register are used Base register holds the smallest legal physical memory address limit register contains the size of the range

2.2.3. memory outside the defined range is protected.

2.3. Hardware Address Protection

2.3.1. when in kernel mode, the OS has unrestricted access to both monitor and user's memory OS is allowed to load users' programs into users' memory to access and modify parameters of system calls.

2.3.2. The load instructions for the base and limit registers are privilege instruction.

2.4. CPU protection

2.4.1. Timer Interrupts computer after specified period to ensure OS maintains control over CPU Every time the clock ticks, the counter is decremented when time reaches the value 0, an interrupt occurs.

2.4.2. timer interrupts, control transfer to the OS.

2.4.3. Load- timer is a privileged instruction.

3. Storage Structure

3.1. Main Memory

3.1.1. only large storage media that the CPU can access directly

3.1.2. A volatile storage device lose its contents when power is turned off.

3.2. Secondary storage

3.2.1. extension of main memory that provides nonvolatile storage capacity/

3.2.2. Capable to hold large quantities of data permanently.

3.3. storage hierarchy

3.3.1. storage system organised in hierarchy speed cost volatility

3.3.2. Caching Copy inför into faster storage system main memory can be viewed as a last cache for 2ndary storage

3.4. Storage device hierarchy

3.4.1. 1. register

3.4.2. 2. Cache

3.4.3. 3. main memory

3.4.4. 4. electronic disk

3.4.5. 5. magnetic disk

3.4.6. 6. optical disk

3.4.7. 7. magnetic tapes