summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2017-01-15Use explicit -fno-strict-aliasing to be on the safer side of things.Valery Ushakov
While -O is ok, gcc -O2 enables strict aliasing by default and miscompiles at least dtoa.c on powerpc.
2017-01-14Declare NaN().Valery Ushakov
2017-01-14Normalize mixed tabs for tab width of 8.Valery Ushakov
2017-01-13Use <machine/asm.h> macros.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-13Don't use with-update variant to store FPSCR as the code never revertsValery Ushakov
the update and hence the stack pointer becomes out of whack.
2017-01-13Provide asm version of getcallerpc().Valery Ushakov
2017-01-13Copied from Linux version. Fix lwz mnemonic and use <machine/asm.h> macros.Valery Ushakov
2017-01-13Copied NetBSD 386 version and mechanically applied Linux 386->power diff.Valery Ushakov
2017-01-13Copied NetBSD 386 version and replaced fcr/fsr bits with theValery Ushakov
definitions for power taken from the Linux version.
2017-01-13mkfile-NetBSD-power - copied and trivially adjusted from the 386 versionValery Ushakov
2017-01-13NetBSD/powerpc branch.Valery Ushakov
2017-01-13Drop space before tab.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-04acme: handle ^A, ^E keysYaroslav Kolomiiets
2016-11-04allow 21-bit subfont rangesYaroslav Kolomiiets
2016-11-04double-up image pool to fit modern resolutionsYaroslav Kolomiiets
2016-11-04acme: hande Pgup, Pgdown keysYaroslav Kolomiiets
2016-08-18acme: handle Home, End keysYaroslav Kolomiiets
2016-06-02Don't add X11 paths to LDFLAGS here. It's only needed for emu and isValery Ushakov
provided along with the X11 libs it that mkfile.
2016-06-02Provide empty tools/styxtest/mkfile-NetBSDValery Ushakov
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-06-01Declare getcallerpc() as returning ulong to match emu/port/fns.hValery Ushakov
2016-06-01Move fpuctl.h stuff into lib9, like on Linux. Inline asm version isValery Ushakov
probably mis-optimized by modern gcc, but I didn't bother investigating.
2016-06-01NetBSD swtiched to X11R7.Valery Ushakov
2016-03-16save hardware fp statusCharles Forsyth
2016-03-16correct definitions of several instructionsCharles Forsyth
2016-03-16define _DEFAULT_SOURCE as required by a new regimeCharles Forsyth
2016-03-16define FPU for hardware fpCharles Forsyth
2015-12-07r4 is not a scratch register (via graham gallagher), issue 342Charles Forsyth
2015-10-31document new status of cyclic keywordCharles Forsyth
2015-10-31suppress cyclic diagnostic by default; -y option to enable it; switch to ↵Charles Forsyth
Crypt from Keyring
2015-10-31switch to Crypt from KeyringCharles Forsyth
2015-10-31suppress cyclic errors by default; -y to enable themCharles Forsyth
2015-10-10make deveia less chattyCharles Forsyth
2015-10-10bump versionCharles Forsyth
2015-10-10avoid race for needflushCharles Forsyth
2015-10-10make macos version a single value, and build for 10.5 (Leopard)Charles Forsyth
2015-10-10update executablesCharles Forsyth
2015-10-10use extraneous type specifier socklen_t [wwtt?]Charles Forsyth