From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1Ibc1p-0001p7-4v for qemu-devel@nongnu.org; Sat, 29 Sep 2007 09:06:41 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Ibc1h-0001nn-J8 for qemu-devel@nongnu.org; Sat, 29 Sep 2007 09:06:40 -0400 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Ibc1h-0001ng-8u for qemu-devel@nongnu.org; Sat, 29 Sep 2007 09:06:33 -0400 Received: from savannah.gnu.org ([199.232.41.3] helo=sv.gnu.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1Ibc1b-00075P-QQ for qemu-devel@nongnu.org; Sat, 29 Sep 2007 09:06:33 -0400 Received: from cvs.savannah.gnu.org ([199.232.41.69]) by sv.gnu.org with esmtp (Exim 4.63) (envelope-from ) id 1Ibc1Q-00010v-M1 for qemu-devel@nongnu.org; Sat, 29 Sep 2007 13:06:16 +0000 Received: from j_mayer by cvs.savannah.gnu.org with local (Exim 4.63) (envelope-from ) id 1Ibc1Q-00010s-HR for qemu-devel@nongnu.org; Sat, 29 Sep 2007 13:06:16 +0000 Message-Id: From: Jocelyn Mayer Date: Sat, 29 Sep 2007 13:06:16 +0000 Subject: [Qemu-devel] qemu darwin-user/main.c linux-user/main.c targe... 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 CVSROOT: /sources/qemu Module name: qemu Changes by: Jocelyn Mayer 07/09/29 13:06:16 Modified files: darwin-user : main.c linux-user : main.c target-ppc : cpu.h helper.c op_helper.c op_mem.h translate.c translate_init.c Log message: Rework PowerPC exceptions model to make it more versatile: * don't use exception vectors as the exception number. Use vectors numbers as defined in the PowerPC embedded specification instead and extend this model to cover all emulated PowerPC variants exceptions. * add some missing exceptions definitions, from PowerPC 2.04 specification and actual PowerPC implementations. * add code provision for hypervisor exceptions handling. * define exception vectors and prefix in CPUPPCState to emulate BookE exception vectors without any hacks. * define per CPU model valid exception vectors. * handle all known exceptions in user-mode only emulations. * fix hardware interrupts priorities in most cases. * change RET_EXCP macros name into GEN_EXCP as they don't return. * do not stop translation on most instructions that are not defined as context-synchronizing in PowerPC specification. * fix PowerPC 64 jump targets and link register update when in 32 bits mode. * Fix PowerPC 464 and 464F definitions. CVSWeb URLs: http://cvs.savannah.gnu.org/viewcvs/qemu/darwin-user/main.c?cvsroot=qemu&r1=1.4&r2=1.5 http://cvs.savannah.gnu.org/viewcvs/qemu/linux-user/main.c?cvsroot=qemu&r1=1.122&r2=1.123 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/cpu.h?cvsroot=qemu&r1=1.61&r2=1.62 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/helper.c?cvsroot=qemu&r1=1.58&r2=1.59 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_helper.c?cvsroot=qemu&r1=1.41&r2=1.42 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/op_mem.h?cvsroot=qemu&r1=1.16&r2=1.17 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/translate.c?cvsroot=qemu&r1=1.71&r2=1.72 http://cvs.savannah.gnu.org/viewcvs/qemu/target-ppc/translate_init.c?cvsroot=qemu&r1=1.28&r2=1.29