Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MXnRG-0002MJ-Uc for qemu-devel@nongnu.org; Sun, 02 Aug 2009 22:38:14 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1MXnRB-0002L7-SA for qemu-devel@nongnu.org; Sun, 02 Aug 2009 22:38:14 -0400 Received: from [199.232.76.173] (port=56878 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1MXnRB-0002Kt-HS for qemu-devel@nongnu.org; Sun, 02 Aug 2009 22:38:09 -0400 Received: from bay0-omc3-s18.bay0.hotmail.com ([65.54.246.218]:23845) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1MXnRB-0007z4-56 for qemu-devel@nongnu.org; Sun, 02 Aug 2009 22:38:09 -0400 Message-ID: Content-Type: multipart/alternative; boundary="_84b089b2-a84d-4645-b9da-6b339023e034_" From: Tommy Huang Date: Sun, 2 Aug 2009 19:38:07 -0700 MIME-Version: 1.0 Subject: [Qemu-devel] ldub_kernel and ldub_code question List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org --_84b089b2-a84d-4645-b9da-6b339023e034_ Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi all=2C I tried to use ldub_kernel or any *_kernel function inside target-i386/tran= slate.c. It complains that it is undefined reference. But I can use ldub_code functi= on in that file. The strange thing is I can only find definitions of both ldub_kernel and ld= ub_code functions in cpu-all.h. I didn't see any precompiler options=2C such as #ifdef=2C between ldub_kern= el and ldub_code. I don't understand why the compiler can find ldub_code but failed to find l= dub_kernel in target-i386/translate.c. My qemu version is 0.9.0. I am not sure if it happens in latest version als= o. Any information is highly appreciated. Thanks. Regards=2C Tommy _________________________________________________________________ Windows Live=99: Keep your life in sync. http://windowslive.com/explore?ocid=3DPID23384::T:WLMTAGL:ON:WL:en-US:NF_BR= _sync:082009= --_84b089b2-a84d-4645-b9da-6b339023e034_ Content-Type: text/html; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable Hi all=2C

I tried to use ldub_kernel or any *_kernel function inside= target-i386/translate.c.
It complains that it is undefined reference. B= ut I can use ldub_code function in that file.
The strange thing is I can= only find definitions of both ldub_kernel and ldub_code functions in cpu-a= ll.h.
I didn't see any precompiler options=2C such as #ifdef=2C between = ldub_kernel and ldub_code.
I don't understand why the compiler can find = ldub_code but failed to find ldub_kernel in target-i386/translate.c.
My = qemu version is 0.9.0. I am not sure if it happens in latest version also.<= br>Any information is highly appreciated.
Thanks.

Regards=2C
T= ommy



Windows Live=99: Keep your life in sync. Check it out. = --_84b089b2-a84d-4645-b9da-6b339023e034_--