HP's Ski IA-64 simulator
This commit is contained in:
parent
2c7268a8e4
commit
764e9cf129
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=48828
@ -42,6 +42,7 @@
|
||||
SUBDIR += rtc
|
||||
SUBDIR += sim
|
||||
SUBDIR += sim6811
|
||||
SUBDIR += ski
|
||||
SUBDIR += snes9x
|
||||
SUBDIR += spim
|
||||
SUBDIR += stella
|
||||
|
52
emulators/ski/Makefile
Normal file
52
emulators/ski/Makefile
Normal file
@ -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>
|
1
emulators/ski/distinfo
Normal file
1
emulators/ski/distinfo
Normal file
@ -0,0 +1 @@
|
||||
MD5 (ski-0.943l-2.i386.rpm) = 9040237f3d3b2f2445ba232d9955e9eb
|
11
emulators/ski/files/ia64.cmd
Normal file
11
emulators/ski/files/ia64.cmd
Normal file
@ -0,0 +1,11 @@
|
||||
iar
|
||||
fr
|
||||
pa
|
||||
b enter_virtual_mode
|
||||
c
|
||||
b ssc
|
||||
c
|
||||
s 8
|
||||
bD
|
||||
b ia64_init
|
||||
c
|
1
emulators/ski/pkg-comment
Normal file
1
emulators/ski/pkg-comment
Normal file
@ -0,0 +1 @@
|
||||
HP's Ski IA-64 simulator
|
27
emulators/ski/pkg-descr
Normal file
27
emulators/ski/pkg-descr
Normal file
@ -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).
|
13
emulators/ski/pkg-plist
Normal file
13
emulators/ski/pkg-plist
Normal file
@ -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
|
Loading…
Reference in New Issue
Block a user