Files
xen/extras/mini-os
kaf24@firebug.cl.cam.ac.uk cdb8b09f6b Xenbus implementation ported from Linux to Mini-os, simple thread support introduced
to simplify the porting. 64 bit version of Mini-os now compiles, but does not work
because of the pagetables and some bits of scheduler not being written.

Signed-off-by: Grzegorz Milos <gm281@cam.ac.uk>
2005-09-09 09:24:25 +00:00
..
2005-09-02 10:04:42 +00:00
2005-07-06 10:46:29 +00: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.