diff options
author | agc <agc> | 2007-02-23 21:38:59 +0000 |
---|---|---|
committer | agc <agc> | 2007-02-23 21:38:59 +0000 |
commit | 196624f9795c9e70c0beef712200abf84c7bc9b2 (patch) | |
tree | 28b5079b694be3ece9428aaf5a0578de249f6be8 /emulators/or1ksim | |
parent | 31368359596dbe43b232ab075836259e11b1c4dd (diff) | |
download | pkgsrc-196624f9795c9e70c0beef712200abf84c7bc9b2.tar.gz |
Initial import of or1ksim-0.2.0rc2 into the Packages Collection.
Or1ksim is a generic OpenRISC 1000 architecture simulator capable of
emulating OpenRISC based computer systems. Or1ksim provides several
unique features:
* Free, open source code
* High level, fast, architecture simulation that allows early code
analysis and system performance evaluation
* All major models of OpenCores peripheral and system controller
cores supported
* Easy addition of new peripheral models
* Remote debugging through a network socket with the GNU Debugger (GDB)
* Support for different environments (memory configurations and
sizes, OR1K processor model, configuration of peripheral
devices)
Diffstat (limited to 'emulators/or1ksim')
-rw-r--r-- | emulators/or1ksim/DESCR | 14 | ||||
-rw-r--r-- | emulators/or1ksim/Makefile | 15 | ||||
-rw-r--r-- | emulators/or1ksim/PLIST | 2 | ||||
-rw-r--r-- | emulators/or1ksim/distinfo | 6 | ||||
-rw-r--r-- | emulators/or1ksim/patches/patch-aa | 18 |
5 files changed, 55 insertions, 0 deletions
diff --git a/emulators/or1ksim/DESCR b/emulators/or1ksim/DESCR new file mode 100644 index 00000000000..49fe2748a53 --- /dev/null +++ b/emulators/or1ksim/DESCR @@ -0,0 +1,14 @@ +Or1ksim is a generic OpenRISC 1000 architecture simulator capable of +emulating OpenRISC based computer systems. Or1ksim provides several +unique features: + + * Free, open source code + * High level, fast, architecture simulation that allows early code + analysis and system performance evaluation + * All major models of OpenCores peripheral and system controller + cores supported + * Easy addition of new peripheral models + * Remote debugging through a network socket with the GNU Debugger (GDB) + * Support for different environments (memory configurations and + sizes, OR1K processor model, configuration of peripheral + devices) diff --git a/emulators/or1ksim/Makefile b/emulators/or1ksim/Makefile new file mode 100644 index 00000000000..1392ff2a5bb --- /dev/null +++ b/emulators/or1ksim/Makefile @@ -0,0 +1,15 @@ +# $NetBSD: Makefile,v 1.1.1.1 2007/02/23 21:38:59 agc Exp $ +# + +DISTNAME= or1ksim-0.2.0rc2 +CATEGORIES= emulators +MASTER_SITES= http://www.opencores.org/projects.cgi/web/or1k/ + +MAINTAINER= pkgsrc-users@NetBSD.org +HOMEPAGE= http://www.opencores.org/projects.cgi/web/or1k/architectural_simulator +COMMENT= OpenRISC emulator + +GNU_CONFIGURE= yes +CONFIGURE_ARGS+= --target=or32 + +.include "../../mk/bsd.pkg.mk" diff --git a/emulators/or1ksim/PLIST b/emulators/or1ksim/PLIST new file mode 100644 index 00000000000..b95b36bb27c --- /dev/null +++ b/emulators/or1ksim/PLIST @@ -0,0 +1,2 @@ +@comment $NetBSD: PLIST,v 1.1.1.1 2007/02/23 21:38:59 agc Exp $ +bin/or32-sim diff --git a/emulators/or1ksim/distinfo b/emulators/or1ksim/distinfo new file mode 100644 index 00000000000..e79ec918481 --- /dev/null +++ b/emulators/or1ksim/distinfo @@ -0,0 +1,6 @@ +$NetBSD: distinfo,v 1.1.1.1 2007/02/23 21:38:59 agc Exp $ + +SHA1 (or1ksim-0.2.0rc2.tar.gz) = 7db0dfcf60c072b4143f45a4214f5eb65f2fd5ff +RMD160 (or1ksim-0.2.0rc2.tar.gz) = 4111113389484969827e20f8c61caf33176b5407 +Size (or1ksim-0.2.0rc2.tar.gz) = 624729 bytes +SHA1 (patch-aa) = 5e348fc6e687bab8edb0e5abe545d829cb781792 diff --git a/emulators/or1ksim/patches/patch-aa b/emulators/or1ksim/patches/patch-aa new file mode 100644 index 00000000000..78304f44bbd --- /dev/null +++ b/emulators/or1ksim/patches/patch-aa @@ -0,0 +1,18 @@ +$NetBSD: patch-aa,v 1.1.1.1 2007/02/23 21:38:59 agc Exp $ + +--- peripheral/ethernet_i.h 2007/02/23 13:37:52 1.1 ++++ peripheral/ethernet_i.h 2007/02/23 13:38:10 +@@ -55,9 +55,12 @@ + * so defining MSG_DONTWAIT is just (temporary) workaround !!! + */ + #define MSG_DONTWAIT 0x40 +-#define ETH_HLEN 14 + #endif /* __CYGWIN__ */ + ++#ifndef ETH_HLEN ++#define ETH_HLEN 14 ++#endif ++ + #define ETH_ALEN 6 + + struct ether_addr |