Richard Brooksby
71d487d995
Fixing further pedantic compilation issues on xci3gc.
...
Copied from Perforce
Change: 179057
ServerID: perforce.ravenbrook.com
2012-08-26 17:07:32 +01:00
Richard Brooksby
7fe52ea4bd
Fixing compilation of event_clock on pedantic gcc, specifically xci3gc.
...
Copied from Perforce
Change: 179056
ServerID: perforce.ravenbrook.com
2012-08-26 16:44:17 +01:00
Richard Brooksby
0506bc8cbf
Using fast clock to timestamp events, making event logging much quicker.
...
Copied from Perforce
Change: 179055
ServerID: perforce.ravenbrook.com
2012-08-26 15:31:40 +01:00
Richard Brooksby
3208f37aef
Moving event emitting macros from eventcom.h to event.h, as they aren't used except in the mps.
...
Tidying up the way event field addresses are fetched to do all the work during compilation and not emit scads of branches.
Copied from Perforce
Change: 179053
ServerID: perforce.ravenbrook.com
2012-08-26 14:43:35 +01:00
Richard Brooksby
c8a9763120
Oops. missed file from changelist 179018.
...
Copied from Perforce
Change: 179020
ServerID: perforce.ravenbrook.com
2012-08-22 09:31:38 +01:00
Richard Brooksby
76ab2591ef
Adding a size field to events so that a reader can skip unknown event codes (unimplemented).
...
Copied from Perforce
Change: 179019
ServerID: perforce.ravenbrook.com
2012-08-22 09:16:03 +01:00
Richard Brooksby
d3a49735dc
Switching eventtypes (large hex constants) to codes (16-bit ids).
...
Copied from Perforce
Change: 179018
ServerID: perforce.ravenbrook.com
2012-08-22 09:03:25 +01:00
Richard Brooksby
30283c6f11
Moving some common definitions to eventcom.h from event.h.
...
Fixing the types of EventCode etc. to use narrower types to compress things on 64-bit architectures.
Fixing some warnings.
Copied from Perforce
Change: 179015
ServerID: perforce.ravenbrook.com
2012-08-22 08:41:42 +01:00
Richard Brooksby
5e96e53da6
Tidying up table and making maximum event name length obvious.
...
Copied from Perforce
Change: 179014
ServerID: perforce.ravenbrook.com
2012-08-22 08:39:07 +01:00
Richard Brooksby
f6d71a6ee9
Removing unnecessary warning suppression for gcc on freebsd.
...
Copied from Perforce
Change: 179013
ServerID: perforce.ravenbrook.com
2012-08-22 08:03:05 +01:00
Richard Brooksby
f8dcadb1b1
Subsuming eventgen.h into eventcom.h, now that it's no longer generated.
...
Copied from Perforce
Change: 179012
ServerID: perforce.ravenbrook.com
2012-08-22 07:53:24 +01:00
Richard Brooksby
4009b8a559
Abolishing eventgen.pl. event structures are now expanded by the preprocessor.
...
Abolishing event formats. Each event now has its own structure.
Event parameters are now written directly into the event buffer, rather than being copied twice.
Copied from Perforce
Change: 179010
ServerID: perforce.ravenbrook.com
2012-08-21 22:48:11 +01:00
Richard Brooksby
ab85e6ff32
Replacing "relation" style event definition header with single higher-order macro that can be applied more flexibly.
...
Copied from Perforce
Change: 178997
ServerID: perforce.ravenbrook.com
2012-08-21 16:29:19 +01:00
Richard Brooksby
39bdab4ca5
Oops. correctly branching to refactor telemetry and unify with diagnostics.
...
Copied from Perforce
Change: 178993
ServerID: perforce.ravenbrook.com
2012-08-21 15:52:06 +01:00
Richard Brooksby
64f400c160
Removing no-longer-needed warning suppression.
...
Copied from Perforce
Change: 178941
ServerID: perforce.ravenbrook.com
2012-08-15 17:21:18 +01:00
Richard Brooksby
d7d0949850
Removing no-longer-required warning suppression.
...
Copied from Perforce
Change: 178940
ServerID: perforce.ravenbrook.com
2012-08-15 17:04:55 +01:00
Richard Brooksby
90b6b80f26
Removing no-longer-required warning supression.
...
Copied from Perforce
Change: 178939
ServerID: perforce.ravenbrook.com
2012-08-15 17:01:48 +01:00
Richard Brooksby
45a4b1f577
Removing no-longer-needed warning suppression.
...
Copied from Perforce
Change: 178938
ServerID: perforce.ravenbrook.com
2012-08-15 17:00:58 +01:00
Richard Brooksby
e4153fede9
Unifying code-identical protection implementations for linux.
...
Copied from Perforce
Change: 178937
ServerID: perforce.ravenbrook.com
2012-08-15 16:47:50 +01:00
Richard Brooksby
e03acdfe6b
Bringing mps.c definition up-to-date on freebsd i386.
...
Copied from Perforce
Change: 178936
ServerID: perforce.ravenbrook.com
2012-08-15 16:27:48 +01:00
Richard Brooksby
82ea345724
Correcting misnamed i4 architecture to i3. this distinction was once slightly useful for optimisation, but no longer makes any sense.
...
Copied from Perforce
Change: 178935
ServerID: perforce.ravenbrook.com
2012-08-15 15:37:42 +01:00
Richard Brooksby
2124c8eccc
Removing obsolete m9 platform.
...
Removing obsolete Visual C setup script.
Copied from Perforce
Change: 178933
ServerID: perforce.ravenbrook.com
2012-08-15 15:10:27 +01:00
Richard Brooksby
a801df50f4
Adding fri6gc (freebsd on amd64/x86_64) platform.
...
Unifying thfr.c with generalised thix.c for Posix threads.
Copied from Perforce
Change: 178928
ServerID: perforce.ravenbrook.com
2012-08-14 17:30:22 +01:00
Richard Brooksby
e9765e20d4
Renaming thli.c to thix.c as it is now general to posix threads.
...
Copied from Perforce
Change: 178926
ServerID: perforce.ravenbrook.com
2012-08-14 17:10:48 +01:00
Richard Brooksby
15de8407ce
Moving linux-specific parts out of thli.c in order to unify with freebsd.
...
Copied from Perforce
Change: 178925
ServerID: perforce.ravenbrook.com
2012-08-14 17:05:11 +01:00
Richard Brooksby
affc709f25
Merging 64-bit linux port from branch/2012-07-26/linux-catchup
...
Copied from Perforce
Change: 178913
ServerID: perforce.ravenbrook.com
2012-08-13 13:53:20 +01:00
Richard Brooksby
8875cbfba9
Removing references to obsolete platforms.
...
Copied from Perforce
Change: 178909
ServerID: perforce.ravenbrook.com
2012-08-12 23:29:49 +01:00
Richard Brooksby
ad517163a9
Removing obsolete platforms:
...
LII3EG Linux on i386 with EGCS
LIPPGC Linux on POWER with GCC
S7PPMW Mac System 7 on PowerPC with Metrowerks Codewarrior
SOS8CX Solaris on SPARC 8 with cxref
SOS8GC Solaris on SPARC 8 with GCC
SOS8GP Solaris on SPARC 8 with GCC and gprof
SOS9SC Solaris on SPARC 9 with SunPro C
XCPPGC Mac OS X on PowerPC with GCC
Copied from Perforce
Change: 178908
ServerID: perforce.ravenbrook.com
2012-08-12 23:27:35 +01:00
Richard Brooksby
2a24ee4385
Removing obsolete protso.c for solaris.
...
Copied from Perforce
Change: 178907
ServerID: perforce.ravenbrook.com
2012-08-12 23:03:32 +01:00
Richard Brooksby
13ba70d2dd
Fixing warnings revealed by xcode (clang).
...
Copied from Perforce
Change: 178898
ServerID: perforce.ravenbrook.com
2012-08-11 09:30:24 +01:00
Richard Brooksby
d39d3bcf2d
Adding linux and 64-bit windows builds to mps.c.
...
Copied from Perforce
Change: 178897
ServerID: perforce.ravenbrook.com
2012-08-11 09:27:19 +01:00
David Lovemore
0720be47b8
Deleted no longer used thlii4.c -- renamed to thli.c
...
Copied from Perforce
Change: 178877
ServerID: perforce.ravenbrook.com
2012-08-09 16:09:07 +01:00
David Lovemore
be8a839d83
Made 64 bit linux port lii6gc. i've renamed thlii4.c to thli.c.
...
Copied from Perforce
Change: 178876
ServerID: perforce.ravenbrook.com
2012-08-09 16:05:08 +01:00
Richard Brooksby
215ef086cb
Removed support for old or dead platforms: osf/1, irix, mac system 7, sunos, windows nt on alpha, windows nt on powerpc.
...
See <https://github.com/datafueled/memory-pool-system/pull/3 > for the origin of this change.
Copied from Perforce
Change: 178872
ServerID: perforce.ravenbrook.com
2012-08-08 19:02:57 +01:00
David Lovemore
3e9f8108a4
Correct addresses for registers in context.
...
Copied from Perforce
Change: 178846
ServerID: perforce.ravenbrook.com
2012-08-06 14:44:35 +01:00
Richard Brooksby
412b49f9e6
Removed unused typedef. added some clarifications.
...
Copied from Perforce
Change: 178815
ServerID: perforce.ravenbrook.com
2012-08-02 13:04:46 +01:00
David Lovemore
5b59890e5c
Fix for unix stack scanner now that gcc sometimes omits frame pointers.
...
Copied from Perforce
Change: 178810
ServerID: perforce.ravenbrook.com
2012-08-01 20:45:29 +01:00
David Lovemore
929492618e
Fixup warnings of unused variables. now compiles.
...
Copied from Perforce
Change: 178793
ServerID: perforce.ravenbrook.com
2012-07-31 15:00:21 +01:00
David Lovemore
35b130bdd2
Integrated from master to catchup some type fixes.
...
Copied from Perforce
Change: 178792
ServerID: perforce.ravenbrook.com
2012-07-31 14:52:44 +01:00
David Lovemore
4a8232b9c9
Update the linux threading implementation, this means using the new posix style pthreads, which is much closer to the bsd implementation. prmcfr.h and prmcli.h have now been replaced by prmcix.h. this doesn't quite compile yet.
...
Copied from Perforce
Change: 178790
ServerID: perforce.ravenbrook.com
2012-07-31 14:43:34 +01:00
David Lovemore
d03df26a42
Was using a %u for a size_t, naughty. fixed.
...
Copied from Perforce
Change: 178788
ServerID: perforce.ravenbrook.com
2012-07-31 14:21:41 +01:00
David Lovemore
2f11fd7b65
Tidy up code from unused variable warnings.
...
Copied from Perforce
Change: 178787
ServerID: perforce.ravenbrook.com
2012-07-31 14:19:26 +01:00
Richard Brooksby
a612d07713
Adding w3i3mv to mps.c, allowing simple builds. this now works:
...
cl /Feamcss.exe /DCONFIG_PROD_MPS /DCONFIG_VAR_CI amcss.c fmtdy.c fmtdytst.c fmtno.c mps.c testlib.c
Copied from Perforce
Change: 178777
ServerID: perforce.ravenbrook.com
2012-07-30 16:48:02 +01:00
Richard Brooksby
c663253cd4
Adding fri4gc platform to mps.c, allowing simple builds. this now works:
...
gcc -DCONFIG_PROD_MPS -DCONFIG_VAR_CI -o amcss amcss.c testlib.c fmtdy.c fmtdytst.c fmtno.c mps.c -lm -lpthread
Copied from Perforce
Change: 178776
ServerID: perforce.ravenbrook.com
2012-07-30 15:38:23 +01:00
Richard Brooksby
cd5fa21f07
Fixing signal handling for freebsd 7. freebsd now signals sigsegv with code segv_accerr for memory protection faults. updated config.h.
...
Copied from Perforce
Change: 178775
ServerID: perforce.ravenbrook.com
2012-07-30 14:39:40 +01:00
Richard Brooksby
0b1d9d1fbb
Minor fixups to printing and scanning formats to build cleanly on freebsd.
...
Copied from Perforce
Change: 178774
ServerID: perforce.ravenbrook.com
2012-07-30 14:25:27 +01:00
Richard Brooksby
76dfe31f08
Merging minor printf format fix from cet-transform branch.
...
Copied from Perforce
Change: 178773
ServerID: perforce.ravenbrook.com
2012-07-30 14:14:45 +01:00
David Lovemore
d7dcaa4745
Update mv2test for 64-bit even though it is failing. varargs and alignment fixes.
...
Copied from Perforce
Change: 178561
ServerID: perforce.ravenbrook.com
2012-07-05 15:26:47 +01:00
Richard Brooksby
c395667fd7
Merging branch/2012-05-21/build-xci6ll -- build support for 64-bit mac os x.
...
Copied from Perforce
Change: 178560
ServerID: perforce.ravenbrook.com
2012-07-05 14:38:21 +01:00
David Lovemore
a441c2b5f3
Reversing unnecessary change before merge to master.
...
Copied from Perforce
Change: 178499
ServerID: perforce.ravenbrook.com
2012-06-18 16:33:42 +01:00