=================================================================== RCS file: /home/cvs/OpenXM/src/kan96xx/plugin/cmotag.h,v retrieving revision 1.2 retrieving revision 1.8 diff -u -p -r1.2 -r1.8 --- OpenXM/src/kan96xx/plugin/cmotag.h 2000/01/16 07:55:46 1.2 +++ OpenXM/src/kan96xx/plugin/cmotag.h 2022/09/08 10:49:30 1.8 @@ -1,9 +1,20 @@ -/* $OpenXM$ */ +/* $OpenXM: OpenXM/src/kan96xx/plugin/cmotag.h,v 1.7 2021/03/12 06:45:55 takayama Exp $ */ /* cmotag.h */ -/* #define CMO 1024 It is defined in stackm.h. */ /* Never Use 0 as a CMO tag. */ -#define LARGEID 0x7f000000 -#define CMO_PRIVATE 0x7fff0000 +/* If you add new CMO_*, + you need to make changes following the comment of cmo.c + and modify the two files: + OpenXM/doc/OpenXM-web/cmotag.h + OpenXM/doc/OpenXM-specs/?*.tex + + Do not forget to execute + make gen-cmotag.htmp + to update cmotag.htmp +*/ +#include + +#define LARGEID 0x7f000000 /* 2130706432 */ +#define CMO_PRIVATE 0x7fff0000 /* 2147418112 */ #define CMO_ERROR (LARGEID+1) #define CMO_ERROR2 (LARGEID+2) #define CMO_NULL 1 @@ -12,15 +23,9 @@ #define CMO_STRING 4 #define CMO_MATHCAP 5 - -#define CMO_START_SIGNATURE 0x7fabcd03 -#define CMO_LOCAL_OBJECT 0x7fcdef03 -#define CMO_LOCAL_OBJECT_ASIR (CMO_LOCAL_OBJECT+0) -#define CMO_LOCAL_OBJECT_SM1 (CMO_LOCAL_OBJECT+1) - -#define CMO_ARRAY 16 +#define CMO_ARRAY 16 #define CMO_LIST 17 -#define CMO_ATOM 18 +#define CMO_ATOM 18 #define CMO_MONOMIAL32 19 /* #define CMO_ZZ_OLD 20 */ #define CMO_ZZ_OLD -20 @@ -51,5 +56,12 @@ #define CMO_TREE 61 #define CMO_LAMBDA 62 /* for function definition */ + +#define CMO_START_SIGNATURE 0x7fabcd03 +#define CMO_LOCAL_OBJECT 0x7fcdef03 +#define CMO_LOCAL_OBJECT_ASIR (CMO_LOCAL_OBJECT+0) +#define CMO_LOCAL_OBJECT_SM1 (CMO_LOCAL_OBJECT+1) + /* end of cmotag.h */ +/* #define CMO 1024 It is defined in stackm.h. */