ia64/xen-unstable

view linux-2.4.27-xen-sparse/arch/xen/kernel/head.S @ 2621:9402048e2325

bitkeeper revision 1.1159.1.218 (416a8128OiHXHyk_Sy8FsA0YUQcEnA)

Merge freefall.cl.cam.ac.uk:/auto/groups/xeno/users/cl349/BK/xeno.bk-26dom0
into freefall.cl.cam.ac.uk:/local/scratch/cl349/xeno.bk-26dom0
author cl349@freefall.cl.cam.ac.uk
date Mon Oct 11 12:48:40 2004 +0000 (2004-10-11)
parents ff4e7a241335
children
line source
2 .section __xen_guest
3 .asciz "GUEST_OS=linux,GUEST_VER=2.4,XEN_VER=2.0,VIRT_BASE=0xC0000000"
5 .text
6 #include <linux/config.h>
7 #include <linux/threads.h>
8 #include <linux/linkage.h>
9 #include <asm/segment.h>
10 #include <asm/page.h>
11 #include <asm/pgtable.h>
12 #include <asm/desc.h>
14 ENTRY(stext)
15 ENTRY(_stext)
16 cld
17 lss stack_start,%esp
18 /* Copy the necessary stuff from xen_start_info structure. */
19 mov $SYMBOL_NAME(xen_start_info_union),%edi
20 mov $128,%ecx
21 rep movsl
22 jmp SYMBOL_NAME(start_kernel)
24 ENTRY(stack_start)
25 .long SYMBOL_NAME(init_task_union)+8192, __KERNEL_DS
27 .org 0x1000
28 ENTRY(empty_zero_page)
30 .org 0x2000
31 ENTRY(default_ldt)
33 .org 0x3000
34 ENTRY(cpu0_pte_quicklist)
36 .org 0x3400
37 ENTRY(cpu0_pgd_quicklist)
39 .org 0x3800