[CSE]  Advanced Operating Systems 
 COMP9242 2002/S2 
UNSW

PRINTER Printer-Friendly Version
Administration               
- Notices
- Course Intro
- Consultations
# On-line Survey (closed)
- Survey Results
 
Work
- Lectures
- Milestone 0
- Project Admin
- Project Spec
- Project FAQ
- Exam
 
Documentation
- ASysT Lab
- L4 source browser
- Sulima ISA Simulator
R4x00 ISA Summary 
MIPS R4700 ReferenceMIPS R4000 User Manual 
- Network Driver
- GT64111
 
Related Info
- Aurema OS Prize
- OS Hall of Fame
 
History
- 2000
- 1999
- 1998
 
Staff
- Gernot Heiser (LiC)

 
Valid HTML 4.0!
next up previous
Next: Preemptions and Preempters Up: 01-l4 Previous: Page Faults and Pagers

Subsections

Exceptions and Excepters

L4/MIPS exception handling

Totally analogous to page faults:
  • Each thread has an excepter
  • If a thread triggers an exception, the kernel invokes the thread's excepter by:
    1. sending an IPC message to the pager on the faulter's behalf,
    2. catching the pager's reply and continue the faulter.
  • The excepter may chose not to reply, leaving the excepting thread blocked forever.

L4/ix86 exception handling

Virtualisation of hardware:
  • A thread installs its own interrupt vector, using (kernel-emulated) processor features.
The kernel handles some exceptions internally (TLB miss, system call).



Gernot Heiser 2002-08-07