summaryrefslogtreecommitdiff
path: root/emu
AgeCommit message (Collapse)Author
2017-09-14Fix invisible tab/space confusion in the pattern.NetBSD/pthreadsValery Ushakov
2019-03-10G/c executeonnewstack and unlockandexit.Valery Ushakov
2019-03-10Merged default into NetBSD/pthreadsValery Ushakov
2019-03-09Work around a problem on macppc with kernel semaphores.Valery Ushakov
NetBSD/macppc 7 and later seems to have a bug in kernel based pthread semaphores. When running emu interactively shell would forever hang in sem_wait() after the first interactive command. I added sem_getvalue() after sem_init() as a debugging aid to get the semaphore id in ktrace output and it magically fixed the problem. For now just leave it here as a workaround under appropriate ifdef.
2018-12-21Merged in nbuwe/inferno-os/NetBSD/powerpc (pull request #10)Charles Forsyth
NetBSD/powerpc Approved-by: Charles Forsyth <charles.forsyth@gmail.com>
2018-12-21Merged in yk/inferno-os/AIX-power (pull request #17)Charles Forsyth
AIX-power port Approved-by: Charles Forsyth <charles.forsyth@gmail.com>
2018-12-21Merged in mechazoidal/inferno-os (pull request #19)Charles Forsyth
Fix building on OpenBSD
2018-03-24Added a function for drawing on 16-bit displays.David Boddie
2017-09-13Bump Npadlong from 2 to 4 on NetBSD to preserve 16-byte alignment.Valery Ushakov
pthread interals depend on that as it uses lower bits in some pointers for flags.
2017-09-10Use SA_SIGINFO to report pc in error messages. Copied from Linux.Valery Ushakov
2017-09-10Switch NetBSD from clone(2) to kproc-pthreads.cValery Ushakov
This commit is mostly a pretty mechanical change. It works on NetBSD-6 where pthread uses userland semaphores. It doesn't work on NetBSD-7 where pthread uses kernel semaphores.
2017-08-28On PowerPC tell the JIT compiler it's not Plan9 ABI and it needs toValery Ushakov
explicitly clear %r0.
2017-08-26Tweak to reduce diff with Linux.Valery Ushakov
2017-08-26PowerPC needs segflush()Valery Ushakov
2017-08-17Merged with inferno-os/inferno-os via default.Valery Ushakov
2017-07-09Use pthreads instead of rthreads on OpenBSD and add back FPU supportScott Francis
2017-04-20remove assembly-language functions no longer needed because os-clone.c has goneCharles Forsyth
2017-04-20remove clone implementation of kprocCharles Forsyth
2017-04-20Merged default into AIX-powerAIX-powerYaroslav Kolomiiets
2017-04-16do not include Quicktime.h that is not currently needed and might not existCharles Forsyth
2017-02-27emu/port/win-x11a.c: keep the highest byte of a pixel in copy32to32Yaroslav Kolomiiets
2017-02-27emu/port/devfs-posix.c: POSIXly include fcntl.hYaroslav Kolomiiets
2017-02-27add AIX/power portYaroslav Kolomiiets
2017-02-22emu/port/portmkfile: pass $MKFLAGS downstreamYaroslav Kolomiiets
2017-02-21emu: fix conversion to windows UTF-16 and backYaroslav Kolomiiets
2017-02-20emu: do not drop successive scroll eventsYaroslav Kolomiiets
2017-02-20emu: windows scroll wheelYaroslav Kolomiiets
2017-01-14Normalize mixed tabs for tab width of 8.Valery Ushakov
2017-01-13Remove autogenerated emu.c - this copy was imported accidentally.Valery Ushakov
2017-01-13Don't hardcode OBJTYPE.Valery Ushakov
2017-01-13Copied from Linux version. Use <machine/asm.h> macros.Valery Ushakov
2017-01-12Revert dbaf2f1a92f6 and instead move initialization of "coherence" toValery Ushakov
emu/NetBSD/os.c As explained in inferno-os issue 335: > The definition of coherence deliberately takes advantage of a C rule > to avoid anyone having to change an existing fork of emu (eg, for a > new platform), to account for the arrival of "coherence". If a > given port doesn't define it, it will be nil and main will fill it > in. If as on Windows or now NetBSD, it needs to be defined from the > start, the os.c for that platform should do it, but still no other > platforms need source changes.
2017-01-11Merged inferno-os/inferno-os into defaultValery Ushakov
2016-11-04double-up image pool to fit modern resolutionsYaroslav Kolomiiets
2016-06-02fns.h should declare "coherence", not define it. Move the definitionValery Ushakov
to main.c and init it "nofence". This is required because with dynamic linking init/fini code runs before main() has a chance to init it. Since emu provides its own malloc, init/fini code that uses malloc will eventually call coherence() and crash if it's not inited.
2016-06-02Move definition of X11LIBS where it can actully be overridden.Valery Ushakov
2016-06-02This ancient file is not used any more.Valery Ushakov
2016-06-01emu-g config copied from FreeBSD.Valery Ushakov
2016-06-01Fix function name in .type executeonnewstackValery Ushakov
2016-06-01Fix typo in comment.Valery Ushakov
2016-06-01G/c wrong getcallerpc from here, we will get the correct one from lib9.Valery Ushakov
2016-06-01Split the list of X11 libraries into a separate X11LIBS variable soValery Ushakov
that it can be overridden using env section in config files.
2016-03-16save hardware fp statusCharles Forsyth
2015-12-07r4 is not a scratch register (via graham gallagher), issue 342Charles Forsyth
2015-10-10make deveia less chattyCharles Forsyth
2015-10-10avoid race for needflushCharles Forsyth
2015-10-10remove unused variableCharles Forsyth
2015-10-10tidy up and simplify the eia port initialisation code, eliminating ↵Charles Forsyth
references to undefined values
2015-10-08shut up clangCharles Forsyth
2015-07-18fpuctl moving to lib9Charles Forsyth