diff options
Diffstat (limited to 'emulators')
-rw-r--r-- | emulators/mips64emul/DESCR | 4 | ||||
-rw-r--r-- | emulators/mips64emul/Makefile | 45 | ||||
-rw-r--r-- | emulators/mips64emul/PLIST | 29 | ||||
-rw-r--r-- | emulators/mips64emul/distinfo | 6 | ||||
-rw-r--r-- | emulators/mips64emul/patches/patch-aa | 54 |
5 files changed, 0 insertions, 138 deletions
diff --git a/emulators/mips64emul/DESCR b/emulators/mips64emul/DESCR deleted file mode 100644 index c33d77455ba..00000000000 --- a/emulators/mips64emul/DESCR +++ /dev/null @@ -1,4 +0,0 @@ -mips64emul is a MIPS machine emulator. The goals are to emulate 32-bit and -64-bit MIPS CPUs and enough surrounding hardware to fake real machines, -capable of running real (unmodified) operating systems, such as NetBSD, -OpenBSD, Ultrix, Sprite and Linux. diff --git a/emulators/mips64emul/Makefile b/emulators/mips64emul/Makefile deleted file mode 100644 index ba09e99dc8d..00000000000 --- a/emulators/mips64emul/Makefile +++ /dev/null @@ -1,45 +0,0 @@ -# $NetBSD: Makefile,v 1.14 2005/02/20 15:43:56 xtraeme Exp $ -# - -DISTNAME= mips64emul-0.3 -CATEGORIES= emulators -MASTER_SITES= http://gavare.se/mips64emul/src/ - -MAINTAINER= xtraeme@NetBSD.org -HOMEPAGE= http://gavare.se/mips64emul/ -COMMENT= MIPS 32/64-bit emulator - -PKG_INSTALLATION_TYPES= overwrite pkgviews - -USE_BUILDLINK3= yes -HAS_CONFIGURE= yes - -INSTALLATION_DIRS= bin share/doc/${PKGBASE} - -do-install: - ${INSTALL_PROGRAM} ${WRKSRC}/mips64emul ${PREFIX}/bin - ${INSTALL_MAN} ${WRKSRC}/man/mips64emul.1 ${PREFIX}/man/man1 -.for f in README HISTORY BUGS TODO RELEASE LICENSE - ${INSTALL_DATA} ${WRKSRC}/${f} ${PREFIX}/share/doc/${PKGBASE} -.endfor - ${INSTALL_DATA} ${WRKSRC}/doc/*.gif ${PREFIX}/share/doc/${PKGBASE} - ${INSTALL_DATA} ${WRKSRC}/doc/*.png ${PREFIX}/share/doc/${PKGBASE} - ${INSTALL_DATA} ${WRKSRC}/doc/*.c ${PREFIX}/share/doc/${PKGBASE} - -PKG_OPTIONS_VAR= PKG_OPTIONS.mips64emul -PKG_SUPPORTED_OPTIONS= X11 -PKG_DEFAULT_OPTIONS?= X11 -.include "../../mk/bsd.options.mk" - -.if !empty(PKG_OPTIONS:MX11) -USE_X11= yes -GLOBAL_LDFLAGS= -L${X11BASE}/lib ${COMPILER_RPATH_FLAG}${X11BASE}/lib -SUBST_CLASSES= x11 -SUBST_STAGE.x11= post-patch -SUBST_FILES.x11= configure -SUBST_SED.x11= -e "s|-L/usr/X11R6/lib|${GLOBAL_LDFLAGS}|g" \ - -e "s|/usr/X11R6|${X11BASE}|g" -SUBST_MESSAGE.x11= "Fixing X linking flags." -.endif - -.include "../../mk/bsd.pkg.mk" diff --git a/emulators/mips64emul/PLIST b/emulators/mips64emul/PLIST deleted file mode 100644 index f0446c315e1..00000000000 --- a/emulators/mips64emul/PLIST +++ /dev/null @@ -1,29 +0,0 @@ -@comment $NetBSD: PLIST,v 1.6 2005/02/20 15:43:56 xtraeme Exp $ -bin/mips64emul -man/man1/mips64emul.1 -share/doc/mips64emul/20041024-netbsd-arc-installed.gif -share/doc/mips64emul/20041024-netbsd-arc-installed_small.gif -share/doc/mips64emul/20041024-openbsd-arc-installed.gif -share/doc/mips64emul/20041024-openbsd-arc-installed_small.gif -share/doc/mips64emul/20041129-redhat_mips.png -share/doc/mips64emul/20041129-redhat_mips_small.png -share/doc/mips64emul/20041213-debian_4.png -share/doc/mips64emul/20041213-debian_4_small.gif -share/doc/mips64emul/BUGS -share/doc/mips64emul/HISTORY -share/doc/mips64emul/LICENSE -share/doc/mips64emul/README -share/doc/mips64emul/RELEASE -share/doc/mips64emul/TODO -share/doc/mips64emul/hello_mips.c -share/doc/mips64emul/hello_ppc.c -share/doc/mips64emul/maddr.gif -share/doc/mips64emul/netbsd-pmax-20040630.png -share/doc/mips64emul/netbsd-pmax-20040630_small.png -share/doc/mips64emul/openbsd-pmax-20040710.png -share/doc/mips64emul/openbsd-pmax-20040710_small.png -share/doc/mips64emul/sprite-20040711.png -share/doc/mips64emul/sprite-20040711_small.png -share/doc/mips64emul/ultrix4.5-20040706.png -share/doc/mips64emul/ultrix4.5-20040706_small.gif -@dirrm share/doc/mips64emul diff --git a/emulators/mips64emul/distinfo b/emulators/mips64emul/distinfo deleted file mode 100644 index e1a31003104..00000000000 --- a/emulators/mips64emul/distinfo +++ /dev/null @@ -1,6 +0,0 @@ -$NetBSD: distinfo,v 1.12 2005/03/14 14:59:36 rillig Exp $ - -SHA1 (mips64emul-0.3.tar.gz) = fc47ce112938436ed1d659af94e1939175205bf7 -RMD160 (mips64emul-0.3.tar.gz) = 6b937898aefc12ae1f373b0e69ea843ff1ec207d -Size (mips64emul-0.3.tar.gz) = 944679 bytes -SHA1 (patch-aa) = 06369c25558662c7dbf11b20993521d8fe79f8aa diff --git a/emulators/mips64emul/patches/patch-aa b/emulators/mips64emul/patches/patch-aa deleted file mode 100644 index eb92f8e46d4..00000000000 --- a/emulators/mips64emul/patches/patch-aa +++ /dev/null @@ -1,54 +0,0 @@ -$NetBSD: patch-aa,v 1.1 2005/03/14 14:59:36 rillig Exp $ - -The author didn't know the offsetof macro. - ---- src/bintrans_i386.c.orig Wed Feb 2 21:12:45 2005 -+++ src/bintrans_i386.c Sat Mar 12 02:17:23 2005 -@@ -37,6 +37,7 @@ - * ebp contains cpu->bintrans_instructions_executed - */ - -+#include <stddef.h> - - struct cpu dummy_cpu; - struct mips_coproc dummy_coproc; -@@ -55,9 +56,9 @@ static void bintrans_host_cacheinvalidat - } - - --#define ofs_i (((size_t)&dummy_cpu.cd.mips.bintrans_instructions_executed) - ((size_t)&dummy_cpu)) --#define ofs_pc (((size_t)&dummy_cpu.cd.mips.pc) - ((size_t)&dummy_cpu)) --#define ofs_pc_last (((size_t)&dummy_cpu.cd.mips.pc_last) - ((size_t)&dummy_cpu)) -+#define ofs_i (offsetof(struct cpu, cd.mips.bintrans_instructions_executed)) -+#define ofs_pc (offsetof(struct cpu, cd.mips.pc)) -+#define ofs_pc_last (offsetof(struct cpu, cd.mips.pc_last)) - - - unsigned char bintrans_i386_runchunk[41] = { -@@ -120,7 +121,7 @@ static unsigned char bintrans_i386_jump_ - * - * 8b 8e 34 12 00 00 mov 0x1234(%esi),%ecx - */ --#define ofs_tabl0 (((size_t)&dummy_cpu.cd.mips.vaddr_to_hostaddr_table0) - ((size_t)&dummy_cpu)) -+#define ofs_tabl0 (offsetof(struct cpu, cd.mips.vaddr_to_hostaddr_table0)) - 0x8b, 0x8e, - ofs_tabl0 & 255, (ofs_tabl0 >> 8) & 255, (ofs_tabl0 >> 16) & 255, (ofs_tabl0 >> 24) & 255, - -@@ -147,7 +148,7 @@ static unsigned char bintrans_i386_jump_ - * - * 8b 8c 19 56 34 12 00 mov 0x123456(%ecx,%ebx,1),%ecx - */ --#define ofs_chunks ((size_t)&dummy_vth32_table.bintrans_chunks[0] - (size_t)&dummy_vth32_table) -+#define ofs_chunks (offsetof(struct vth32_table, bintrans_chunks[0])) - 0x8b, 0x8c, 0x19, - ofs_chunks & 255, (ofs_chunks >> 8) & 255, (ofs_chunks >> 16) & 255, (ofs_chunks >> 24) & 255, - -@@ -182,7 +183,7 @@ static unsigned char bintrans_i386_jump_ - - /* 03 86 78 56 34 12 add 0x12345678(%esi),%eax */ - /* ff e0 jmp *%eax */ --#define ofs_chunkbase ((size_t)&dummy_cpu.cd.mips.chunk_base_address - (size_t)&dummy_cpu) -+#define ofs_chunkbase (offsetof(struct cpu, cd.mips.chunk_base_address)) - 0x03, 0x86, - ofs_chunkbase & 255, (ofs_chunkbase >> 8) & 255, (ofs_chunkbase >> 16) & 255, (ofs_chunkbase >> 24) & 255, - 0xff, 0xe0 |