4c096a0922cbcd96439c774a6369ea80a13ea542
[ghc-hetmet.git] / ghc / runtime / storage / SMextn.lh
1 \section[SMextensions-header]{Header file for SMextensions}
2
3 \begin{code}
4 #ifndef PAR
5
6 void initExtensions PROTO((smInfo *sm));
7
8 # if defined(_INFO_COPYING)
9
10 void evacSPTable PROTO((smInfo *sm));
11 void reportDeadMallocPtrs PROTO((StgPtr oldMPList, StgPtr new, StgPtr *newMPLust));
12
13 # endif /* _INFO_COPYING */
14
15 # if defined(_INFO_COMPACTING)
16
17 void sweepUpDeadMallocPtrs PROTO((P_ MallocPtrList,
18                                   P_ base,
19                                   BitWord *bits
20                                 ));
21
22 # endif /* _INFO_COMPACTING */
23
24 void TrashMem PROTO(( P_ from, P_ to ));
25
26 # if defined(DEBUG)
27
28 void Trash_MallocPtr_Closure PROTO((P_ mptr));
29 void Validate_MallocPtrList PROTO(( P_ MallocPtrList ));
30
31 void Trace_MPdies  PROTO((void));
32 void Trace_MPlives PROTO((void));
33 void Trace_MPforwarded PROTO(( P_ MPPtr, P_ newAddress ));
34
35 # endif /* DEBUG */
36
37 #endif /* !PAR */
38 \end{code}