User- and Kernel Mode, System Calls, I/O, Exceptions

1  Introduction

2  User Mode and Kernel Mode: Why?

3  User Mode and Kernel Mode: How?

4  Switching from User to Kernel Mode

4.1  Trust in the Operating System

5  Input/Output Devices: Interconnect and Access

Figs/mach-arch.gif
Decoded Real Use of this location Format of this location
Location Location    
0 800,000 Output format Speed (4), Parity (2), Stop bits (2)
1 800,001 Output status register  
2 800,002 Output character  
3 800,003 Input format Speed (4), Parity (2), Stop bits (2)
4 800,004 Input status register  
5 800,005 Input character  

6  Interrupts

6.1  Interrupt Vectors

Address Holds Address Of For Example
0 Reset Handler 1,000,870
1 IRQ 1 - Keyboard 1,217,306
2 IRQ 2 - Mouse 1,564,988
     
15 IRQ 15 - Disk 1,550,530
16 Zero Divide 1,019,640
17 Illegal instruction 1,384,200
18 Bad mem access 1,223,904
19 TRAP 1,758,873

7  Exceptions

7.1  Exceptions to Inform of User-Mode Violations

7.2  Virtualising the CPU




File translated from TEX by TTH, version 3.85.
On 14 Feb 2012, 11:30.