(F)SLIT -> (f)sLit in Parser
[ghc-hetmet.git] / rts / parallel / PEOpCodes.h
1 #ifndef PEOPCODES_H
2 #define PEOPCODES_H
3
4 /************************************************************************
5 *                         PEOpCodes.h                                   *
6 *                                                                       *
7 *       This file contains definitions for all the GUM PE Opcodes       *
8 *       It's based on the GRAPH for PVM version                         *
9 *       Phil Trinder, Glasgow University 8th December 1994              *
10 *                                                                       *
11    RFPointon, December 1999
12      - removed PP_SYSMAN_TID, introduced PP_READY
13      - removed PP_MAIN_TASK, introduced PP_NEWPE
14      - added PP_REVAL
15 ************************************************************************/
16
17 #define REPLY_OK                0x00
18
19 /*Startup + Shutdown*/
20 #define PP_READY                0x50  /* sent PEs -> SysMan */
21 #define PP_NEWPE                0x51  /* sent via newHost notify -> SysMan */
22 #define PP_FINISH               0x52  /* sent PEs & via taskExit notfiy -> SysMan */
23 #define PP_PETIDS               0x53  /* sent sysman -> PEs */
24
25 /* Stats stuff */
26 #define PP_STATS                0x54
27 #define PP_STATS_ON             0x55
28 #define PP_STATS_OFF            0x56
29
30 //#define PP_FAIL               0x57 
31
32 /*Garbage Collection*/
33 #define PP_GC_INIT              0x58
34 #define PP_FULL_SYSTEM          0x59
35 #define PP_GC_POLL              0x5a
36
37 /*GUM Messages*/
38 #define PP_FETCH                0x5b
39 #define PP_RESUME               0x5c
40 #define PP_ACK                  0x5d
41 #define PP_FISH                 0x5e
42 #define PP_SCHEDULE             0x5f
43 #define PP_FREE                 0x60
44 #define PP_REVAL                0x61
45
46
47 #define MIN_PEOPS               0x50
48 #define MAX_PEOPS               0x61
49
50 #define PEOP_NAMES              "Ready", "NewPE", \
51                                 "Finish", "PETIDS", \
52                                 "Stats", "Stats_On", "Stats_Off", \
53                                 "Fail", \
54                                 "GCInit", "FullSystem", "GCPoll", \
55                                 "Fetch","Resume","ACK","Fish","Schedule", \
56                                 "Free","REval"
57
58 #endif /* PEOPCODES_H */