/* -----------------------------------------------------------------------------
- * $Id: StoragePriv.h,v 1.5 1999/01/19 17:06:05 simonm Exp $
+ * $Id: StoragePriv.h,v 1.8 1999/02/05 16:03:02 simonm Exp $
+ *
+ * (c) The GHC Team, 1998-1999
*
* Internal Storage Manger Interface
*
nat n_steps; /* number of steps */
nat max_blocks; /* max blocks in step 0 */
StgMutClosure *mut_list; /* mutable objects in this generation (not G0)*/
+ StgMutClosure *mut_once_list; /* objects that point to younger generations */
/* temporary use during GC: */
StgMutClosure *saved_mut_list;
extern nat alloc_blocks;
extern nat alloc_blocks_lim;
-extern bdescr *allocNursery (bdescr *last_bd, nat blocks);
+extern bdescr *allocNursery ( bdescr *last_bd, nat blocks );
+extern void resizeNursery ( nat blocks );
+
+extern lnat calcLive( void );
+extern lnat calcNeeded( void );
static inline void
dbl_link_onto(bdescr *bd, bdescr **list)
#ifdef DEBUG
extern void memInventory(void);
+extern void checkSanity(nat N);
#endif
#endif /* STORAGEPRIV_H */