mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-03-27 01:01:52 -07:00
Add constant mps_rm_prot_inner and document it.
Copied from Perforce Change: 187271 ServerID: perforce.ravenbrook.com
This commit is contained in:
parent
411e38946d
commit
423bb95e4c
2 changed files with 13 additions and 4 deletions
|
|
@ -294,8 +294,9 @@ extern mps_rank_t mps_rank_weak(void);
|
|||
/* Root Modes */
|
||||
/* .rm: Keep in sync with <code/mpmtypes.h#rm> */
|
||||
|
||||
#define MPS_RM_CONST (((mps_rm_t)1<<0))
|
||||
#define MPS_RM_PROT (((mps_rm_t)1<<1))
|
||||
#define MPS_RM_CONST (((mps_rm_t)1<<0))
|
||||
#define MPS_RM_PROT (((mps_rm_t)1<<1))
|
||||
#define MPS_RM_PROT_INNER (((mps_rm_t)1<<1))
|
||||
|
||||
|
||||
/* Allocation Point */
|
||||
|
|
|
|||
|
|
@ -242,8 +242,8 @@ allowing the MPS to detect whether they have changed.
|
|||
The type of :term:`root modes`.
|
||||
|
||||
It should be zero (meaning neither constant or protectable), or
|
||||
the sum of some subset of :c:macro:`MPS_RM_CONST` and
|
||||
:c:macro:`MPS_RM_PROT`.
|
||||
the sum of some of :c:macro:`MPS_RM_CONST`,
|
||||
:c:macro:`MPS_RM_PROT`, and :c:macro:`MPS_RM_PROT_INNER`.
|
||||
|
||||
|
||||
.. c:macro:: MPS_RM_CONST
|
||||
|
|
@ -289,6 +289,14 @@ allowing the MPS to detect whether they have changed.
|
|||
wants the operating system to be able to access the root. Many
|
||||
operating systems can't cope with writing to protected pages.
|
||||
|
||||
.. c:macro:: MPS_RM_PROT_INNER
|
||||
|
||||
The :term:`root mode` for :term:`protectable roots` whose inner
|
||||
pages (only) may be protected. This mode must not be specified
|
||||
unless :c:macro:`MPS_RM_PROT` is also specified. It tells the MPS
|
||||
that it may not place a :term:`barrier (1)` on a :term:`page`
|
||||
that's partly (but not wholly) covered by the :term:`root`.
|
||||
|
||||
|
||||
.. index::
|
||||
single: root; interface
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue