openbsd-ports/emulators/dynamips/patches/patch-mips64_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
442 B
Plaintext

$OpenBSD: patch-mips64_x86_trans_h,v 1.1.1.1 2008/01/18 09:09:48 sthen Exp $
--- mips64_x86_trans.h.orig Sun Sep 2 11:41:38 2007
+++ mips64_x86_trans.h Sun Sep 2 11:41:58 2007
@@ -53,8 +53,7 @@ void mips64_jit_tcb_exec(cpu_mips_t *cpu,mips64_jit_tc
return;
}
- asm volatile ("movl %0,%%edi"::"r"(cpu):
- "esi","edi","eax","ebx","ecx","edx");
+ asm volatile ("movl %0,%%edi"::"r"(cpu));
jit_code();
}