Screen Version
School of Computer Science & Engineering
University of New South Wales

 Advanced Operating Systems 
 COMP9242 2002/S2 
next up previous
Next: Device drivers Up: 01-l4 Previous: Bootstrap (MIPS Specific)

OS Startup Code

  1. Register itself for all free interrupts.
  2. Grab all memory from \(\sigma_0\) (without interfering with other initial tasks).
  3. Set up data structures for memory management:
  4. Grab all (inactive) tasks.
  5. Start device drivers (may be started as separate initial server tasks).
  6. Start other server threads (if multi-server implementation).
  7. Set up data structures for services (TCBs, file system, ...)
  8. Set up task management.
  9. Start up initial ``user'' task(s).
  10. Possibly donate tasks to subtasks.



Gernot Heiser 2002-08-07