[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Xen-devel] xen-kernel and EDD
- To: Lin-Bao Zhang <2004.zhang@xxxxxxxxx>
- From: Keir Fraser <keir@xxxxxxx>
- Date: Thu, 18 Aug 2011 12:04:24 +0100
- Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
- Delivery-date: Thu, 18 Aug 2011 04:06:47 -0700
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=sender:user-agent:date:subject:from:to:cc:message-id:thread-topic :thread-index:in-reply-to:mime-version:content-type :content-transfer-encoding; bh=LMkuyz2pFILWUHUN1/L48h+kI5BJGlL3hwYq0K7KkHA=; b=FySEHnz1bVPclIoqlXbr3YQHkhGfL+NEwt2KUxHNJNmo0MAWwDZeJguSOguvDMrLMS gjCH4XqM9Ha3NBz+66C1Cg6sEqj5kUGjoAr8eljyzPZD+WZt0l4oKjDzRDxE2SgwqcTy T5FVxFYTvLgF7JuB9+OMY9qZqMVCKW3ExiUN4=
- List-id: Xen developer discussion <xen-devel.lists.xensource.com>
- Thread-index: AcxdlpaZb8YMWj+nDEaG1N9y763lmQ==
- Thread-topic: [Xen-devel] xen-kernel and EDD
On 18/08/2011 11:43, "Lin-Bao Zhang" <2004.zhang@xxxxxxxxx> wrote:
> --
> so in my system , my EBDA area should be 95400 ~ a0000 ,about 43KBytes.
> from xen.gz (hypervisor) code , trampoline.S , we know
> ----
> #define BOOT_TRAMPOLINE 0x90000
> #define bootsym_phys(sym) \
> (((unsigned long)&(sym)-(unsigned long)&trampoline_start)+BOOT_TRAMPOLINE)
> -----
> 0x95400 - 0x90000 = 0x5400 = 21KBytes.
>
> 21Kbytes is enough for gen.gz running(hypervisor) ?
> if hypervisor will run more area , maybe it will overlap EBDA area .
>
> so who can tell me xen.gz 's end address ? or max long ?
It's almost certainly this. In latest Xen we run the trampoline code at
0x7c000. So you can try rebuilding your hypervisor with the following
changes:
1. Change BOOT_TRAMPOLINE to 0x7c000
2. In arch/x86/boot/head.S, change the line 'mov $0x98000,%esp' to 'mov
$0x80000,%esp'.
That will probably fix your problem.
-- Keir
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel