-- This file is created automatically.  Do not edit by hand.


-- Base table offsets for the Native Code Generator
#define OFFSET_R1 0
#define OFFSET_R2 1
#define OFFSET_R3 2
#define OFFSET_R4 3
#define OFFSET_R5 4
#define OFFSET_R6 5
#define OFFSET_R7 6
#define OFFSET_R8 7
#define OFFSET_R9 8
#define OFFSET_R10 9
#define OFFSET_F1 10
#define OFFSET_F2 10
#define OFFSET_F3 11
#define OFFSET_F4 11
#define OFFSET_D1 12
#define OFFSET_D2 13
#define OFFSET_Sp 15
#define OFFSET_SpLim 16
#define OFFSET_Hp 17
#define OFFSET_HpLim 18
#define OFFSET_CurrentTSO 19
#define OFFSET_CurrentNursery 21
#define OFFSET_HpAlloc 22
#define OFFSET_stgGCEnter1 (-2)
#define OFFSET_stgGCFun (-1)

-- Offset of the .r (StgRegTable) field in a Capability
#define OFFW_Capability_r (2)

-- Storage Manager offsets for the Native Code Generator

-- TSO offsets for the Native Code Generator
#define TSO_SP 11
#define TSO_STACK 12

-- Block descriptor offsets for the Native Code Generator
#define BDESCR_START 0
#define BDESCR_FREE 1
#define BDESCR_BLOCKS 6
