openbsd-ports/emulators/dynamips/patches/patch-ppc32_x86_trans_h
sthen 60bf79475b import dynamips:
Dynamips emulates various MIPS64 and PowerPC-based processors
and other hardware found in Cisco routers, including many NM/PA
modules e.g. Ethernet, fast Ethernet, serial, ATM, switch.

It is able to boot a large number of Cisco IOS releases
(not included) for the 7200, 3600, 3700 and 2600 platforms.

feedback and ok ajacoutot
2008-01-18 09:09:48 +00:00

14 lines
433 B
Plaintext

$OpenBSD: patch-ppc32_x86_trans_h,v 1.1.1.1 2008/01/18 09:09:48 sthen Exp $
--- ppc32_x86_trans.h.orig Sun Sep 2 11:43:03 2007
+++ ppc32_x86_trans.h Sun Sep 2 11:43:07 2007
@@ -60,8 +60,7 @@ void ppc32_jit_tcb_exec(cpu_ppc_t *cpu,ppc32_jit_tcb_t
}
}
- asm volatile ("movl %0,%%edi"::"r"(cpu):
- "esi","edi","eax","ebx","ecx","edx");
+ asm volatile ("movl %0,%%edi"::"r"(cpu));
jit_code();
}