diff --git a/mps/src/mpmtypes.h b/mps/src/mpmtypes.h index 9f0bcccd2df..f2886816b6c 100644 --- a/mps/src/mpmtypes.h +++ b/mps/src/mpmtypes.h @@ -1,6 +1,6 @@ /* impl.h.mpmtypes: MEMORY POOL MANAGER TYPES * - * $HopeName: MMsrc!mpmtypes.h(trunk.33) $ + * $HopeName: MMsrc!mpmtypes.h(trunk.34) $ * Copyright (C) 1997 The Harlequin Group Limited. All rights reserved. * * .readership: MM developers. @@ -41,6 +41,7 @@ typedef void *Pointer; /* design.mps.type.pointer */ typedef Word RefSet; /* design.mps.refset */ typedef unsigned Rank; /* design.mps.ref */ typedef unsigned RankSet; +typedef unsigned RootMode; typedef Size Epoch; /* design.mps.ld */ typedef unsigned TraceId; /* design.mps.tracer */ typedef unsigned TraceSet; /* design.mps.tracer */ @@ -214,6 +215,10 @@ enum { /* This comment exists as a placeholder for when root modes are */ /* implemented. */ +#define RootModeCONSTANT ((RootMode)1<<0) +#define RootModePROTECTABLE ((RootMode)1<<1) +#define RootModePROTECTABLE_INNER ((RootMode)1<<2) + /* Root Variants -- see design.mps.type.rootvar *