1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-27 15:52:00 -08:00
Commit graph

6056 commits

Author SHA1 Message Date
Gareth Rees
dc314c2100 Merge vman design into vm; add designs for vmix and vmw3.
Link to POSIX and Windows documentation from thread-manager design.

Copied from Perforce
 Change: 187357
 ServerID: perforce.ravenbrook.com
2014-10-22 22:44:13 +01:00
Gareth Rees
0d75f05cd3 Complete design.mps.thread-manager and move it from old to current.
Better description of protection mutator context module in the "porting" chapter.
The generic thread manager mustn't assert that there is only one thread -- this would break design.mps.thread-manager.req.register.multi.

Copied from Perforce
 Change: 187354
 ServerID: perforce.ravenbrook.com
2014-10-22 20:42:56 +01:00
Gareth Rees
3c634eb2fa Fix comment and add reference to design.
Copied from Perforce
 Change: 187352
 ServerID: perforce.ravenbrook.com
2014-10-22 20:16:14 +01:00
Gareth Rees
7de068c21b Use aver(testt) when the arena lock is not held.
Copied from Perforce
 Change: 187351
 ServerID: perforce.ravenbrook.com
2014-10-22 20:14:01 +01:00
Gareth Rees
8b37792e4c Fix typos, improve the language.
Copied from Perforce
 Change: 187349
 ServerID: perforce.ravenbrook.com
2014-10-22 13:59:18 +01:00
Gareth Rees
c8ec2ade84 Complete the vman (generic virtual mapping) design; move it from old to current.
Copied from Perforce
 Change: 187348
 ServerID: perforce.ravenbrook.com
2014-10-22 13:46:43 +01:00
Gareth Rees
72ddb8ec6e Simplify platform makefile for xci6ll.
Copied from Perforce
 Change: 187347
 ServerID: perforce.ravenbrook.com
2014-10-22 13:46:11 +01:00
Gareth Rees
f07fbd9c15 Simplify the platform makefile for lii3gc.gmk.
Copied from Perforce
 Change: 187346
 ServerID: perforce.ravenbrook.com
2014-10-22 13:45:20 +01:00
Gareth Rees
9e042f8580 Simplify the platform makefile on fri3gc. no need for -wno-strict-aliasing any more -- the mps is type-pun clean.
Copied from Perforce
 Change: 187344
 ServerID: perforce.ravenbrook.com
2014-10-22 13:26:53 +01:00
Gareth Rees
f1fc0a8e6e Bring ananmv.nmk up to date.
Copied from Perforce
 Change: 187343
 ServerID: perforce.ravenbrook.com
2014-10-22 13:16:57 +01:00
Gareth Rees
1f66a0df6c Simply platform makefiles for lii6gc and lii6ll.
Copied from Perforce
 Change: 187342
 ServerID: perforce.ravenbrook.com
2014-10-22 13:11:29 +01:00
Gareth Rees
d1bd063d70 Complete the vm design (and refactor it in terms of requirements), and move it from old to current.
Copied from Perforce
 Change: 187340
 ServerID: perforce.ravenbrook.com
2014-10-22 12:59:30 +01:00
Gareth Rees
e9e4b538ea Add section on porting strategy.
Copied from Perforce
 Change: 187338
 ServerID: perforce.ravenbrook.com
2014-10-22 11:14:59 +01:00
Gareth Rees
c4a8263daa Need to update the documentation.
Copied from Perforce
 Change: 187336
 ServerID: perforce.ravenbrook.com
2014-10-22 00:25:27 +01:00
Gareth Rees
45a7d94f30 The multi-threaded testing module is not for inclusion in mps.c or mpmpf, so don't include it in the list of modules that need porting.
Copied from Perforce
 Change: 187335
 ServerID: perforce.ravenbrook.com
2014-10-22 00:08:46 +01:00
Gareth Rees
f0e75e0b5f Section title must be "document history" exactly if the manual inclusion is to work.
Copied from Perforce
 Change: 187333
 ServerID: perforce.ravenbrook.com
2014-10-21 23:57:00 +01:00
Gareth Rees
6078b4a362 Update copy-pasted paragraph.
Copied from Perforce
 Change: 187332
 ServerID: perforce.ravenbrook.com
