ia64/xen-unstable

view xen/README @ 652:784f6ddcee8e

bitkeeper revision 1.366.1.1 (3f1bbc10yTVXbX8BeEQcUVKQmXTucQ)

time.c:
Fix reading of CMOS time -- beware the update-in-progress flag.
author kaf24@scramble.cl.cam.ac.uk
date Mon Jul 21 10:10:24 2003 +0000 (2003-07-21)
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)