pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/emulators/gxemul Update to 0.6.1



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a6b22fc731ae
branches:  trunk
changeset: 389593:a6b22fc731ae
user:      ryoon <ryoon%pkgsrc.org@localhost>
date:      Fri Jan 04 13:35:16 2019 +0000

description:
Update to 0.6.1

* Update MASTER_SITES and HOMEPAGE

Changelog:
* Support OpenBSD/sgi 6.4
* Add luna-88k and luna-88k2 emulations
* Add i960 emulation stub

diffstat:

 emulators/gxemul/Makefile                                                    |    9 +-
 emulators/gxemul/PLIST                                                       |   14 +-
 emulators/gxemul/distinfo                                                    |   81 +-
 emulators/gxemul/patches/patch-aa                                            |   13 -
 emulators/gxemul/patches/patch-ad                                            |   52 +-
 emulators/gxemul/patches/patch-ae                                            |   32 -
 emulators/gxemul/patches/patch-ag                                            |   49 -
 emulators/gxemul/patches/patch-src_components_cpu_CPUDyntransComponent.cc    |    4 +-
 emulators/gxemul/patches/patch-src_components_cpu_M88K__CPUComponent.cc      |   10 +-
 emulators/gxemul/patches/patch-src_components_cpu_MIPS__CPUComponent.cc      |   10 +-
 emulators/gxemul/patches/patch-src_console_x11.cc                            |   15 -
 emulators/gxemul/patches/patch-src_cpus_cpu.cc                               |   60 -
 emulators/gxemul/patches/patch-src_cpus_cpu__alpha.cc                        |   64 -
 emulators/gxemul/patches/patch-src_cpus_cpu__alpha__palcode.cc               |   38 -
 emulators/gxemul/patches/patch-src_cpus_cpu__dyntrans.cc                     |  166 -----
 emulators/gxemul/patches/patch-src_cpus_cpu__m88k.cc                         |  191 -----
 emulators/gxemul/patches/patch-src_cpus_cpu__m88k__instr.cc                  |   46 -
 emulators/gxemul/patches/patch-src_cpus_cpu__m88k__instr__loadstore.cc       |   20 -
 emulators/gxemul/patches/patch-src_cpus_cpu__ppc.cc                          |  296 ---------
 emulators/gxemul/patches/patch-src_cpus_cpu__ppc__instr.cc                   |   20 -
 emulators/gxemul/patches/patch-src_cpus_cpu__sh.cc                           |  189 -----
 emulators/gxemul/patches/patch-src_cpus_cpu_mips.cc                          |  325 +---------
 emulators/gxemul/patches/patch-src_cpus_cpu_mips_instr.cc                    |  185 -----
 emulators/gxemul/patches/patch-src_cpus_memory__alpha.cc                     |   53 -
 emulators/gxemul/patches/patch-src_cpus_memory__mips__v2p.cc                 |   53 -
 emulators/gxemul/patches/patch-src_cpus_memory__ppc.cc                       |   20 -
 emulators/gxemul/patches/patch-src_cpus_memory__sh.cc                        |   27 -
 emulators/gxemul/patches/patch-src_debugger_debugger.cc                      |   23 -
 emulators/gxemul/patches/patch-src_debugger_debugger__cmds.cc                |  141 ----
 emulators/gxemul/patches/patch-src_devices_bus__pci.cc                       |   20 -
 emulators/gxemul/patches/patch-src_devices_dev__algor.cc                     |   32 -
 emulators/gxemul/patches/patch-src_devices_dev__dreamcast__gdrom.cc          |   20 -
 emulators/gxemul/patches/patch-src_devices_dev__dreamcast__maple.cc          |   46 -
 emulators/gxemul/patches/patch-src_devices_dev__lca.cc                       |   56 -
 emulators/gxemul/patches/patch-src_devices_dev__pvr.cc                       |  199 ------
 emulators/gxemul/patches/patch-src_devices_dev__sgi__mardigras.cc            |   29 -
 emulators/gxemul/patches/patch-src_devices_dev__sh4.cc                       |  115 +---
 emulators/gxemul/patches/patch-src_devices_dev__vga.cc                       |   22 -
 emulators/gxemul/patches/patch-src_devices_dev__vr41xx.cc                    |   43 -
 emulators/gxemul/patches/patch-src_devices_dev__wdc.cc                       |   47 -
 emulators/gxemul/patches/patch-src_disk_bootblock.cc                         |   30 -
 emulators/gxemul/patches/patch-src_disk_diskimage.cc                         |   20 -
 emulators/gxemul/patches/patch-src_file_file__elf.cc                         |  117 ---
 emulators/gxemul/patches/patch-src_file_file__raw.cc                         |   25 -
 emulators/gxemul/patches/patch-src_include_components_CPUDyntransComponent.h |   10 +-
 emulators/gxemul/patches/patch-src_include_components_M88K__CPUComponent.h   |   10 +-
 emulators/gxemul/patches/patch-src_include_components_MIPS__CPUComponent.h   |   10 +-
 emulators/gxemul/patches/patch-src_include_mips_cpu_types.h                  |    8 +-
 emulators/gxemul/patches/patch-src_include_refcount__ptr.h                   |    4 +-
 emulators/gxemul/patches/patch-src_machines_machine__landisk.cc              |   20 -
 emulators/gxemul/patches/patch-src_machines_machine__pmax.cc                 |   48 +-
 emulators/gxemul/patches/patch-src_machines_machine__test.cc                 |   94 --
 emulators/gxemul/patches/patch-src_main_GXemul.cc                            |   20 -
 emulators/gxemul/patches/patch-src_old__main_emul.cc                         |   53 -
 emulators/gxemul/patches/patch-src_old__main_main.cc                         |   29 -
 emulators/gxemul/patches/patch-src_old__main_memory.cc                       |   42 -
 emulators/gxemul/patches/patch-src_old__main_settings.cc                     |   36 -
 emulators/gxemul/patches/patch-src_promemul_arcbios.cc                       |  209 ------
 emulators/gxemul/patches/patch-src_promemul_dec__prom.cc                     |   20 -
 emulators/gxemul/patches/patch-src_promemul_dreamcast.cc                     |   26 -
 emulators/gxemul/patches/patch-src_promemul_ps2__bios.cc                     |   46 -
 emulators/gxemul/patches/patch-src_symbol_symbol.cc                          |   38 -
 62 files changed, 83 insertions(+), 3667 deletions(-)