2014-10-21 23:56:06 +01:00
Gareth Rees
6014d97022 Finish incomplete sentence.
Copied from Perforce
 Change: 187331
 ServerID: perforce.ravenbrook.com
2014-10-21 23:52:45 +01:00
Gareth Rees
48cf00b714 Lock design is now up to date.
Copied from Perforce
 Change: 187330
 ServerID: perforce.ravenbrook.com
2014-10-21 23:46:48 +01:00
Gareth Rees
0b1de76159 Chapter on "porting the mps".
Copied from Perforce
 Change: 187329
 ServerID: perforce.ravenbrook.com
2014-10-21 23:45:58 +01:00
Gareth Rees
1cee8f6bb0 Typo fixes and updates.
Copied from Perforce
 Change: 187328
 ServerID: perforce.ravenbrook.com
2014-10-21 23:42:05 +01:00
Gareth Rees
b77e0d87dd Add "contributing" section to the manual.
Copied from Perforce
 Change: 187327
 ServerID: perforce.ravenbrook.com
2014-10-21 23:41:02 +01:00
Gareth Rees
0b934dbe69 Bring lock module design up to date.
Copied from Perforce
 Change: 187326
 ServerID: perforce.ravenbrook.com
2014-10-21 23:32:57 +01:00
Gareth Rees
b4b937a417 Design for the multi-threaded testing module.
Copied from Perforce
 Change: 187323
 ServerID: perforce.ravenbrook.com
2014-10-21 22:45:40 +01:00
Gareth Rees
d0ae2f62ae Rename lockreleasempm to lockrelease. this name was changed because of a clash with a symbol in scriptworks, and that's no longer a concern. see <https://info.ravenbrook.com/project/mps/import/2001-09-27/mminfo/doc/meeting/general/1997-02-19>. if we get symbol name clashes in future, we can try the .name.single strategy, or maybe objcopy --prefix.
Copied from Perforce
 Change: 187322
 ServerID: perforce.ravenbrook.com
2014-10-21 22:35:30 +01:00
Gareth Rees
2d6578f527 Fix typo.
Copied from Perforce
 Change: 187319
 ServerID: perforce.ravenbrook.com
2014-10-21 17:10:53 +01:00
Gareth Rees
d5ea0fb20b Put the protection interface in prot.h, and the stack probe interface into sp.h, to make it easier to write the "porting" chapter of the manual.
Copied from Perforce
 Change: 187316
 ServerID: perforce.ravenbrook.com
2014-10-21 16:44:19 +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
cc07c81ffc Fix comment: "mac os x on x86_64 with clang" is xci6ll, not w3i6ll.
Copied from Perforce
 Change: 187311
 ServerID: perforce.ravenbrook.com
2014-10-21 14:24:55 +01:00
Gareth Rees
b03655b1a8 Correct the error handling in the mps_fix_call example and in the mps_fix implementation.
Copied from Perforce
 Change: 187308
 ServerID: perforce.ravenbrook.com
2014-10-21 00:27:36 +01:00
Gareth Rees
5d5742d49f Remove note about mps_ap_create_v since this function is deprecated.
Correct the claims about the reserve and commit instruction sequences.

Copied from Perforce
 Change: 187307
 ServerID: perforce.ravenbrook.com
2014-10-21 00:05:27 +01:00
Gareth Rees
6142dc135b Correct the example code for creating a virtual memory arena.
Copied from Perforce
 Change: 187305
 ServerID: perforce.ravenbrook.com
2014-10-20 23:39:49 +01:00
Gareth Rees
d37c72bf56 Correct the number of keyword arguments.
Copied from Perforce
 Change: 187304
 ServerID: perforce.ravenbrook.com
2014-10-20 23:34:50 +01:00
Gareth Rees
658d82053d Remove link to documentation for time facilites on system 8. link was long dead, but available via the internet archive here: <https://web.archive.org/web/20000309161634/http://developer.apple.com/techpubs/mac/osutilities/osutilities-94.html#marker-9-32>
Copied from Perforce
 Change: 187301
 ServerID: perforce.ravenbrook.com
