ia64/xen-unstable

view extras/mini-os/README @ 16536:89e7031e153c

hvm: Initialize vlapic->timer_last_update.

Without the fix, before the first vlapic timer interrupt is injected,
the "vlapic->timer_last_update" in vlapic_get_tmcct() is always 0,
causing a wrong value of counter_passed.

Signed-off-by: Dexuan Cui <dexuan.cui@intel.com>
author Keir Fraser <keir.fraser@citrix.com>
date Wed Dec 05 14:01:39 2007 +0000 (2007-12-05)
parents 0839db0aa611
children 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
17 Stuff it doesn't show:
19 * modifying page tables
20 * network code
21 * block-device code
24 - to build it just type make.
26 - to start it do the following in domain0 (assuming xend is running)
27 # xm create domain_config
29 this starts the kernel and prints out a bunch of stuff and then once
30 every second the system time.