[PATCH 16/27] Add desktop PowerPC specific emulation

2009-10-21 Thread Alexander Graf
Little opcodes behave differently on desktop and embedded PowerPC cores. In order to reflect those differences, let's add some #ifdef code to emulate.c. We could probably also handle them in the core specific emulation files, but I would prefer to reuse as much code as possible. Signed-off-by:

Re: [PATCH 16/27] Add desktop PowerPC specific emulation

2009-10-10 Thread Benjamin Herrenschmidt
On Fri, 2009-10-09 at 13:57 -0700, Hollis Blanchard wrote: +#ifdef CONFIG_PPC64 +#ifdef DEBUG_EMUL + printk(KERN_INFO mtDEC: %x\n, vcpu-arch.dec); +#endif + /* POWER4+ triggers a dec interrupt if the value is 0 */ + if (vcpu-arch.dec 0x8000) { +

[PATCH 16/27] Add desktop PowerPC specific emulation

2009-09-29 Thread Alexander Graf
Little opcodes behave differently on desktop and embedded PowerPC cores. In order to reflect those differences, let's add some #ifdef code to emulate.c. We could probably also handle them in the core specific emulation files, but I would prefer to reuse as much code as possible. Signed-off-by: