WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

Re: [Xen-devel] xen-kernel and EDD

To: Lin-Bao Zhang <2004.zhang@xxxxxxxxx>
Subject: Re: [Xen-devel] xen-kernel and EDD
From: Keir Fraser <keir@xxxxxxx>
Date: Thu, 18 Aug 2011 12:05:48 +0100
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Thu, 18 Aug 2011 04:10:14 -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=AHoo2N6w7kRC6wn6PHRVMoW8X8Tkltehlv3m/LIKPhs=; b=bioXqkf2ElqlV6J805ixK3yuErHGgKuqJxydqU2adD5gMc2pf7gtw+P6sSr4lM5/hm btZkafZMrYjxPI1Htfjju1GkE/ftLtD4pN3XDR7XzHAVjWfGObVA5a/VEFT7oRK73rBz WUR+JEn5dcCTVPz8BEEeV7zffmkZECJ6sptTY=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <CANuKeP=uAUoRP2T4w6MOEz6AMAeT7jRMqhcNj5UqZq4-V3wm4A@xxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: Acxdlsiq9AOp1XqJUUisHiDYqq2mgw==
Thread-topic: [Xen-devel] xen-kernel and EDD
User-agent: Microsoft-Entourage/12.30.0.110427
On 18/08/2011 11:52, "Lin-Bao Zhang" <2004.zhang@xxxxxxxxx> wrote:

> in xen/arch/x86/boot/head.S:
> there is a code ,it will copy bootstrap trampoline to low memory below 1MB.
> 
> I am not very familar with assembler code, who can explain its target :
> I guess maybe 0x98000 has overlapped my EBDA area(95400 ~a0000) .

Well, yes, obviously it does. :-)

> -----------------------
>  /* Copy bootstrap trampoline to low memory, below 1MB. */
>         mov     $sym_phys(trampoline_start),%esi
>         mov     $bootsym_phys(trampoline_start),%edi
>         mov     $trampoline_end - trampoline_start,%ecx
>         rep     movsb
> 
>         mov     $0x98000,%esp
>         call    cmdline_parse_early
> 
>         /* Jump into the relocated trampoline. */
>         jmp     $BOOT_CS32,$bootsym_phys(trampoline_boot_cpu_entry)
> 
> #include "cmdline.S"
> 
>         .globl trampoline_start, trampoline_end
> trampoline_start:
> #include "trampoline.S"
> trampoline_end:
> 
>         .text
> __high_start:
> #ifdef __x86_64__
> #include "x86_64.S"
> #else
> #include "x86_32.S"
> #endif



_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel