Computer System Structures

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

1. I/O Structure

1.1. Synchronous

1.1.1. After I/O starts, control returns to user program only upon I/O completion. Wait instruction idles the CPU until the next interrupt Wait loop

1.2. Asynchronous

1.2.1. After I/O starts, control returns to user program without waiting for I/O completion. System call – request to the operating system to allow user to wait for I/O completion.

2. Storage Structure

2.1. Main Memory

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

2.2. Secondary storage

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

3. Storage Hierarchy

3.1. Storage systems organized in hierarchy

3.1.1. Speed

3.1.2. Cost

3.1.3. Volatility

3.2. Caching

3.2.1. copying information into faster storage system; main memory can be viewed as a last cache for secondary storage.

4. I/O Protection

4.1. User program must executes a system call to request that the operating system to perform I/O.

5. Memory Protection

5.1. Base register – holds the smallest legal physical memory address.

5.2. Limit register – contains the size of the range.

6. Dual-Mode Operation

6.1. When an interrupt or fault occurs, hardware switches to kernel mode.

6.2. Privileged instructions can be issued only in monitor mode.

6.3. Modes of Operation

6.3.1. User Mode user program executes in user mode certain areas of memory are protected from user access certain instructions may not be executed

6.3.2. Kernal Mode monitor executes in kernel mode privileged instructions may be executed protected areas of memory may be accessed

7. CPU Protection

7.1. Timer

7.1.1. Every time the clock ticks, the counter is decremented.

7.1.2. When timer reaches the value 0, an interrupt occurs.

7.2. Load-timer is a privileged instruction.

8. Interrupt Handling

8.1. The fixed location contains the starting address of the interrupt service routine.

8.2. The OS preserves the state of the CPU by storing registers and the program counter.