[project @ 1996-01-08 20:28:12 by partain]
[ghc-hetmet.git] / ghc / includes / 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 ************************************************************************/
12
13 #define REPLY_OK                0x00
14
15 /*Startup + Shutdown*/
16 #define PP_INIT                 0x50
17 #define PP_IO_INIT              0x51
18 #define PP_FINISH               0x52
19 #define PP_PETIDS               0x53
20
21 /* Stats stuff */
22 #define PP_STATS                0x54
23 #define PP_STATS_ON             0x55
24 #define PP_STATS_OFF            0x56
25
26 #define PP_FAIL                 0x57
27
28 /*Garbage Collection*/
29 #define PP_GC_INIT              0x58
30 #define PP_FULL_SYSTEM          0x59
31 #define PP_GC_POLL              0x5a
32
33 /*GUM Messages*/
34 #define PP_FETCH                0x5b
35 #define PP_RESUME               0x5c
36 #define PP_ACK                  0x5d
37 #define PP_FISH                 0x5e
38 #define PP_SCHEDULE             0x5f
39 #define PP_FREE                 0x60
40
41 #define MIN_PEOPS               0x50
42 #define MAX_PEOPS               0x60
43
44 #define PEOP_NAMES              "Init", "IOInit", \
45                                 "Finish", "PETIDS", \
46                                 "Stats", "Stats_On", "Stats_Off", \
47                                 "Fail", \
48                                 "GCInit", "FullSystem", "GCPoll", \
49                                 "Fetch","Resume","ACK","Fish","Schedule", \
50                                 "Free"
51
52 #endif /* PEOPCODES_H */