Computer System Architecture

Get Started. It's Free
or sign up with your email address
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. Storage Structure

2.1. Main Memory

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

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

2.2. Secondary storage

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

2.2.2. Capable to hold large quantities of data permanently.

2.3. storage hierarchy

2.3.1. storage system organised in hierarchy speed cost volatility

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

2.4. Storage device hierarchy

2.4.1. 1. register

2.4.2. 2. Cache

2.4.3. 3. main memory

2.4.4. 4. electronic disk

2.4.5. 5. magnetic disk

2.4.6. 6. optical disk

2.4.7. 7. magnetic tapes

3. protection

3.1. I/O protection

3.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

3.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

3.2. Memory protection

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

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

3.2.3. memory outside the defined range is protected.

3.3. Hardware Address Protection

3.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.

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

3.4. CPU protection

3.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.

3.4.2. timer interrupts, control transfer to the OS.

3.4.3. Load- timer is a privileged instruction.