00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015 #ifndef GLOBAL_H
00016 #define GLOBAL_H
00017
00018 #include <stdio.h>
00019 #include <stdlib.h>
00020 #include <sst_stdint.h>
00021 #include <errno.h>
00022 #include <arpa/inet.h>
00023 #include <sys/param.h>
00024
00025 extern bool InitializeSimMaskToOpCodeTable();
00026 const int HumanFormat = 0;
00027
00028
00029 typedef unsigned int uint;
00030
00031 typedef signed int sint;
00032
00033
00034 typedef uint64_t int64;
00035
00036
00037 typedef uint64_t uint64;
00038 typedef unsigned long ulong;
00039
00040
00041 typedef uint32_t uint32;
00042
00043
00044 typedef int32_t int32;
00045
00046
00047 typedef uint16_t uint16;
00048
00049
00050 typedef int16_t int16;
00051
00052
00053 typedef uint8_t uint8;
00054
00055
00056 typedef int8_t int8;
00057
00058
00059 typedef uint8_t byte;
00060
00061
00062
00063
00064 typedef uint32_t simAddress;
00065
00066
00067 typedef simAddress frameID;
00068
00069
00070 typedef int32 simRegister;
00071
00072
00073 typedef simRegister simPID;
00074
00075
00076 extern const char *instNames[];
00077
00078 #ifndef true
00079 # define true 1
00080 #endif
00081
00082 #ifndef false
00083 # define false 0
00084 #endif
00085
00086
00087 #endif