view extras/mini-os/README @ 19557:226ef307cd2e

AMD IOMMU: Fix ioapic interrupt remapping

A few ioapic redirection entries are initialized by hypervisor before
enabling iommu hardware. This patch copies those entries from ioapic
redirection table into interrupt remapping table after interrupt
remapping table has been allocated.

Signed-off-by: Wei Wang <wei.wang2@amd.com>
author Keir Fraser <keir.fraser@citrix.com>
date Fri Apr 17 13:16:39 2009 +0100 (2009-04-17)
parents 851dc6b70494
line source
1 Minimal OS
2 ----------
4 This shows some of the stuff that any guest OS will have to set up.
6 This includes:
8 * installing a virtual exception table
9 * handling virtual exceptions
10 * handling asynchronous events
11 * enabling/disabling async events
12 * parsing start_info struct at start-of-day
13 * registering virtual interrupt handlers (for timer interrupts)
14 * a simple page and memory allocator
15 * minimal libc support
16 * minimal Copy-on-Write support
17 * network, block, framebuffer support
18 * transparent access to FileSystem exports (see tools/fs-back)
20 - to build it just type make.
22 - to build it with TCP/IP support, download LWIP 1.3 source code and type
24 make LWIPDIR=/path/to/lwip/source
26 - to build it with much better libc support, see the stubdom/ directory
28 - to start it do the following in domain0 (assuming xend is running)
29 # xm create domain_config
31 This starts the kernel and prints out a bunch of stuff and then once every
32 second the system time.
34 If you have setup a disk in the config file (e.g.
35 disk = [ 'file:/tmp/foo,hda,r' ] ), it will loop reading it. If that disk is
36 writable (e.g. disk = [ 'file:/tmp/foo,hda,w' ] ), it will write data patterns
37 and re-read them.
39 If you have setup a network in the config file (e.g. vif = [''] ), it will
40 print incoming packets.
42 If you have setup a VFB in the config file (e.g. vfb = ['type=sdl'] ), it will
43 show a mouse with which you can draw color squares.
45 If you have compiled it with TCP/IP support, it will run a daytime server on
46 TCP port 13.