summaryrefslogtreecommitdiff
path: root/emulators/ia64sim
diff options
context:
space:
mode:
authoragc <agc@pkgsrc.org>1999-12-10 12:59:02 +0000
committeragc <agc@pkgsrc.org>1999-12-10 12:59:02 +0000
commit74f5fe8ff0bda5d662c12a31a3802efb5c5265e1 (patch)
tree74530de3fe6cd48d40037899cdd3fb3e96527171 /emulators/ia64sim
parentfc61c3c1310fccede1e51be6e61977b4ccc3aa55 (diff)
downloadpkgsrc-74f5fe8ff0bda5d662c12a31a3802efb5c5265e1.tar.gz
Import an IA64 simulator into the NetBSD packages collection.
Diffstat (limited to 'emulators/ia64sim')
-rw-r--r--emulators/ia64sim/Makefile24
-rw-r--r--emulators/ia64sim/files/md53
-rw-r--r--emulators/ia64sim/files/patch-sum4
-rw-r--r--emulators/ia64sim/patches/patch-aa13
-rw-r--r--emulators/ia64sim/patches/patch-ab13
-rw-r--r--emulators/ia64sim/pkg/COMMENT1
-rw-r--r--emulators/ia64sim/pkg/DESCR16
-rw-r--r--emulators/ia64sim/pkg/PLIST2
8 files changed, 76 insertions, 0 deletions
diff --git a/emulators/ia64sim/Makefile b/emulators/ia64sim/Makefile
new file mode 100644
index 00000000000..be1027f0b20
--- /dev/null
+++ b/emulators/ia64sim/Makefile
@@ -0,0 +1,24 @@
+# $NetBSD: Makefile,v 1.1.1.1 1999/12/10 12:59:02 agc Exp $
+
+DISTNAME= ia64sim
+PKGNAME= ia64sim-0.1
+CATEGORIES= emulators
+MASTER_SITES= http://www.glue.umd.edu/~jasonp/
+EXTRACT_SUFX= .zip
+
+MAINTAINER= packages@netbsd.org
+HOMEPAGE= http://www.glue.umd.edu/~jasonp
+
+BUILD_DEPENDS+= unzip:../../archivers/unzip
+
+USE_GMAKE= yes
+
+MAKEFILE= makefile.unx
+
+do-extract:
+ ${MKDIR} ${WRKDIR}; cd ${WRKDIR} && unzip -uLa ${_DISTDIR}/${_DISTFILES}
+
+do-install:
+ ${INSTALL_PROGRAM} ${WRKSRC}/ia64sim ${LOCALBASE}/bin/ia64sim
+
+.include "../../mk/bsd.pkg.mk"
diff --git a/emulators/ia64sim/files/md5 b/emulators/ia64sim/files/md5
new file mode 100644
index 00000000000..a5fea598ed1
--- /dev/null
+++ b/emulators/ia64sim/files/md5
@@ -0,0 +1,3 @@
+$NetBSD: md5,v 1.1.1.1 1999/12/10 12:59:02 agc Exp $
+
+MD5 (ia64sim.zip) = 3a39347f9d02ff65807364b1ba1174f2
diff --git a/emulators/ia64sim/files/patch-sum b/emulators/ia64sim/files/patch-sum
new file mode 100644
index 00000000000..c6dde0b0093
--- /dev/null
+++ b/emulators/ia64sim/files/patch-sum
@@ -0,0 +1,4 @@
+$NetBSD: patch-sum,v 1.1.1.1 1999/12/10 12:59:02 agc Exp $
+
+MD5 (patch-aa) = 19768923e5dacd1fa157716a534331a2
+MD5 (patch-ab) = d567b501ba88098b76fcc1b45ca337f9
diff --git a/emulators/ia64sim/patches/patch-aa b/emulators/ia64sim/patches/patch-aa
new file mode 100644
index 00000000000..08c1f2bb5fd
--- /dev/null
+++ b/emulators/ia64sim/patches/patch-aa
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.1.1.1 1999/12/10 12:59:03 agc Exp $
+
+--- makefile.unx 1999/12/10 12:46:49 1.1
++++ makefile.unx 1999/12/10 12:47:03
+@@ -18,7 +18,7 @@
+ OBJDIR = obj
+ INCDIR = include
+ CC = gcc
+-CFLAGS = -O3 -m486 -fomit-frame-pointer -s -I$(INCDIR)
++CFLAGS = -O3 -fomit-frame-pointer -s -I$(INCDIR)
+
+ ASMSRCS= assemble.c bundle.c asmfunc.c jumptbl.c decode.c
+
diff --git a/emulators/ia64sim/patches/patch-ab b/emulators/ia64sim/patches/patch-ab
new file mode 100644
index 00000000000..bffacffa8ca
--- /dev/null
+++ b/emulators/ia64sim/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 1999/12/10 12:59:03 agc Exp $
+
+--- execute/b_unit.c 1999/12/10 12:50:27 1.1
++++ execute/b_unit.c 1999/12/10 12:51:23
+@@ -89,7 +89,7 @@
+ ip.q = b[b1].q;
+ add_hazard(PC_REG);
+ cfm.q = ar[AR_PFS].q & (((uint64)(1) << 37) - 1);
+- ar[AR_EC] = (uint64)BITS(ar[AR_PFS],52,57);
++ ar[AR_EC].q = (uint64)BITS(ar[AR_PFS],52,57);
+ pop_stack_frame();
+ }
+ return IA_OK;
diff --git a/emulators/ia64sim/pkg/COMMENT b/emulators/ia64sim/pkg/COMMENT
new file mode 100644
index 00000000000..6a375d85cc5
--- /dev/null
+++ b/emulators/ia64sim/pkg/COMMENT
@@ -0,0 +1 @@
+an IA64 simulator (Intel(R) Architecture 64)
diff --git a/emulators/ia64sim/pkg/DESCR b/emulators/ia64sim/pkg/DESCR
new file mode 100644
index 00000000000..8e2c8bf52ce
--- /dev/null
+++ b/emulators/ia64sim/pkg/DESCR
@@ -0,0 +1,16 @@
+IA64 ISA simulator, Alpha release, version 0.1
+----------------------------------------------
+
+This source distribution is placed in the public domain by its author,
+Jason Papadopoulos. You may use it for any purpose, free of charge,
+without having to notify anyone. I disclaim any responsibility for any
+errors, inconsistencies, and inaccuracies with real-world hardware
+implementations of the IA64 instruction set. If you build a mission-
+critical system based only on this simulator and something goes wrong,
+it's your own damned fault.
+
+Optionally, please be nice and tell me if you find this source to be
+useful. Again optionally, if you add to the functionality present here
+please consider making those additions public too, so that others may
+benefit from your work.
+
diff --git a/emulators/ia64sim/pkg/PLIST b/emulators/ia64sim/pkg/PLIST
new file mode 100644
index 00000000000..c3edca6536f
--- /dev/null
+++ b/emulators/ia64sim/pkg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 1999/12/10 12:59:02 agc Exp $
+bin/ia64sim