summaryrefslogtreecommitdiff
path: root/ghc/runtime/storage/SMcopying.lh
blob: c019e48a4d72208090c8d367d45bc2e829945592 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
\section[SMcopying-header]{Header file for SMcopying}

\begin{code}
void SetCAFInfoTables	PROTO(( P_ CAFlist ));
void EvacuateRoots	PROTO(( P_ roots[], I_ rootno ));
void EvacuateAStack	PROTO(( PP_ stackA, PP_ botA ));
void EvacuateBStack	PROTO(( P_ stackB, P_ botB, I_ *roots ));
void Scavenge (STG_NO_ARGS);

#ifdef GRAN
void EvacuateEvents(STG_NO_ARGS);
#endif
#ifdef CONCURRENT
void EvacuateSparks(STG_NO_ARGS);
#endif

#ifdef GCdu
void EvacuateCAFs PROTO(( P_ CAFlist ));
#else /* !GCdu */
void EvacAndScavengeCAFs PROTO(( P_ CAFlist, I_ *extra_words, I_ *roots ));
#endif /* !GCdu */
\end{code}