direct-io.hg

view xen/README @ 327:cdaace96648d

bitkeeper revision 1.144 (3e74d2c4Sp8uQ7JRHj5sf5cI7xOMQA)

Merge scramble.cl.cam.ac.uk:/usr/groups/xeno/BK/xeno.bk
into scramble.cl.cam.ac.uk:/local/scratch/kaf24/xeno
author kaf24@scramble.cl.cam.ac.uk
date Sun Mar 16 19:38:44 2003 +0000 (2003-03-16)
parents 170eb7974e43 a0c481468997
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)