summaryrefslogtreecommitdiffstats
path: root/sys/i386/xen
diff options
context:
space:
mode:
authorkmacy <kmacy@FreeBSD.org>2008-09-03 00:06:10 +0000
committerkmacy <kmacy@FreeBSD.org>2008-09-03 00:06:10 +0000
commitad33f05a7c8ea70d1e02d61b1d866130540245e9 (patch)
tree18a425021f7087ac9c69ca55ee1cb0f12dca86b2 /sys/i386/xen
parent33d6b8cb7b358d8b42930627c74307dd17a8af38 (diff)
downloadFreeBSD-src-ad33f05a7c8ea70d1e02d61b1d866130540245e9.zip
FreeBSD-src-ad33f05a7c8ea70d1e02d61b1d866130540245e9.tar.gz
enable the xen_guest string so that the freebsd xen kernel will
at least pass muster with the loader on 3.0.3 Note that this doesn't actually make it work as Xen 3.0.3 appears to disallow recursive mappings on the page directory
Diffstat (limited to 'sys/i386/xen')
-rw-r--r--sys/i386/xen/locore.s3
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/i386/xen/locore.s b/sys/i386/xen/locore.s
index a218d7b..0bc9245 100644
--- a/sys/i386/xen/locore.s
+++ b/sys/i386/xen/locore.s
@@ -66,10 +66,9 @@
#include "assym.s"
.section __xen_guest
-#if 0
.ascii "LOADER=generic,GUEST_OS=freebsd,GUEST_VER=7.0,XEN_VER=xen-3.0,BSD_SYMTAB,VIRT_BASE=0xc0000000"
.byte 0
-#endif
+
ELFNOTE(Xen, XEN_ELFNOTE_GUEST_OS, .asciz, "FreeBSD")
ELFNOTE(Xen, XEN_ELFNOTE_GUEST_VERSION, .asciz, "HEAD")
ELFNOTE(Xen, XEN_ELFNOTE_XEN_VERSION, .asciz, "xen-3.0")
OpenPOWER on IntegriCloud