aboutsummaryrefslogtreecommitdiffstats
path: root/extras/mini-os/README
diff options
context:
space:
mode:
Diffstat (limited to 'extras/mini-os/README')
-rw-r--r--extras/mini-os/README35
1 files changed, 35 insertions, 0 deletions
diff --git a/extras/mini-os/README b/extras/mini-os/README
new file mode 100644
index 0000000000..98661a9274
--- /dev/null
+++ b/extras/mini-os/README
@@ -0,0 +1,35 @@
+ 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.
+
+- copy image.final somewhere where dom0 can access it
+
+- in dom0
+ # xi_create 16000 test
+ <domid>
+ # xi_build <domid> image.final 0
+ # xi_start <domid>
+
+this prints out a bunch of stuff and then every 1000 timer interrupts the
+system time.