direct-io.hg

view extras/mini-os/README @ 11356:af7c87d42bc6

[XEN][POWERPC] Fix PHDR issues with large .data.percpu sections

This patch tells the link to only create one PHDR and place all sections
in it, also removing an unrequired mapping for the .data.percpu section.

This avoids the "Not enough room for program headers (allocated 2, need 3)"

Booted on a JS20.

Signed-off-by: Tony Breeds <tony@bakeyournoodle.com>
Signed-off-by: Hollis Blanchard <hollisb@us.ibm.com>
author Jimi Xenidis <jimix@watson.ibm.com>
date Thu Aug 17 07:10:57 2006 -0400 (2006-08-17)
parents 06d84bf87159
children 0839db0aa611
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 every
30 1000 timer interrupts the system time.