Gareth Rees
052e5fbd18
Consistent order to prologue: include "mpm.h"; platform check; include other mps headers; include system headers; srcid.
...
Copied from Perforce
Change: 194107
2018-06-23 11:31:57 +01:00
Gareth Rees
c4a840d676
Rename "mac os x" and "os x" to "macos", except for a few cases where for historical accuracy we want to continue to refer to the former name.
...
Copied from Perforce
Change: 193821
2018-06-15 12:15:36 +01:00
Gareth Rees
4457a77a07
Initialization and checking of mutatorcontext data structures.
...
New files prmcix.c and prmcxc.c avoid duplicated code.
Copied from Perforce
Change: 192562
ServerID: perforce.ravenbrook.com
2016-10-13 23:13:40 +01:00
Gareth Rees
6521d927eb
Add accesssetcheck and check accessset arguments.
...
Copied from Perforce
Change: 188251
ServerID: perforce.ravenbrook.com
2015-09-04 20:15:36 +01:00
Gareth Rees
2efed004c6
Fix comments in the protection implementations (it looks as if these were copied and then not modified) and bring discussion of supported platforms up to date. add file guards where missing.
...
Copied from Perforce
Change: 187313
ServerID: perforce.ravenbrook.com
2014-10-21 15:10:42 +01:00
Gareth Rees
76bad5eee3
Protgranularity is the same on all unixes, so only need one implementation.
...
Copied from Perforce
Change: 186761
ServerID: perforce.ravenbrook.com
2014-07-01 11:21:39 +01:00
Gareth Rees
2f4d1c8cd4
Catch-up merge from master sources to branch/2014-03-25/ansi.
...
Copied from Perforce
Change: 185907
ServerID: perforce.ravenbrook.com
2014-04-30 16:51:30 +01:00
Gareth Rees
3bdf7fc878
All prottramp implementations are now the same, so there is no need for separate implementations.
...
Copied from Perforce
Change: 185901
ServerID: perforce.ravenbrook.com
2014-04-30 16:29:42 +01:00
Gareth Rees
84cd92ab89
Improve clarity of product configuration so that names more explicitly indicate what they do:
...
* CONFIG_POLL_NONE (because the user-visible consequence is that polling is no longer supported; was CONFIG_PROTECTION_NONE).
* DISABLE_LOCKS (was THREAD_SINGLE).
* DISABLE_SHIELD (was THREAD_SINGLE && PROTECTION_NONE)
* DISABLE_REMEMBERED_SET (was PROTECTION_NONE)
When the shield is disabled, ArenaLeave asserts that there are no busy traces, and ArenaPoll is a no-op.
By having functions implemented using the corresponding macro, we can avoid duplicated code, and avoid testing DISABLE_SHIELD in global.c.
Remove all remaining references to MPS_PROD_EPCORE.
Copied from Perforce
Change: 185176
ServerID: perforce.ravenbrook.com
2014-04-02 15:48:57 +01:00
Richard Brooksby
b88b9d2d64
Fixing up platform definitions after test build on ubuntu 12.
...
Copied from Perforce
Change: 179181
ServerID: perforce.ravenbrook.com
2012-09-03 01:09:09 +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
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 Jones
e0d7999c16
Mps: more comments on accessread versus prot_write.
...
Copied from Perforce
Change: 161919
ServerID: perforce.ravenbrook.com
2007-03-12 12:53:54 +00:00
David Jones
e6db2eb286
Mps: using protix on linux. linux spotted a bug / historical blemish.
...
Copied from Perforce
Change: 161908
ServerID: perforce.ravenbrook.com
2007-03-09 14:07:49 +00:00
David Jones
76e9f4ae06
Mps: protection for intel darwin. hopefully cross-platform.
...
Copied from Perforce
Change: 161902
ServerID: perforce.ravenbrook.com
2007-03-08 21:50:28 +00:00