direct-io.hg

view xen/README @ 364:942eb9bcae13

bitkeeper revision 1.170 (3e9c936fXyHEI0NKOWQkP9tHN4sbqw)

Many files:
Finished virtualisation of x86 LDT. Xenolinux now exports this to applications (eg. for use by linuxthreads).
author kaf24@scramble.cl.cam.ac.uk
date Tue Apr 15 23:19:11 2003 +0000 (2003-04-15)
parents cdaace96648d
children
line source
2 *****************************************************
3 Xeno Hypervisor (16/3/03)
5 'make': Builds ELF executable called 'image' in base directory
6 'make clean': removes *all* build and target files
10 Booting secondary processors
11 ----------------------------
13 It's twisty and turny, so this is (roughly) the code path:
15 start_of_day (i386/setup.c)
16 smp_boot_cpus (i386/smpboot.c)
17 * initialises boot CPU data
18 * parses APIC tables
19 * for each cpu:
20 do_boot_cpu (i386/smpboot.c)
21 * forks a new idle process
22 * points initial stack inside new task struct
23 * points initial EIP at a trampoline in very low memory
24 * frobs remote APIC....
26 On other processor:
27 * trampoline sets GDT and IDT
28 * jumps at main boot address with magic register value
29 * after setting proper page and descriptor tables, jumps at...
30 initialize_secondary (i386/smpboot.c)
31 * simply reads ESP/EIP out of the (new) idle task
32 * this causes a jump to...
33 start_secondary (i386/smpboot.c)
34 * reset all processor state
35 * barrier, then write bitmasks to signal back to boot cpu
36 * then barrel into...
37 cpu_idle (i386/process.c)