summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-03-24Added a function for drawing on 16-bit displays.David Boddie
2017-09-14Fix the X command in acme.Pete Elmore
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.
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-09-10Created new branch NetBSD/pthreadsValery Ushakov
2017-08-31Save/restore callee-saved registers around JIT code comvec.NetBSD/powerpcValery Ushakov
Makes JIT work on NetBSD/macppc (requires "macjit" set in the emu config file). Protected with #ifdef __ELF__ as I don't know what ABI Mac OS X uses on ppc and can't test there (note also that OS X config file explicitely disables jit).
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-15Reverted casts in asm.c, changing types in l.h to compensate.David Boddie
Increased the size of the dbuf array to match the total size of obuf and ibuf.
2017-07-14Fixed warnings from recent versions of GCC.David Boddie
Fixed incorrect buffering due to a change in the way the buf.dbuf array is compiled in at least GCC 4.9.2, GCC 5.4.0 and GCC 6.3.0.
2017-07-09Use pthreads instead of rthreads on OpenBSD and add back FPU supportScott Francis
2017-05-14fix typo and cyclic diagnosticCharles Forsyth
2017-05-14need to tag the cycle for later code, so move the testCharles Forsyth
2017-05-14need to tag the cycle for later code, so move the testCharles Forsyth
2017-05-14unless oldcycles, certain cyclic references are fineCharles Forsyth
2017-05-14missing t in error messageCharles Forsyth
2017-05-14unless oldcycles, circular reference via array is now fineCharles Forsyth
2017-05-14use %p not %luxCharles Forsyth
2017-05-14missing t in error messageCharles Forsyth
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-16merge with bitbucketCharles Forsyth
2017-04-16change from Aaron R Robinson to fix interface generation when exception ↵Charles Forsyth
types appear
2017-04-16recompiled for MacOSX sierraCharles Forsyth
2017-04-16do not include Quicktime.h that is not currently needed and might not existCharles Forsyth
2017-04-15commit the .dis for the switch from Keyring to CryptCharles Forsyth
2017-04-15recompiled versions of Windows executable (root set to C:/inferno as before)Charles Forsyth
2017-04-15Windows' system() library function can malfunction with "Access Denied" when ↵Charles Forsyth
crossing 32/64 barrier, so define our own
2017-04-15MS include files now #define environ,Charles Forsyth
which messes up its use as field of struct, so undef it, unless needed for Windows interface, as controlled by INFERNO_KEEPENVIRON. Only rc and mk need extern char**environ
2017-04-15MS compiler now messes up true as a variableCharles Forsyth
2017-04-15advance to Windows XPCharles Forsyth
2017-02-28limbo/lex.c: allocmem(0) to return a valid pointer even though malloc(0) may ↵Yaroslav Kolomiiets
get nil
2017-02-27hgignore more of the generated headersYaroslav Kolomiiets
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-27limbo/lex.c: allow malloc(0) to return nil as some implementations doYaroslav Kolomiiets
2017-02-27mk: mkfile: allow ports to override archive.$O via MKARYaroslav Kolomiiets
2017-02-27add AIX/power portYaroslav Kolomiiets
2017-02-23recompile mount as wellCharles Forsyth
2017-02-23remake /dis/lib/factotum.disCharles Forsyth
2017-02-22enable bitbucket pipelines for Linux/386Yaroslav Kolomiiets
2017-02-22emu/port/portmkfile: pass $MKFLAGS downstreamYaroslav Kolomiiets