2014-10-20 22:27:09 +01:00
Gareth Rees
c3daf74967 Simplify platform makefiles on windows, using a temporary makefile to work around nmake's lack of variable expansion in string replacement. this means that when adding a new part you no longer need to edit the platform makefiles, just commpre.nmk and commpost.nmk.
Copied from Perforce
 Change: 187299
 ServerID: perforce.ravenbrook.com
2014-10-20 19:15:57 +01:00
Gareth Rees
fb83e75c0b Remove unused variable p1 (broke the build on gcc).
Copied from Perforce
 Change: 187296
 ServerID: perforce.ravenbrook.com
2014-10-20 16:50:02 +01:00
Gareth Rees
7be8c5067b Remove unused variable obj1pip -- broke the compilation in gcc.
Copied from Perforce
 Change: 187295
 ServerID: perforce.ravenbrook.com
2014-10-20 16:45:45 +01:00
Gareth Rees
c314edabfd Call the "contracted" callback before destroying the chunk, as the arena is (briefly) invalid afterwards.
Copied from Perforce
 Change: 187294
 ServerID: perforce.ravenbrook.com
2014-10-20 16:40:32 +01:00
Gareth Rees
0f0435b710 Remove duplicate function amcfix (and rename amcheaderfix to amcfix) so that we don't have the burden of maintaining two copies of this function.
Copied from Perforce
 Change: 187293
 ServerID: perforce.ravenbrook.com
2014-10-20 16:38:54 +01:00
Gareth Rees
9d0a70b228 Ignore .test directory.
Copied from Perforce
 Change: 187289
 ServerID: perforce.ravenbrook.com
2014-10-19 19:17:45 +01:00
Gareth Rees
fde047753c Fix intra-design links.
Copied from Perforce
 Change: 187288
 ServerID: perforce.ravenbrook.com
2014-10-19 19:16:31 +01:00
Gareth Rees
80d9a77c05 Fix rest syntax.
Copied from Perforce
 Change: 187286
 ServerID: perforce.ravenbrook.com
2014-10-19 09:39:41 +01:00
Gareth Rees
169aaf972f Rename locusprefhigh to locusprefhigh and so on, to follow <http://www.ravenbrook.com/project/mps/master/design/guide.impl.c.naming#capital-constant>
Copied from Perforce
 Change: 187283
 ServerID: perforce.ravenbrook.com
2014-10-19 09:19:43 +01:00
Gareth Rees
8a094c1bf7 Amc no longer keeps statistics about pages condemned and retained. if we need this kind of analysis, it would be better to add more telemetry until we can do the analysis offline.
Copied from Perforce
 Change: 187274
 ServerID: perforce.ravenbrook.com
2014-10-14 23:05:56 +01:00
Gareth Rees
1b010bdd9d Add constant mps_rm_prot_inner and document it.
Copied from Perforce
 Change: 187271
 ServerID: perforce.ravenbrook.com
2014-10-14 22:59:32 +01:00
Gareth Rees
72a38afb68 Remove unused pool {fill,empty}{mutator,internal}size statistics.
Copied from Perforce
 Change: 187270
 ServerID: perforce.ravenbrook.com
2014-10-14 22:37:55 +01:00
Gareth Rees
d4b8907389 Assert if you try to create a pool using a format from another arena, a pool using a chain from another arena, or a root using a thread from another arena.
Copied from Perforce
 Change: 187268
 ServerID: perforce.ravenbrook.com
2014-10-14 22:21:43 +01:00
Gareth Rees
0c42e3aa23 Improved assertion messages when a required keyword argument is not found. instead of "unreachable code", the assertion message is the name of the missing key.
Copied from Perforce
 Change: 187267
 ServerID: perforce.ravenbrook.com
2014-10-14 22:05:30 +01:00
Gareth Rees
7db46bbb3f Check alignment of address given to poolfree.
Copied from Perforce
 Change: 187265
 ServerID: perforce.ravenbrook.com
2014-10-14 16:54:10 +01:00
Gareth Rees
9fff9289af Bring the discussion of avert up to date (it's not type-safe in the cool variety).
Copied from Perforce
 Change: 187263
 ServerID: perforce.ravenbrook.com
2014-10-14 10:59:58 +01:00