Files
xen/extras/mini-os
kaf24@firebug.cl.cam.ac.uk a54b2baac2 Implement console for Mini-os and also fix 2 bugs:
a) in initialising new page table frames
b) in initialising idle thread.

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
2006-03-15 20:25:50 +01:00
..
2005-09-02 10:04:42 +00:00
2006-03-09 15:57:32 +01:00

 Minimal OS
 ----------

This shows some of the stuff that any guest OS will have to set up.

This includes:

 * installing a virtual exception table
 * handling virtual exceptions
 * handling asynchronous events
 * enabling/disabling async events
 * parsing start_info struct at start-of-day
 * registering virtual interrupt handlers (for timer interrupts)
 * a simple page and memory allocator
 * minimal libc support

Stuff it doesn't show:
 
 * modifying page tables
 * network code
 * block-device code


- to build it just type make.

- to start it do the following in domain0 (assuming xend is running)
  # xm create domain_config

this starts the kernel and prints out a bunch of stuff and then every
1000 timer interrupts the system time.