diffs (truncated from 4156 to 300 lines):

diff -r 90e8413e2fbb -r a6b22fc731ae emulators/gxemul/Makefile
--- a/emulators/gxemul/Makefile Fri Jan 04 13:25:07 2019 +0000
+++ b/emulators/gxemul/Makefile Fri Jan 04 13:35:16 2019 +0000
@@ -1,12 +1,11 @@
-# $NetBSD: Makefile,v 1.61 2018/08/08 13:53:48 gson Exp $
+# $NetBSD: Makefile,v 1.62 2019/01/04 13:35:16 ryoon Exp $
 
-DISTNAME=      gxemul-0.6.0.1
-PKGREVISION=   7
+DISTNAME=      gxemul-0.6.1
 CATEGORIES=    emulators
-MASTER_SITES=  http://gxemul.sourceforge.net/src/
+MASTER_SITES=  ${MASTER_SITE_SOURCEFORGE:=gxemul/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
-HOMEPAGE=      http://gxemul.sourceforge.net/
+HOMEPAGE=      http://gavare.se/gxemul/
 COMMENT=       Framework for full-system computer architecture emulation
 LICENSE=       modified-bsd
 
diff -r 90e8413e2fbb -r a6b22fc731ae emulators/gxemul/PLIST
--- a/emulators/gxemul/PLIST    Fri Jan 04 13:25:07 2019 +0000
+++ b/emulators/gxemul/PLIST    Fri Jan 04 13:35:16 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.26 2014/12/08 20:55:19 ryoon Exp $
+@comment $NetBSD: PLIST,v 1.27 2019/01/04 13:35:16 ryoon Exp $
 bin/gxemul
 man/man1/gxemul.1
 share/doc/gxemul/20040504-ultrix45-boot1.png
@@ -33,10 +33,6 @@
 share/doc/gxemul/20050427-netbsd-hpcmips-2_small.png
 share/doc/gxemul/20050617-openbsd-sgi.png
 share/doc/gxemul/20050617-openbsd-sgi_small.png
-share/doc/gxemul/20050817-sgi-o2-success-7.png
-share/doc/gxemul/20050817-sgi-o2-success-7_small.png
-share/doc/gxemul/20050817-sgi-o2-success-8.png
-share/doc/gxemul/20050817-sgi-o2-success-8_small.png
 share/doc/gxemul/20051007-netbsd-cats-installed.png
 share/doc/gxemul/20051007-netbsd-cats-installed_small.png
 share/doc/gxemul/20051007-openbsd-cats-installed.png
@@ -101,6 +97,11 @@
 share/doc/gxemul/20140803-dreamcast-gltest.png
 share/doc/gxemul/20140803-serial-upload-slave-small.png
 share/doc/gxemul/20140803-serial-upload-slave.png
+share/doc/gxemul/20180220-openbsd-luna88k-5.4-small.png
+share/doc/gxemul/20180220-openbsd-luna88k-5.4.png
+share/doc/gxemul/20180910-sgiip32prom-4.13.png
+share/doc/gxemul/20181018-openbsd-sgi-o2-small.png
+share/doc/gxemul/20181018-openbsd-sgi-o2.png
 share/doc/gxemul/Doxyfile
 share/doc/gxemul/HISTORY
 share/doc/gxemul/LICENSE
@@ -110,6 +111,7 @@
 share/doc/gxemul/components/component_cache.html
 share/doc/gxemul/components/component_cpu.html
 share/doc/gxemul/components/component_dummy.html
+share/doc/gxemul/components/component_i960_cpu.html
 share/doc/gxemul/components/component_m88k_cpu.html
 share/doc/gxemul/components/component_mainbus.html
 share/doc/gxemul/components/component_mips_cpu.html
@@ -157,6 +159,8 @@
 share/doc/gxemul/index.html
 share/doc/gxemul/intro.html
 share/doc/gxemul/machine_template.html
+share/doc/gxemul/machines/machine_cyclonevh.html.SKEL
+share/doc/gxemul/machines/machine_hp700rx.html.SKEL
 share/doc/gxemul/machines/machine_mvme187.html.SKEL
 share/doc/gxemul/machines/machine_sgi_ip32.html.SKEL
 share/doc/gxemul/machines/machine_testm88k-thumb.png
diff -r 90e8413e2fbb -r a6b22fc731ae emulators/gxemul/distinfo
--- a/emulators/gxemul/distinfo Fri Jan 04 13:25:07 2019 +0000
+++ b/emulators/gxemul/distinfo Fri Jan 04 13:35:16 2019 +0000
@@ -1,67 +1,20 @@
-$NetBSD: distinfo,v 1.54 2018/08/08 14:09:21 gson Exp $
+$NetBSD: distinfo,v 1.55 2019/01/04 13:35:16 ryoon Exp $
 
-SHA1 (gxemul-0.6.0.1.tar.gz) = 8a9b7a6c08628c2a59a6e7e9c7c449c3826b4744
-RMD160 (gxemul-0.6.0.1.tar.gz) = 6943173d4149bfe40218715b8ed2c82b5b361e50
-SHA512 (gxemul-0.6.0.1.tar.gz) = 028764c751d67bf5da02ee2c34e6607660c2044e431b06c3d6799ba4e76f605b8c02afaa5f59c3059aff6253e35149831580bb13383121fb5ac0392c12d2aec2
-Size (gxemul-0.6.0.1.tar.gz) = 5420978 bytes
-SHA1 (patch-aa) = 6f2c0dc94606ba213bcc73527ea4bef997c89c45
-SHA1 (patch-ad) = 8dceff813ebf3702f8b48fb535708f1223254814
-SHA1 (patch-ae) = 19ef822c16f0f6dd50aea719e0bc797c39d1f9c0
-SHA1 (patch-ag) = db1c914220bf3bae6f61faba5ba9b7ed8ea995bd
-SHA1 (patch-src_components_cpu_CPUDyntransComponent.cc) = 1a70375b3ed409ef43122ce7e6935c07b4ed386d
-SHA1 (patch-src_components_cpu_M88K__CPUComponent.cc) = 931cdc9a806e9ff48dccb2a63873c52491336b30
-SHA1 (patch-src_components_cpu_MIPS__CPUComponent.cc) = 75d8276092fcdc9f548f874e5807ae8e6a2b9eae
+SHA1 (gxemul-0.6.1.tar.gz) = 150e495e91a968a49ffc7fe2390c3edff100508d
+RMD160 (gxemul-0.6.1.tar.gz) = 0434bff07970d8828531d222cc8b95c64c2d62f1
+SHA512 (gxemul-0.6.1.tar.gz) = 03dbbaa9ba5e36b4644a984f06bffa5ff9e763f395c472c0fbdfc8bca975a5fb184a676d3a6c5e1a3483c3c62a2778af9c36d2bf4ab8dcaf21b3dfac8abcd301
+Size (gxemul-0.6.1.tar.gz) = 5617712 bytes
+SHA1 (patch-ad) = 7f02cce83c58bbd5399b157a9da9c6c4260122f0
+SHA1 (patch-src_components_cpu_CPUDyntransComponent.cc) = dd7a9a83d8abce053e5e61a6aa6ae057c6c51a6a
+SHA1 (patch-src_components_cpu_M88K__CPUComponent.cc) = 4b456721aa0639b91d2dab82fb28f61a951ec8f4
+SHA1 (patch-src_components_cpu_MIPS__CPUComponent.cc) = 9bcb304937ccfa491e37da6f57729854294c420d
 SHA1 (patch-src_console_console.cc) = 0b9c07eaa26a39b20a6f6769cdf02208fc9667d3
-SHA1 (patch-src_console_x11.cc) = e1efce66afa230310615453fc6f8427b00c33b08
-SHA1 (patch-src_cpus_cpu.cc) = c882bc71844588e83e172b693142b1c725f86d17
-SHA1 (patch-src_cpus_cpu__alpha.cc) = 1ef38e5930018f310220efb0bf7f357fd5a9af7b
-SHA1 (patch-src_cpus_cpu__alpha__palcode.cc) = ae892bb7191e199329952feeb544fe31bd5407e2
-SHA1 (patch-src_cpus_cpu__dyntrans.cc) = d3887e19e1a153cc16fd38422e24efab8bfb672e
-SHA1 (patch-src_cpus_cpu__m88k.cc) = b21d57f101ef6c7275a70c2052ce089fb6a256c5
-SHA1 (patch-src_cpus_cpu__m88k__instr.cc) = 35fc38cb5a4efedf15e22be25196c39e817aeeb8
-SHA1 (patch-src_cpus_cpu__m88k__instr__loadstore.cc) = f4837cd03c47eb980d4ca815e9dc953eaa13ca6c
-SHA1 (patch-src_cpus_cpu__ppc.cc) = 013a6a6ea28acc1ba1751813b5dfa3d11d251427
-SHA1 (patch-src_cpus_cpu__ppc__instr.cc) = cdc664f35cdb289380bb959f1b07c95151b60eed
-SHA1 (patch-src_cpus_cpu__sh.cc) = b72eb6b670fad93198c9ee7d1bb57c0a69027a3a
-SHA1 (patch-src_cpus_cpu_mips.cc) = 0fdeed0a52b4b8a2e256e0f1084cf5a2131a6dce
-SHA1 (patch-src_cpus_cpu_mips_instr.cc) = 48035575ce5b075bb56c291e272dea4e8b1bebfe
-SHA1 (patch-src_cpus_memory__alpha.cc) = 9bea508cc59aa6856928f0d6f5964f5f24ac648e
-SHA1 (patch-src_cpus_memory__mips__v2p.cc) = 2b859ffa219ded4e7c4a6a0ad3047e4c444d472d
-SHA1 (patch-src_cpus_memory__ppc.cc) = e321cc7acaa4a61fda91f46b05f10863d407ae9f
-SHA1 (patch-src_cpus_memory__sh.cc) = a13b3da5acd134a9145186b8294eec19ce4f6c37
-SHA1 (patch-src_debugger_debugger.cc) = c37a93845d0b77350a22c793d84da4a05342423a
-SHA1 (patch-src_debugger_debugger__cmds.cc) = cc02739c1561b4b1e8e503bcdd8a7fcfa183f5b2
-SHA1 (patch-src_devices_bus__pci.cc) = 5a4b7360a8701055d92d22489c777884338f1f38
-SHA1 (patch-src_devices_dev__algor.cc) = 0d841679b1f230dfd52fe02836f9ff544e78cf21
-SHA1 (patch-src_devices_dev__dreamcast__gdrom.cc) = 673fbb19f530486cb64a14ac941f62db493b0900
-SHA1 (patch-src_devices_dev__dreamcast__maple.cc) = 933917c91b9dcbd2f97090760477525c3ee044a8
+SHA1 (patch-src_cpus_cpu_mips.cc) = ad6d9c8b452b1b8422d9194cadfa1c8c3d29ef21
 SHA1 (patch-src_devices_dev__footbridge.cc) = 2dc76e65fff7e6c846d9d06b74bed76075b0c79a
-SHA1 (patch-src_devices_dev__lca.cc) = 3dadd75e3c561b300c0d9fc1aff086da92c2c1ae
-SHA1 (patch-src_devices_dev__pvr.cc) = 8444baf6379ed8b4c6b2fe8943dc7f808b195981
-SHA1 (patch-src_devices_dev__sgi__mardigras.cc) = 2585bc8e0117a36e214364e5ff875754f250fae9
-SHA1 (patch-src_devices_dev__sh4.cc) = 83ab4cc46a96721da9472f392f8e91a26ee557a7
-SHA1 (patch-src_devices_dev__vga.cc) = b7e889f7ecec48ff446a2d64fe0587118de8aa21
-SHA1 (patch-src_devices_dev__vr41xx.cc) = 5daf48f57a9f16d695f913341e92944816dbf062
-SHA1 (patch-src_devices_dev__wdc.cc) = 38038c02aab576c3574a1cb468f6e7bbefe5f5da
-SHA1 (patch-src_disk_bootblock.cc) = 11dd3135cb433ced29972fe28e18568025beaf82
-SHA1 (patch-src_disk_diskimage.cc) = 05f077314ee76cd0fd77582d5b725be491a42857
-SHA1 (patch-src_file_file__elf.cc) = be7e20bfca2d10e2f7fdbf0289483416d21dec3e
-SHA1 (patch-src_file_file__raw.cc) = 9c34c96cca79b795554d307cd134334ae0eb568c
-SHA1 (patch-src_include_components_CPUDyntransComponent.h) = 4fa3c327c4ce5ee9e39e7bc49ce6029b2a7da100
-SHA1 (patch-src_include_components_M88K__CPUComponent.h) = afd07ae4df33d0c0a9d3d8c15dca4ef9ee7dd916
-SHA1 (patch-src_include_components_MIPS__CPUComponent.h) = 4e49da9af0d220a1ea7c4520d8e7e53d8d84c155
-SHA1 (patch-src_include_mips_cpu_types.h) = ae5fcfa68596f4705fc07434fcd95a3ac6205763
-SHA1 (patch-src_include_refcount__ptr.h) = 8021524ff16d3a9de65bb6188fb8c07296c5c3b7
-SHA1 (patch-src_machines_machine__landisk.cc) = ec3fd4916ab6092fb004e03e711653dbc20f5fc0
-SHA1 (patch-src_machines_machine__pmax.cc) = d556a834cd656d53a5aa851d5e89f655935aeb95
-SHA1 (patch-src_machines_machine__test.cc) = fbb54c473d77d4fe6bfb3cd01b72113991f77dc5
-SHA1 (patch-src_main_GXemul.cc) = a4ce4bd37347eaffc03216e27667fe636d35de29
-SHA1 (patch-src_old__main_emul.cc) = c8ef84dbed5adba7ee95dcc030ec190ffa002e67
-SHA1 (patch-src_old__main_main.cc) = ad0c6ca2712e69b4813eb6b712cd80033be04b7c
-SHA1 (patch-src_old__main_memory.cc) = 247ddf938a270b5069e45aca84ae36fe1a252124
-SHA1 (patch-src_old__main_settings.cc) = 759498320709b693088a177d9d264895306c825d
-SHA1 (patch-src_promemul_arcbios.cc) = 07881593bb29cc125ebaa1e424ed1fa80c52babf
-SHA1 (patch-src_promemul_dec__prom.cc) = 31b2e001784cbb15a838a1a42576c2935b44ca7c
-SHA1 (patch-src_promemul_dreamcast.cc) = eed1c7a713918ce782cf4c717758980038c8c065
-SHA1 (patch-src_promemul_ps2__bios.cc) = 17b4a27b61e588481e063c0ac509b55ad28a1127
-SHA1 (patch-src_symbol_symbol.cc) = 4edc42207d7c4af193b55fd4d9e03eee4180a7b2
+SHA1 (patch-src_devices_dev__sh4.cc) = 81e3dcc01934c71389a91861343bc8aa32284160
+SHA1 (patch-src_include_components_CPUDyntransComponent.h) = f60d31261a03a0a73fa4844143da4931cae85ce6
+SHA1 (patch-src_include_components_M88K__CPUComponent.h) = 5232386ac337c552d88cbdb829b6f0f3e94ba0f2
+SHA1 (patch-src_include_components_MIPS__CPUComponent.h) = 48bc9ea9dacbe7afd9734ee04e270943208db148
+SHA1 (patch-src_include_mips_cpu_types.h) = 04fff50fad3e619e7e0eeb8bf17a79edd18b2147
+SHA1 (patch-src_include_refcount__ptr.h) = 6c8742b199801c1db906d4856f6f5f01a0f25fe0
+SHA1 (patch-src_machines_machine__pmax.cc) = ed3fba7eacb593cbba082a6d8d8ec823bf90162f
diff -r 90e8413e2fbb -r a6b22fc731ae emulators/gxemul/patches/patch-aa
--- a/emulators/gxemul/patches/patch-aa Fri Jan 04 13:25:07 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,13 +0,0 @@
-$NetBSD: patch-aa,v 1.9 2010/07/02 14:41:50 joerg Exp $
-
---- src/main/fileloaders/FileLoader_aout.cc.orig       2010-07-02 14:06:41.000000000 +0000
-+++ src/main/fileloaders/FileLoader_aout.cc
-@@ -265,7 +265,7 @@ bool FileLoader_aout::LoadIntoComponent(
- 
-               off_t oldpos = file.tellg();
-               file.seekg(0, std::ios_base::end);
--              int strings_len = file.tellg() - oldpos;
-+              int strings_len = (off_t)file.tellg() - oldpos;
-               file.seekg(oldpos, std::ios_base::beg);
- 
-               messages.flags(std::ios::dec);
diff -r 90e8413e2fbb -r a6b22fc731ae emulators/gxemul/patches/patch-ad
--- a/emulators/gxemul/patches/patch-ad Fri Jan 04 13:25:07 2019 +0000
+++ b/emulators/gxemul/patches/patch-ad Fri Jan 04 13:35:16 2019 +0000
@@ -1,42 +1,11 @@
-$NetBSD: patch-ad,v 1.2 2018/03/21 17:39:42 kamil Exp $
+$NetBSD: patch-ad,v 1.3 2019/01/04 13:35:16 ryoon Exp $
 
 patch to fix big-endian mips support from matt%netbsd.org@localhost
-Fix C++11 literals.
 
 diff -rup src/cpus/cpu_mips_coproc.cc src/cpus/cpu_mips_coproc.cc
---- src/cpus/cpu_mips_coproc.cc.orig   2014-08-17 08:45:15.000000000 +0000
+--- src/cpus/cpu_mips_coproc.cc.orig   2018-12-07 06:29:22.000000000 +0000
 +++ src/cpus/cpu_mips_coproc.cc
-@@ -1628,19 +1628,19 @@ void coproc_tlbwri(struct cpu *cpu, int 
-       /*  Debug dump of the previous entry at that index:  */
-       fatal("{ old TLB entry at index %02x:", index);
-       if (cpu->cd.mips.cpu_type.mmu_model == MMU3K) {
--              fatal(" hi=%08"PRIx32, (uint32_t)cp->tlbs[index].hi);
--              fatal(" lo=%08"PRIx32, (uint32_t)cp->tlbs[index].lo0);
-+              fatal(" hi=%08" PRIx32, (uint32_t)cp->tlbs[index].hi);
-+              fatal(" lo=%08" PRIx32, (uint32_t)cp->tlbs[index].lo0);
-       } else {
-               if (cpu->is_32bit) {
--                      fatal(" mask=%08"PRIx32,(uint32_t)cp->tlbs[index].mask);
--                      fatal(" hi=%08"PRIx32, (uint32_t)cp->tlbs[index].hi);
--                      fatal(" lo0=%08"PRIx32, (uint32_t)cp->tlbs[index].lo0);
--                      fatal(" lo1=%08"PRIx32, (uint32_t)cp->tlbs[index].lo1);
-+                      fatal(" mask=%08" PRIx32,(uint32_t)cp->tlbs[index].mask);
-+                      fatal(" hi=%08" PRIx32, (uint32_t)cp->tlbs[index].hi);
-+                      fatal(" lo0=%08" PRIx32, (uint32_t)cp->tlbs[index].lo0);
-+                      fatal(" lo1=%08" PRIx32, (uint32_t)cp->tlbs[index].lo1);
-               } else {
--                      fatal(" mask=%016"PRIx64, cp->tlbs[index].mask);
--                      fatal(" hi=%016"PRIx64, cp->tlbs[index].hi);
--                      fatal(" lo0=%016"PRIx64, cp->tlbs[index].lo0);
--                      fatal(" lo1=%016"PRIx64, cp->tlbs[index].lo1);
-+                      fatal(" mask=%016" PRIx64, cp->tlbs[index].mask);
-+                      fatal(" hi=%016" PRIx64, cp->tlbs[index].hi);
-+                      fatal(" lo0=%016" PRIx64, cp->tlbs[index].lo0);
-+                      fatal(" lo1=%016" PRIx64, cp->tlbs[index].lo1);
-               }
-       }
-       fatal(" }\n");
-@@ -1993,6 +1993,13 @@ void coproc_function(struct cpu *cpu, st
+@@ -2029,6 +2029,13 @@ void coproc_function(struct cpu *cpu, st
  
        if (cpnr < 2 && (((function & 0x03e007f8) == (COPz_MTCz << 21))
                      || ((function & 0x03e007f8) == (COPz_DMTCz << 21)))) {
@@ -50,7 +19,7 @@
                if (unassemble_only) {
                        debug("%s%i\t%s,", copz==COPz_DMTCz? "dmtc" : "mtc",
                            cpnr, regnames[rt]);
-@@ -2002,16 +2009,10 @@ void coproc_function(struct cpu *cpu, st
+@@ -2038,16 +2045,10 @@ void coproc_function(struct cpu *cpu, st
                                debug("r%i", rd);
                        if (function & 7)
                                debug(",%i", (int)(function & 7));
@@ -68,16 +37,3 @@
                coproc_register_write(cpu, cpu->cd.mips.coproc[cpnr], rd,
                    &tmpvalue, copz == COPz_DMTCz, function & 7);
                return;
-@@ -2225,10 +2226,9 @@ void coproc_function(struct cpu *cpu, st
-               return;
-       }
- 
--      fatal("cpu%i: UNIMPLEMENTED coproc%i function %08"PRIx32" "
--          "(pc = %016"PRIx64")\n", cpu->cpu_id, cp->coproc_nr,
-+      fatal("cpu%i: UNIMPLEMENTED coproc%i function %08" PRIx32 " "
-+          "(pc = %016" PRIx64 ")\n", cpu->cpu_id, cp->coproc_nr,
-           (uint32_t)function, cpu->pc);
- 
-       mips_cpu_exception(cpu, EXCEPTION_CPU, 0, 0, cp->coproc_nr, 0, 0, 0);
- }
--
diff -r 90e8413e2fbb -r a6b22fc731ae emulators/gxemul/patches/patch-ae
--- a/emulators/gxemul/patches/patch-ae Fri Jan 04 13:25:07 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-$NetBSD: patch-ae,v 1.1 2011/07/17 12:49:17 mrg Exp $
-
-patch to enable big-endian mips support from matt%netbsd.org@localhost
-
-
-diff -rup src/devices/dev_gt.cc src/devices/dev_gt.cc
---- src/devices/dev_gt.cc      2009-06-21 09:03:48.000000000 -0700
-+++ src/devices/dev_gt.cc      2009-11-12 11:55:32.000000000 -0800
-@@ -172,19 +172,23 @@ DEVICE_ACCESS(gt)
-               break;
- 
-       case GT_PCI0_CFG_ADDR:
-+#if 0
-               if (cpu->byte_order != EMUL_LITTLE_ENDIAN) {
-                       fatal("[ gt: TODO: big endian PCI access ]\n");
-                       exit(1);
-               }
-+#endif
-               bus_pci_decompose_1(idata, &bus, &dev, &func, &reg);
-               bus_pci_setaddr(cpu, d->pci_data, bus, dev, func, reg);
-               break;
- 
-       case GT_PCI0_CFG_DATA:
-+#if 0
-               if (cpu->byte_order != EMUL_LITTLE_ENDIAN) {
-                       fatal("[ gt: TODO: big endian PCI access ]\n");
-                       exit(1);
-               }
-+#endif
-               bus_pci_data_access(cpu, d->pci_data, writeflag == MEM_READ?
-                   &odata : &idata, len, writeflag);
-               break;
diff -r 90e8413e2fbb -r a6b22fc731ae emulators/gxemul/patches/patch-ag
--- a/emulators/gxemul/patches/patch-ag Fri Jan 04 13:25:07 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,49 +0,0 @@
-$NetBSD: patch-ag,v 1.5 2018/03/21 17:39:42 kamil Exp $
-
-- enable all CPSR->SPSR copy values, instead of hard coding 3 out of 15.
-- allow immediate to be zero with a non-zero shift. caused by:
-       ebf61a60:  e28fc600     add     ip,pc,#0
-- Fix C++11 literals.
-
---- src/cpus/cpu_arm_instr.cc.orig     2014-08-17 08:45:15.000000000 +0000
-+++ src/cpus/cpu_arm_instr.cc
-@@ -215,7 +215,7 @@ X(invalid) {
- 



Home | Main Index | Thread Index | Old Index