Advanced Operating Systems
Sulima is a useful tool to use when developing your operating system.
Sulima provides a generic framework for simulating different
types of machines. For this project you want to simulate the
U4600 machine. A script
This is the command that is executed when you run
By default the
When you run sulima the console from which you run it will be attached to the first simulated serial port, which is also the serial port that PMON, and the L4 kernel debugger use.
The provided serial driver uses the u4600's second serial port. This is so that is does not interfere with the kernel debugger. Sulima provides simulates the second serial port, however you must manually attach to it. When sulima starts it will print out a file you can attach to to use the second serial port:
In the above example the file is
If you need to be able to use the serial port from the very beginning of your OS boot and don't want to miss output it can by handy to set the kernel to enter the debugger on startup (via make menuconfig). This way you won't miss any output.
Last modified: Mon Aug 9 15:14:03 EST 2004