From: Xiao Guangrong <xiaoguangrong@cn.fujitsu.com>
To: Keir Fraser <keir.fraser@eu.citrix.com>
Cc: xen-devel <xen-devel@lists.xensource.com>,
Xiao Guangrong <ericxiao.gr@gmail.com>
Subject: Re: [PATCH] x86 boot: simplify reloc.c
Date: Tue, 10 Nov 2009 16:21:20 +0800 [thread overview]
Message-ID: <4AF92280.2060307@cn.fujitsu.com> (raw)
In-Reply-To: <C71EC891.19B0B%keir.fraser@eu.citrix.com>
Keir Fraser wrote:
> On 10/11/2009 03:34, "Xiao Guangrong" <xiaoguangrong@cn.fujitsu.com> wrote:
>
>> This patch simplify reloc.c with:
>> 1): no need separate make
>> reloc.c -> reloc.o -> reloc.lnk -> reloc.bin -> reloc.S,
>> and static embed reloc.S into head.S
>> 2): reuse memcpy() in string lib
>> 3): remove assemble code in the head of reloc.c
>>
>> [ It is just a cleanup patch and not change the code's logic, and it work well
>> on x86.
>> Not have x86_64 machine in my hand, thanks very much if someone can test it
>> on x86_64 ]
>
> The patch misses the point of reloc.c, which is that it is supposed to run
> in 32-bit mode. All the stuff you stripped out is exactly what's needed to
> make it work with 64-bit Xen.
>
Ah, sorry for this noise, I'll do some work on x86-64 about this patch.
Thanks,
Xiao
prev parent reply other threads:[~2009-11-10 8:21 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-10 3:34 [PATCH] x86 boot: simplify reloc.c Xiao Guangrong
2009-11-10 7:36 ` Keir Fraser
2009-11-10 8:21 ` Xiao Guangrong [this message]
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=4AF92280.2060307@cn.fujitsu.com \
--to=xiaoguangrong@cn.fujitsu.com \
--cc=ericxiao.gr@gmail.com \
--cc=keir.fraser@eu.citrix.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.