Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EbceC-0001WF-KO for qemu-devel@nongnu.org; Mon, 14 Nov 2005 06:37:16 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EbcT5-0007G4-SE for qemu-devel@nongnu.org; Mon, 14 Nov 2005 06:25:50 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ebbqn-0004Ky-Lg for qemu-devel@nongnu.org; Mon, 14 Nov 2005 05:46:18 -0500 Received: from [141.76.48.99] (helo=os.inf.tu-dresden.de) by monty-python.gnu.org with esmtp (TLS-1.0:DHE_RSA_3DES_EDE_CBC_SHA:24) (Exim 4.34) id 1Ebbqn-0006EK-QE for qemu-devel@nongnu.org; Mon, 14 Nov 2005 05:46:13 -0500 Received: from caesium.inf.tu-dresden.de ([141.76.48.55]) by os.inf.tu-dresden.de with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.54) id 1Ebbqj-000IfG-2l for qemu-devel@nongnu.org; Mon, 14 Nov 2005 11:46:09 +0100 Message-ID: <43786AED.7090402@os.inf.tu-dresden.de> Date: Mon, 14 Nov 2005 11:46:05 +0100 From: Ronald Aigner MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Subject: [Qemu-devel] couid for x86 CPUs Reply-To: qemu-devel@nongnu.org List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Hi, Version 0.7.2 from the Website returns invalid cache size for the i386 architecture. Currently the 'cpuid' instruction with eax==1 returns a processor ID of 0x633 that is an "Intel Pentium II (Klamath)". The Klamath is specified with 512kB of L2 Cache (see http://www.pcguide.com/ref/cpu/fam/g6PII-c.html). However the 'cpuid' instruction with eax==2 returns a descriptor value of 0x41, which indicates 128kB of L2 Cache (see http://faydoc.tripod.com/cpu/cpuid.htm). The correct value should be 0x43. To fix this, line 1317 in file target-i386/helper.c should read: EAX = 0x430601; Thanks, Ron. PS: A hint on the website on where to post bug-reports would be helpful. PPS: Please include me into reply. I'm not subscribed to the list. - -- Mit freundlichen Gruessen / with regards ra3 @ inf.tu-dresden.de http://os.inf.tu-dresden.de/~ra3/ -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (GNU/Linux) iD8DBQFDeGrtvCdOf9l7ipgRAgchAKCzPmGB0mYtcWzxVkpw4C+RL11PvwCg0COA d7wPzNZSceNZrFQdQpDbfwQ= =ar/v -----END PGP SIGNATURE-----