aboutsummaryrefslogtreecommitdiffstats
path: root/emulators/ski
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-10-16 09:06:04 +0800
committerobrien <obrien@FreeBSD.org>2001-10-16 09:06:04 +0800
commit21218b743a0c659b7e31f2750821bc33ec8b703e (patch)
tree95c450ffceea73f1c326f8f8f71ed0db4331f98a /emulators/ski
parentf71048bd1d2186933cbe1609b5e3453e74f35fa1 (diff)
downloadfreebsd-ports-gnome-21218b743a0c659b7e31f2750821bc33ec8b703e.tar.gz
freebsd-ports-gnome-21218b743a0c659b7e31f2750821bc33ec8b703e.tar.zst
freebsd-ports-gnome-21218b743a0c659b7e31f2750821bc33ec8b703e.zip
HP's Ski IA-64 simulator
Diffstat (limited to 'emulators/ski')
-rw-r--r--emulators/ski/Makefile52
-rw-r--r--emulators/ski/distinfo1
-rw-r--r--emulators/ski/files/ia64.cmd11
-rw-r--r--emulators/ski/pkg-comment1
-rw-r--r--emulators/ski/pkg-descr27
-rw-r--r--emulators/ski/pkg-plist13
6 files changed, 105 insertions, 0 deletions
diff --git a/emulators/ski/Makefile b/emulators/ski/Makefile
new file mode 100644
index 000000000000..4922aa231eb0
--- /dev/null
+++ b/emulators/ski/Makefile
@@ -0,0 +1,52 @@
+# ex:ts=8
+# Ports collection makefile for: foo
+# Date created: Mon Feb 03, 2000
+# Whom: David O'Brien (obrien@NUXI.com)
+#
+# $FreeBSD$
+#
+
+PORTNAME= ski
+PORTVERSION= 0.943l.2
+CATEGORIES= emulators
+MASTER_SITES= ftp://www.software.hp.com/dist/swdepot/
+DISTNAME= ski-0.943l-2.i386
+EXTRACT_SUFX= .rpm
+
+MAINTAINER= freebsd-ia64@FreeBSD.org
+
+BUILD_DEPENDS= rpm2cpio:${PORTSDIR}/archivers/rpm2cpio
+
+ONLY_FOR_ARCHS= i386
+NO_PACKAGE= 'Must be downloaded direct from HP via web interface'
+NO_CDROM= 'Must be downloaded direct from HP via web interface'
+
+EXTRACT_CMD= rpm2cpio
+EXTRACT_BEFORE_ARGS=
+EXTRACT_AFTER_ARGS= |cpio -idum
+NO_WRKSUBDIR= yes
+NO_BUILD= yes
+NO_FILTER_SHLIBS= yes
+NO_MTREE= yes
+MAN1= ski.1
+MLINKS= ski.1 bski.1 ski.1 xski.1
+
+do-install:
+ ${INSTALL_SCRIPT} ${WRKSRC}/nue/usr/bin/ski ${PREFIX}/bin
+ brandelf -t Linux ${PREFIX}/bin/ski
+.for SL in bski bskinc xski
+ cd ${PREFIX}/bin ; ${LN} -sf ski ${SL}
+.endfor
+ ${INSTALL_DATA} ${WRKSRC}/nue/usr/X11R6/lib/X11/app-defaults/XSki \
+ ${X11BASE}/lib/X11/app-defaults
+ ${INSTALL_MAN} ${WRKSRC}/usr/man/man1/ski.1 ${PREFIX}/man/man1
+ @${MKDIR} ${PREFIX}/examples/ski
+ ${INSTALL_DATA} ${FILESDIR}/ia64.cmd ${PREFIX}/examples/ski
+ ${INSTALL_DATA} ${WRKSRC}/nue/usr/X11R6/lib/X11/app-defaults/XSki \
+ ${X11BASE}/lib/X11/app-defaults
+.if !defined(NOPORTDOCS)
+ @${MKDIR} ${DOCSDIR}
+ ${INSTALL_MAN} ${WRKSRC}/usr/doc/ski-0.943l/* ${DOCSDIR}
+.endif
+
+.include <bsd.port.mk>
diff --git a/emulators/ski/distinfo b/emulators/ski/distinfo
new file mode 100644
index 000000000000..afe55e3e927d
--- /dev/null
+++ b/emulators/ski/distinfo
@@ -0,0 +1 @@
+MD5 (ski-0.943l-2.i386.rpm) = 9040237f3d3b2f2445ba232d9955e9eb
diff --git a/emulators/ski/files/ia64.cmd b/emulators/ski/files/ia64.cmd
new file mode 100644
index 000000000000..6559a17b1aaa
--- /dev/null
+++ b/emulators/ski/files/ia64.cmd
@@ -0,0 +1,11 @@
+iar
+fr
+pa
+b enter_virtual_mode
+c
+b ssc
+c
+s 8
+bD
+b ia64_init
+c
diff --git a/emulators/ski/pkg-comment b/emulators/ski/pkg-comment
new file mode 100644
index 000000000000..2428c4cdf1ac
--- /dev/null
+++ b/emulators/ski/pkg-comment
@@ -0,0 +1 @@
+HP's Ski IA-64 simulator
diff --git a/emulators/ski/pkg-descr b/emulators/ski/pkg-descr
new file mode 100644
index 000000000000..43abdf845f48
--- /dev/null
+++ b/emulators/ski/pkg-descr
@@ -0,0 +1,27 @@
+Ski provides a functional IA-64 simulator, meaning that it simulates the
+IA-64 architecture, as opposed to a particular implementation (such as
+Itanium). The advantage of a functional simulator is that it executes
+quickly---Ski simulatues in excess of 2 million IA-64 instructions per
+second on a fast Pentium-III. On the other hand, since it doesn't
+simulate the micro-architecture, it cannot be used for performance
+tuning as the results would be completely meaningless. For example,
+Ski simulates instructions one at a time, whereas all IA-64 chips
+allow simultaneous execution of multiple instructions.
+
+Ski simulates the complete architecture, as defined by the IA-64
+architecture manuals that can be found at the following URLs:
+
+ http://developer.intel.com/design/ia-64/manuals/
+ http://devresource.hp.com/devresource/Docs/Refs/IA64ISA/
+
+Ski can execute in one of two modes: system-mode or user-mode. In
+system-mode, both application and system-mode execution is simulated.
+In user-mode, only application-level instructions are simulated. All
+system calls are intercepted and translated into corresponding calls
+on the host OS (i.e., Linux/x86). Since user-mode involves less
+simulation, it executes faster. On the other hand, certain things
+(such as multi-threading) are not supported in user-mode execution.
+Thus, for perfect simulation accuracy, it's best to use system-mode.
+For more details on the internal works of the user-mode environment,
+please refer to HP Labs technical report HPL-2000-85
+(http://www.hpl.hp.com/techreports/2000/HPL-2000-85.html).
diff --git a/emulators/ski/pkg-plist b/emulators/ski/pkg-plist
new file mode 100644
index 000000000000..e9dc7218f55e
--- /dev/null
+++ b/emulators/ski/pkg-plist
@@ -0,0 +1,13 @@
+@comment $FreeBSD$
+bin/ski
+bin/bski
+bin/bskinc
+bin/xski
+examples/ski/ia64.cmd
+../X11R6/lib/X11/app-defaults/XSki
+share/doc/ski/HOWTO-ski-networking
+share/doc/ski/README
+share/doc/ski/Makefile
+share/doc/ski/hello
+share/doc/ski/hello.c
+share/doc/ski/ski-manual.pdf