All of lore.kernel.org
 help / color / mirror / Atom feed
From: Lin-Bao Zhang <2004.zhang@gmail.com>
To: Keir Fraser <keir.xen@gmail.com>
Cc: xen-devel@lists.xensource.com
Subject: Re: xen-kernel and EDD
Date: Thu, 18 Aug 2011 18:52:15 +0800	[thread overview]
Message-ID: <CANuKeP=uAUoRP2T4w6MOEz6AMAeT7jRMqhcNj5UqZq4-V3wm4A@mail.gmail.com> (raw)
In-Reply-To: <CANuKePmurLWCEEJVzbQv2hSzccUiE-NHDkuVddgyRyXapb9Znw@mail.gmail.com>

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) .
-----------------------
 /* 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

  reply	other threads:[~2011-08-18 10:52 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-08-17  5:11 xen-kernel and EDD Bob Zhang
2011-08-17  5:11 ` Bob Zhang
2011-08-18  5:08 ` Lin-Bao Zhang
2011-08-18  6:40   ` Keir Fraser
2011-08-18 10:43     ` Lin-Bao Zhang
2011-08-18 10:52       ` Lin-Bao Zhang [this message]
2011-08-18 11:05         ` Keir Fraser
2011-08-18 11:04       ` Keir Fraser
2011-08-18 15:55         ` Lin-Bao Zhang
2011-08-19  8:27           ` Lin-Bao Zhang
2011-08-19  8:49             ` Keir Fraser
2011-08-19  9:15               ` Lin-Bao Zhang
2011-08-19  9:23                 ` Keir Fraser
2011-08-19  9:51               ` Lin-Bao Zhang
2011-08-22  3:45                 ` Lin-Bao Zhang
2011-08-23  8:48         ` Paolo Bonzini
2011-08-23 10:24           ` Lin-Bao Zhang
2011-08-24  7:50             ` Lin-Bao Zhang
2011-08-24  8:03               ` Keir Fraser
2011-08-24  9:36                 ` BobZhang
2011-08-24  9:49                   ` Keir Fraser
2011-08-25  9:37                     ` Lin-Bao Zhang
2011-08-25  9:50                     ` Lin-Bao Zhang
2011-08-25 10:24                       ` Keir Fraser
2011-08-25 14:33                         ` Lin-Bao Zhang
2011-08-31  7:50                           ` Lin-Bao Zhang
2011-08-31  7:56                             ` Keir Fraser

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CANuKeP=uAUoRP2T4w6MOEz6AMAeT7jRMqhcNj5UqZq4-V3wm4A@mail.gmail.com' \
    --to=2004.zhang@gmail.com \
    --cc=keir.xen@gmail.com \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.