summaryrefslogtreecommitdiff
path: root/emu/port
AgeCommit message (Collapse)Author
7 daysRedeclare some vars as externKonstantin Kirik (snegovick)
7 daysFix issue with multiple definitions of coherence, disable coherence call ↵Konstantin Kirik (snegovick)
because its implementation is empty anyway. I failed to identify how to properly initialize coherence to leave call to it in place.
7 daysReplace pthread_yield with sched_yieldKonstantin Kirik (snegovick)
7 daysAdd missing nrand declarationKonstantin Kirik (snegovick)
2024-04-16Assume UTF-8 from the X11 clipboard.Pete
This stops a lot of error spew from libxwhichever: almost everything's UTF-8, Plan 9 won.
2021-10-11remove duplicate vflag definitionCharles Forsyth
2021-10-11allow vflag > 1Charles Forsyth
2020-03-07Silently ignore x-special/gnome-copied-files requests.Valery Ushakov
Modern desktops seem to like to send it a lot so don't spam the user with repeated messages about it.
2019-12-19G/c misguided NetBSD/powerpc kludge.Valery Ushakov
The problem was the alignment bug (alloc.c) that I thought I had fixed, but did't. Now that that bug is fixed properly drop the bogus kludge I left here while investigating the problem.
2019-12-19Properly ensure 16-byte alignment on NetBSD.Valery Ushakov
2019-08-21Merged in dboddie/inferno-os/hosted-devds (pull request #26)Charles Forsyth
Include devds in the hosted build
2019-05-25Include devds in the hosted build.hosted-devdsDavid Boddie
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-03-24Added a function for drawing on 16-bit displays.David Boddie
2017-09-14Fix invisible tab/space confusion in the pattern.NetBSD/pthreadsValery 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.
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-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-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-22emu/port/portmkfile: pass $MKFLAGS downstreamYaroslav Kolomiiets
2017-02-20emu: do not drop successive scroll eventsYaroslav Kolomiiets
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.
2015-10-10remove unused variableCharles Forsyth
2015-10-08shut up clangCharles Forsyth
2015-04-02rename noop to extern nofenceCharles Forsyth
2015-04-01issue 330: return headers for empty udp datagramCharles Forsyth
2015-03-28add coherence call for weakly-ordered cpus, default to nopCharles Forsyth
2015-03-27we now know it can happen. stop the annoying message until a proper fix is madeCharles Forsyth
2014-06-16issue 315: point into the right network directoryCharles Forsyth
2014-05-24allow / in aname (plan 9 change previously missed) [issue 312]Charles Forsyth
2014-05-18revert to 626 to undo unintended pushCharles Forsyth
2014-05-1820140518-1419charles forsyth
2012-09-0520120905-0742forsyth
2012-08-2020120820-1024forsyth
2011-08-2020110820-1401forsyth
2011-06-1920110619-2343forsyth
2011-04-0220110402-1151forsyth
2011-03-2920110329-0852forsyth
2011-03-0120110301-1941forsyth
2011-02-2520110225-1449forsyth
2011-02-2520110225-1104forsyth
2011-02-2420110224-2309forsyth
2011-02-2420110224-2305forsyth
2010-12-2020101220-1722forsyth
2010-12-2020101220-1640forsyth