1 /* Xen-specific pieces of head.S, intended to be included in the right
6 #include <linux/elfnote.h>
7 #include <linux/init.h>
9 #include <xen/interface/elfnote.h>
13 movl %esi,xen_start_info
15 movl $(init_thread_union+THREAD_SIZE),%esp
20 .pushsection .bss.page_aligned
26 ELFNOTE(Xen, XEN_ELFNOTE_GUEST_OS, .asciz "linux")
27 ELFNOTE(Xen, XEN_ELFNOTE_GUEST_VERSION, .asciz "2.6")
28 ELFNOTE(Xen, XEN_ELFNOTE_XEN_VERSION, .asciz "xen-3.0")
29 ELFNOTE(Xen, XEN_ELFNOTE_VIRT_BASE, .long __PAGE_OFFSET)
30 ELFNOTE(Xen, XEN_ELFNOTE_ENTRY, .long startup_xen)
31 ELFNOTE(Xen, XEN_ELFNOTE_HYPERCALL_PAGE, .long hypercall_page)
32 ELFNOTE(Xen, XEN_ELFNOTE_FEATURES, .asciz "!writable_page_tables|pae_pgdir_above_4gb")
34 ELFNOTE(Xen, XEN_ELFNOTE_PAE_MODE, .asciz "yes")
36 ELFNOTE(Xen, XEN_ELFNOTE_PAE_MODE, .asciz "no")
38 ELFNOTE(Xen, XEN_ELFNOTE_LOADER, .asciz "generic")
40 #endif /*CONFIG_XEN */