X-Git-Url: http://git.megacz.com/?a=blobdiff_plain;f=includes%2Fstg%2FRegs.h;h=d620bf1466238ff611bf15020ed9d597947f14f0;hb=ba67234542412c2ca6656dbeadb7d225bc94d4b2;hp=fb26254d5a54d7769cf56b5afa05a6d75b78123a;hpb=a2a67cd520b9841114d69a87a423dabcb3b4368e;p=ghc-hetmet.git diff --git a/includes/stg/Regs.h b/includes/stg/Regs.h index fb26254..d620bf1 100644 --- a/includes/stg/Regs.h +++ b/includes/stg/Regs.h @@ -1,9 +1,20 @@ /* ----------------------------------------------------------------------------- * - * (c) The GHC Team, 1998-2004 + * (c) The GHC Team, 1998-2009 * * Registers in the STG machine. * + * Do not #include this file directly: #include "Rts.h" instead. + * + * To understand the structure of the RTS headers, see the wiki: + * http://hackage.haskell.org/trac/ghc/wiki/Commentary/SourceTree/Includes + * + * ---------------------------------------------------------------------------*/ + +#ifndef REGS_H +#define REGS_H + +/* * The STG machine has a collection of "registers", each one of which * may or may not correspond to an actual machine register when * running code. @@ -17,10 +28,7 @@ * BaseReg is not in a machine register, then the register table is * used from an absolute location (MainCapability). * - * ---------------------------------------------------------------------------*/ - -#ifndef REGS_H -#define REGS_H + */ typedef struct { StgWord stgEagerBlackholeInfo;