head 1.2; access; symbols pkgsrc-2014Q3:1.1.0.26 pkgsrc-2014Q3-base:1.1 pkgsrc-2014Q2:1.1.0.24 pkgsrc-2014Q2-base:1.1 pkgsrc-2014Q1:1.1.0.22 pkgsrc-2014Q1-base:1.1 pkgsrc-2013Q4:1.1.0.20 pkgsrc-2013Q4-base:1.1 pkgsrc-2013Q3:1.1.0.18 pkgsrc-2013Q3-base:1.1 pkgsrc-2013Q2:1.1.0.16 pkgsrc-2013Q2-base:1.1 pkgsrc-2013Q1:1.1.0.14 pkgsrc-2013Q1-base:1.1 pkgsrc-2012Q4:1.1.0.12 pkgsrc-2012Q4-base:1.1 pkgsrc-2012Q3:1.1.0.10 pkgsrc-2012Q3-base:1.1 pkgsrc-2012Q2:1.1.0.8 pkgsrc-2012Q2-base:1.1 pkgsrc-2012Q1:1.1.0.6 pkgsrc-2012Q1-base:1.1 pkgsrc-2011Q4:1.1.0.4 pkgsrc-2011Q4-base:1.1 pkgsrc-2011Q3:1.1.0.2 pkgsrc-2011Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2014.12.08.20.55.19; author ryoon; state dead; branches; next 1.1; commitid 2DoxWZqBKFg8ph1y; 1.1 date 2011.07.17.12.49.17; author mrg; state Exp; branches; next ; desc @@ 1.2 log @Update to 0.6.0.1 Changelog: [20140817] Release 0.6.0.1. It has been a while since the last release, and the SVN repository mirror at Sourceforge seems to be broken, so it felt reasonable to package the current code into a patch release. Not much has happened feature-wise since 0.6.0. [20140816] On FreeBSD/amd64 with GCC 4.2.1 as the default compiler, you may need to install GCC 4.8.4 and run the configure script like this to avoid triggering a bug in the default compiler: CXX=c++48 CXXFLAGS=-Wl,-rpath,/usr/local/lib/gcc48 ./configure [20110820] Not much coding lately. The only thing worth mentioning is that the Dreamcast emulation mode now gets further when running Marcus Comstedt's test programs, and also shows "something" when booting the PROM from my real Dreamcast. (This was in the legacy Dreamcast mode, for fun. I haven't had time to work on the new framework at all.) [20100729] Uploaded a clip to YouTube, showing the NetBSD/pmax install procedure in GXemul. @ text @$NetBSD: patch-af,v 1.1 2011/07/17 12:49:17 mrg Exp $ --- src/cpus/memory_sh.cc.orig 2010-02-14 01:33:54.000000000 -0800 +++ src/cpus/memory_sh.cc 2011-07-15 01:12:18.000000000 -0700 @@@@ -273,15 +273,17 @@@@ } if (user) { + int expevt; + int wf = flags & FLAG_WRITEFLAG; + if (flags & FLAG_NOEXCEPTIONS) { *return_paddr = 0; return 2; } - fatal("Userspace tried to access non-user space memory." - " TODO: cause exception! (vaddr=0x%08"PRIx32"\n", - (uint32_t) vaddr); - exit(1); + expevt = wf? EXPEVT_TLB_PROT_ST : EXPEVT_TLB_PROT_LD; + sh_exception(cpu, expevt, 0, (uint32_t)vaddr); + return 0; } /* P1,P2: Direct-mapped physical memory. */ @ 1.1 log @- try to enable big-endian mips support (from matt@@) - add sh kernel-address-in-user-mode exception support (seems to work for me, but XXX: some sh person should really look at this.) @ text @d1 1 a1 1 $NetBSD$ @