From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from [140.186.70.92] (port=55253 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Q6gkL-00066f-S5 for qemu-devel@nongnu.org; Mon, 04 Apr 2011 06:11:01 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Q6gkK-0007LO-9H for qemu-devel@nongnu.org; Mon, 04 Apr 2011 06:10:57 -0400 Received: from mail-vw0-f45.google.com ([209.85.212.45]:34398) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Q6gkK-0007Kz-5m for qemu-devel@nongnu.org; Mon, 04 Apr 2011 06:10:56 -0400 Received: by vws17 with SMTP id 17so4621234vws.4 for ; Mon, 04 Apr 2011 03:10:55 -0700 (PDT) MIME-Version: 1.0 Date: Mon, 4 Apr 2011 18:10:55 +0800 Message-ID: From: y y Content-Type: multipart/alternative; boundary=90e6ba53a5caaa207304a014f94c Subject: [Qemu-devel] A question about qemu 0.9.1 List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu list --90e6ba53a5caaa207304a014f94c Content-Type: text/plain; charset=GB2312 Content-Transfer-Encoding: quoted-printable I am learning qemu 0.9.1=A3=ACand there is a question.After I complied the project,there are some codes in "/i386-softmmu/op.h" case INDEX_op_movl_A0_EAX: { extern void op_movl_A0_EAX(); memcpy(gen_code_ptr, (void *)((char *)&op_movl_A0_EAX+0), 3); gen_code_ptr +=3D 3; } Where is this op_movl_A0_EAX() come from?I can't find it in the "op.c" or even the whole project.But it does exist in the "op.o".I check the file "Makefile.target" op.o: op.c $(CC) $(OP_CFLAGS) $(CPPFLAGS) -c -o $@ $< "op.o" depends only on "op.c",isn't it?Then where does this op_movl_A0_EAX() come from? Maybe I have made some mistakes.Correct me if I am wrong... Please give me some help.I was blocked here for a long time. Thank you very much! --Terry " --90e6ba53a5caaa207304a014f94c Content-Type: text/html; charset=GB2312 Content-Transfer-Encoding: quoted-printable
I am learning qemu 0.9.1=A3=ACand there is a questi= on.After I complied the project,there are some codes in "/i386-so= ftmmu/op.h"

case INDEX_op_movl_A0_EAX: {
extern void op_= movl_A0_EAX();
memcpy(gen_code_ptr, (void *)((char *)&op_movl_A0_EAX= +0), 3);
gen_code_ptr +=3D 3;
}

Where is this op_movl_A0_EAX() come from?I = ;can't find it in the "op.c" or even the whole project.B= ut it does exist in the "op.o".I check the file "M= akefile.target"
op.o: op.c
$(CC) $(OP_CFLAGS) $(CPPFLAGS) -c -o = $@ $<

"op.o" depends  only on &qu= ot;op.c",isn't it?Then where does this op_movl_A0_EAX() come from?=
Maybe I have made some mistakes.Correct me if I am wrong...
Please give me some help.I was blocked here for a l= ong time.
Thank you very much!
        &nb= sp;            =             &nb= sp;            =             &nb= sp;     --Terry
 
 "
--90e6ba53a5caaa207304a014f94c--