[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: Specification of Mappings Up: 01-l4 Previous: IPC Timeout Specifications

Timeouts...

  • IPC timeouts can be specified between 1\(\mu\)s and 19h
  • page fault timeouts can be specified between 4\(\mu\)s (1ms) and 256s
However, actual timeout resolution is generally more coarse:
1ms timeout resolution on MIPS

Data structure l4/types.h:l4_timeout_t, L4_IPC_TIMEOUT()

Utilities (time.h):

void l4_mips_encode_timeout(dword_t msecs, byte_t *mant,
                            byte_t *exp, byte_t round);
dword_t l4_mips_decode_timeout(byte_t mant, byte_t exp);
And similar for page-fault timeouts.

Page fault in receiver's AS results in RPC using sender's send pagefault timeout.

Pagefault in sender's AS results in RPC using receiver's receive pagefault timeout.

Page fault timeouts are required for security.

They ensure that an untruted server cannot install a non-existing page fault handler, which would then lead to the IPC blocking indefinitively, if it triggers a page fault.



Gernot Heiser 2002-08-07