summaryrefslogtreecommitdiff
path: root/emulators
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2001-10-16 01:06:04 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2001-10-16 01:06:04 +0000
commit764e9cf12961f7bb6ea1272649202d45fc1c083a (patch)
tree9e88d6d2013a8434ff5213cdab1b3f15edc03dc7 /emulators
parentNew port ticker.app version 0.1.0: Ticker dockapp for Window Maker (diff)
HP's Ski IA-64 simulator
Notes
Notes: svn path=/head/; revision=48828
Diffstat (limited to 'emulators')
-rw-r--r--emulators/Makefile1
-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
7 files changed, 106 insertions, 0 deletions
diff --git a/emulators/Makefile b/emulators/Makefile
index b3372851f376..70512948c452 100644
--- a/emulators/Makefile
+++ b/emulators/Makefile
@@ -42,6 +42,7 @@
SUBDIR += rtc
SUBDIR += sim
SUBDIR += sim6811
+ SUBDIR += ski
SUBDIR += snes9x
SUBDIR += spim
SUBDIR += stella
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