Index: head/emulators/Makefile =================================================================== --- head/emulators/Makefile (revision 433559) +++ head/emulators/Makefile (revision 433560) @@ -1,190 +1,192 @@ # $FreeBSD$ # COMMENT = Emulators for other operating systems SUBDIR += adamem SUBDIR += advancemame SUBDIR += advancemenu SUBDIR += advancemess SUBDIR += aftp SUBDIR += aqemu SUBDIR += atari800 SUBDIR += bfe SUBDIR += bochs SUBDIR += bsvc SUBDIR += catapult SUBDIR += cinc SUBDIR += cingb SUBDIR += citra SUBDIR += citra-qt5 SUBDIR += cpmemu SUBDIR += cpmtools SUBDIR += cpmtools2 SUBDIR += darcnes SUBDIR += dboxfe SUBDIR += desmume SUBDIR += dgen-sdl SUBDIR += dolphin-emu SUBDIR += dosbox SUBDIR += dtcyber SUBDIR += dynagen SUBDIR += dynagui SUBDIR += dynamips-community SUBDIR += e-uae SUBDIR += fceux SUBDIR += fmsx SUBDIR += frodo SUBDIR += fs-uae SUBDIR += fs-uae-launcher SUBDIR += fuse SUBDIR += fuse-roms SUBDIR += fuse-utils SUBDIR += gbe SUBDIR += gem5 SUBDIR += generator SUBDIR += generator-cbiere SUBDIR += gens SUBDIR += gngb SUBDIR += gngeo SUBDIR += gns3 SUBDIR += gnuboy SUBDIR += gxemul SUBDIR += hatari SUBDIR += hercules SUBDIR += higan SUBDIR += hugo SUBDIR += hyperv-is SUBDIR += i386-wine SUBDIR += i386-wine-devel SUBDIR += i386-wine-staging SUBDIR += ia64sim SUBDIR += ines SUBDIR += javatari SUBDIR += joytran SUBDIR += jzintv SUBDIR += kcemu SUBDIR += klh10 SUBDIR += lib765 SUBDIR += libdsk SUBDIR += libspectrum SUBDIR += linux-c6 SUBDIR += linux-c7 SUBDIR += linux_base-c6 SUBDIR += linux_base-c7 SUBDIR += lisaem SUBDIR += loemu SUBDIR += m2000 SUBDIR += mame SUBDIR += mastergear SUBDIR += mednafen SUBDIR += mess SUBDIR += mtools SUBDIR += mupen64plus SUBDIR += mupen64plus-audio-sdl SUBDIR += mupen64plus-core SUBDIR += mupen64plus-input-sdl SUBDIR += mupen64plus-plugins SUBDIR += mupen64plus-rsp-cxd4 SUBDIR += mupen64plus-rsp-hle SUBDIR += mupen64plus-rsp-z64 SUBDIR += mupen64plus-ui-console SUBDIR += mupen64plus-video-arachnoid SUBDIR += mupen64plus-video-glide64 SUBDIR += mupen64plus-video-glide64mk2 SUBDIR += mupen64plus-video-rice SUBDIR += mupen64plus-video-z64 SUBDIR += nestopia SUBDIR += nonpareil SUBDIR += o2em SUBDIR += ods2reader SUBDIR += open-vm-tools SUBDIR += open-vm-tools-nox11 SUBDIR += openmsx SUBDIR += p5-Acme-6502 SUBDIR += parallels-tools SUBDIR += pcemu SUBDIR += pcsxr SUBDIR += pearpc SUBDIR += pipelight SUBDIR += playonbsd SUBDIR += ppsspp SUBDIR += ppsspp-qt4 SUBDIR += ppsspp-qt5 SUBDIR += py-gns3-converter SUBDIR += py-nova SUBDIR += py-unicorn SUBDIR += q4wine SUBDIR += qemu SUBDIR += qemu-cheri SUBDIR += qemu-cheri128 SUBDIR += qemu-cheri128m SUBDIR += qemu-devel SUBDIR += qemu-launcher SUBDIR += qemu-riscv SUBDIR += qemu-sbruno SUBDIR += qemu-user-static SUBDIR += qemu-utils SUBDIR += qmc2 SUBDIR += qtemu SUBDIR += quasi88 SUBDIR += raine + SUBDIR += riscv-fesvr + SUBDIR += riscv-isa-sim SUBDIR += rtc SUBDIR += rubygem-fission SUBDIR += simh SUBDIR += skyeye SUBDIR += snes9express SUBDIR += snes9x SUBDIR += snes9x-gtk SUBDIR += spim SUBDIR += stella SUBDIR += stonx SUBDIR += swine SUBDIR += tiemu3 SUBDIR += tilem SUBDIR += tme SUBDIR += tpm-emulator SUBDIR += tuxnes SUBDIR += uae SUBDIR += ucon64 SUBDIR += unicorn SUBDIR += vba SUBDIR += vboxtool SUBDIR += vgb-bin SUBDIR += vgba-bin SUBDIR += vice SUBDIR += virtio-kmod SUBDIR += virtualbox-ose SUBDIR += virtualbox-ose-additions SUBDIR += virtualbox-ose-additions-nox11 SUBDIR += virtualbox-ose-kmod SUBDIR += virtualbox-ose-nox11 SUBDIR += visualboyadvance-m SUBDIR += vmips SUBDIR += vmsbackup SUBDIR += vmw SUBDIR += vpcs SUBDIR += vxtools SUBDIR += wine SUBDIR += wine-devel SUBDIR += wine-gecko SUBDIR += wine-gecko-devel SUBDIR += wine-mono SUBDIR += wine-mono-devel SUBDIR += wine-staging SUBDIR += winetricks SUBDIR += wxmupen64plus SUBDIR += x48 SUBDIR += x49gp SUBDIR += xbraitenberg SUBDIR += xcpc SUBDIR += xen SUBDIR += xen-kernel SUBDIR += xhomer SUBDIR += xsystem35 SUBDIR += xzx SUBDIR += yabause SUBDIR += yape SUBDIR += zsnes .include Index: head/emulators/riscv-fesvr/Makefile =================================================================== --- head/emulators/riscv-fesvr/Makefile (nonexistent) +++ head/emulators/riscv-fesvr/Makefile (revision 433560) @@ -0,0 +1,35 @@ +# $FreeBSD$ + +PORTNAME= riscv-fesvr +DISTVERSION= git +PORTREVISION= 20170206 +CATEGORIES= emulators + +MAINTAINER= lwhsu@FreeBSD.org +COMMENT= RISC-V Frontend Server + +LICENSE= BSD3CLAUSE + +GH_ACCOUNT= freebsd-riscv +GH_TAGNAME= 10a0333 + +USES= gmake + +HAS_CONFIGURE= yes +USE_GITHUB= yes +USE_LDCONFIG= yes + +STRIP_FILES= bin/elf2hex \ + lib/libfesvr.so + +post-patch: + ${REINPLACE_CMD} -e \ + 's|[(]install_libs_dir[)]/pkgconfig|(INSTALLDIR)/libdata/pkgconfig|g' \ + ${WRKSRC}/Makefile.in + +post-install: +. for f in ${STRIP_FILES} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${f} +. endfor + +.include Property changes on: head/emulators/riscv-fesvr/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/riscv-fesvr/distinfo =================================================================== --- head/emulators/riscv-fesvr/distinfo (nonexistent) +++ head/emulators/riscv-fesvr/distinfo (revision 433560) @@ -0,0 +1,3 @@ +TIMESTAMP = 1486479769 +SHA256 (freebsd-riscv-riscv-fesvr-git-10a0333_GH0.tar.gz) = a1fc984b3ea49f77c11f876288853c2072ac449515e81e32983d179b9c79d52d +SIZE (freebsd-riscv-riscv-fesvr-git-10a0333_GH0.tar.gz) = 104214 Property changes on: head/emulators/riscv-fesvr/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/riscv-fesvr/pkg-descr =================================================================== --- head/emulators/riscv-fesvr/pkg-descr (nonexistent) +++ head/emulators/riscv-fesvr/pkg-descr (revision 433560) @@ -0,0 +1,7 @@ +RISC-V Frontend Server + +The RISC-V front-end server library, which facilitates communication between a +host machine and a RISC-V target machine. It is usually not meant to be used as +a standalone package. + +WWW: https://github.com/freebsd-riscv/riscv-fesvr Property changes on: head/emulators/riscv-fesvr/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/riscv-fesvr/pkg-plist =================================================================== --- head/emulators/riscv-fesvr/pkg-plist (nonexistent) +++ head/emulators/riscv-fesvr/pkg-plist (revision 433560) @@ -0,0 +1,18 @@ +bin/elf2hex +include/fesvr/configstring.h +include/fesvr/context.h +include/fesvr/device.h +include/fesvr/dtm.h +include/fesvr/elf.h +include/fesvr/elfloader.h +include/fesvr/htif_hexwriter.h +include/fesvr/htif_pthread.h +include/fesvr/htif.h +include/fesvr/memif.h +include/fesvr/option_parser.h +include/fesvr/rfb.h +include/fesvr/syscall.h +include/fesvr/term.h +include/fesvr/tsi.h +lib/libfesvr.so +libdata/pkgconfig/riscv-fesvr.pc Property changes on: head/emulators/riscv-fesvr/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/riscv-isa-sim/Makefile =================================================================== --- head/emulators/riscv-isa-sim/Makefile (nonexistent) +++ head/emulators/riscv-isa-sim/Makefile (revision 433560) @@ -0,0 +1,50 @@ +# $FreeBSD$ + +PORTNAME= riscv-isa-sim +DISTVERSION= git +PORTREVISION= 20170206 +CATEGORIES= emulators + +MAINTAINER= lwhsu@FreeBSD.org +COMMENT= Spike, a RISC-V ISA Simulator + +LICENSE= BSD3CLAUSE + +LIB_DEPENDS= libfesvr.so:emulators/riscv-fesvr + +GH_ACCOUNT= freebsd-riscv +GH_TAGNAME= 11ec3a3 + +USES= compiler:c++11-lang gmake shebangfix + +HAS_CONFIGURE= yes +SHEBANG_FILES= scripts/vcs-version.sh +USE_GITHUB= yes +USE_LDCONFIG= yes + +LDFLAGS+= -L${LOCALBASE}/lib +CFLAGS+= -I${LOCALBASE}/include + +STRIP_FILES= bin/spike \ + bin/spike-dasm \ + bin/termios-xspike \ + bin/xspike \ + lib/libdummy_rocc.so \ + lib/libriscv.so \ + lib/libsoftfloat.so \ + lib/libspike_main.so + +post-extract: + @${MV} ${WRKSRC}/riscv/insn_template.h ${WRKSRC}/riscv/insn_template.hpp + +post-patch: + ${REINPLACE_CMD} -e \ + 's|[(]install_libs_dir[)]/pkgconfig|(INSTALLDIR)/libdata/pkgconfig|g' \ + ${WRKSRC}/Makefile.in + +post-install: +. for f in ${STRIP_FILES} + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/${f} +. endfor + +.include Property changes on: head/emulators/riscv-isa-sim/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/riscv-isa-sim/distinfo =================================================================== --- head/emulators/riscv-isa-sim/distinfo (nonexistent) +++ head/emulators/riscv-isa-sim/distinfo (revision 433560) @@ -0,0 +1,3 @@ +TIMESTAMP = 1486479711 +SHA256 (freebsd-riscv-riscv-isa-sim-git-11ec3a3_GH0.tar.gz) = fc2e48c69477c8b25994cf540f508d0beaec578d972d83c1683ec32eb49d1d85 +SIZE (freebsd-riscv-riscv-isa-sim-git-11ec3a3_GH0.tar.gz) = 187995 Property changes on: head/emulators/riscv-isa-sim/distinfo ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/riscv-isa-sim/files/patch-Makefile.in =================================================================== --- head/emulators/riscv-isa-sim/files/patch-Makefile.in (nonexistent) +++ head/emulators/riscv-isa-sim/files/patch-Makefile.in (revision 433560) @@ -0,0 +1,19 @@ +--- Makefile.in.orig 2016-08-01 15:40:47 UTC ++++ Makefile.in +@@ -188,13 +188,13 @@ _$(1).cc : + + # Build the object files for this subproject + +-$(2)_pch := $$(patsubst %.h, %.h.gch, $$($(2)_precompiled_hdrs)) ++$(2)_pch := $$(patsubst %.hpp, %.h.gch, $$($(2)_precompiled_hdrs)) + $(2)_objs := $$(patsubst %.cc, %.o, $$($(2)_srcs)) + $(2)_c_objs := $$(patsubst %.c, %.o, $$($(2)_c_srcs)) + $(2)_deps := $$(patsubst %.o, %.d, $$($(2)_objs)) + $(2)_deps += $$(patsubst %.o, %.d, $$($(2)_c_objs)) +-$(2)_deps += $$(patsubst %.h, %.h.d, $$($(2)_precompiled_hdrs)) +-$$($(2)_pch) : %.h.gch : %.h ++$(2)_deps += $$(patsubst %.hpp, %.h.d, $$($(2)_precompiled_hdrs)) ++$$($(2)_pch) : %.h.gch : %.hpp + $(COMPILE) $$< -o $$@ + # If using clang, don't depend (and thus don't build) precompiled headers + $$($(2)_objs) : %.o : %.cc $$($(2)_gen_hdrs) $(if $(filter-out clang,$(CC)),$$($(2)_pch)) Property changes on: head/emulators/riscv-isa-sim/files/patch-Makefile.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/riscv-isa-sim/files/patch-riscv_insn__template.cc =================================================================== --- head/emulators/riscv-isa-sim/files/patch-riscv_insn__template.cc (nonexistent) +++ head/emulators/riscv-isa-sim/files/patch-riscv_insn__template.cc (revision 433560) @@ -0,0 +1,10 @@ +--- riscv/insn_template.cc.orig 2016-08-01 15:40:47 UTC ++++ riscv/insn_template.cc +@@ -1,6 +1,6 @@ + // See LICENSE for license details. + +-#include "insn_template.h" ++#include "insn_template.hpp" + + reg_t rv32_NAME(processor_t* p, insn_t insn, reg_t pc) + { Property changes on: head/emulators/riscv-isa-sim/files/patch-riscv_insn__template.cc ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/riscv-isa-sim/files/patch-riscv_riscv.mk.in =================================================================== --- head/emulators/riscv-isa-sim/files/patch-riscv_riscv.mk.in (nonexistent) +++ head/emulators/riscv-isa-sim/files/patch-riscv_riscv.mk.in (revision 433560) @@ -0,0 +1,18 @@ +--- riscv/riscv.mk.in.orig 2016-08-01 15:40:47 UTC ++++ riscv/riscv.mk.in +@@ -21,13 +21,13 @@ riscv_hdrs = \ + tracer.h \ + extension.h \ + rocc.h \ +- insn_template.h \ ++ insn_template.hpp \ + mulhi.h \ + gdbserver.h \ + debug_module.h \ + + riscv_precompiled_hdrs = \ +- insn_template.h \ ++ insn_template.hpp \ + + riscv_srcs = \ + processor.cc \ Property changes on: head/emulators/riscv-isa-sim/files/patch-riscv_riscv.mk.in ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/riscv-isa-sim/pkg-descr =================================================================== --- head/emulators/riscv-isa-sim/pkg-descr (nonexistent) +++ head/emulators/riscv-isa-sim/pkg-descr (revision 433560) @@ -0,0 +1,6 @@ +Spike, a RISC-V ISA Simulator + +The RISC-V ISA Simulator implements a functional model of one or more RISC-V +processors. + +WWW: https://github.com/freebsd-riscv/riscv-isa-sim Property changes on: head/emulators/riscv-isa-sim/pkg-descr ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/emulators/riscv-isa-sim/pkg-plist =================================================================== --- head/emulators/riscv-isa-sim/pkg-plist (nonexistent) +++ head/emulators/riscv-isa-sim/pkg-plist (revision 433560) @@ -0,0 +1,39 @@ +bin/spike +bin/spike-dasm +bin/termios-xspike +bin/xspike +include/spike/cachesim.h +include/spike/common.h +include/spike/config.h +include/spike/debug_module.h +include/spike/decode.h +include/spike/devices.h +include/spike/disasm.h +include/spike/encoding.h +include/spike/extension.h +include/spike/gdbserver.h +include/spike/icache.h +include/spike/insn_list.h +include/spike/insn_template.hpp +include/spike/internals.h +include/spike/memtracer.h +include/spike/mmu.h +include/spike/mulhi.h +include/spike/primitives.h +include/spike/primitiveTypes.h +include/spike/processor.h +include/spike/rocc.h +include/spike/sim.h +include/spike/softfloat_types.h +include/spike/softfloat.h +include/spike/specialize.h +include/spike/tracer.h +include/spike/trap.h +lib/libdummy_rocc.so +lib/libriscv.so +lib/libsoftfloat.so +lib/libspike_main.so +libdata/pkgconfig/riscv-dummy_rocc.pc +libdata/pkgconfig/riscv-riscv.pc +libdata/pkgconfig/riscv-softfloat.pc +libdata/pkgconfig/riscv-spike_main.pc Property changes on: head/emulators/riscv-isa-sim/pkg-plist ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property