00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef ENVIRON_H
00015 #define ENVIRON_H
00016
00017 #include <string>
00018 #include <global.h>
00019 #include <memory.h>
00020 #include <processor.h>
00021 using namespace std;
00022
00023 extern int environInit(string cfgStr, processor *proc,
00024 simAddress addr, int len );
00025 #define ENVIRON_SIZE (0x1000>>1)
00026 #define ENVIRON_ARG_STR_OFFSET (0x0200>>1)
00027 #define ENVIRON_ARG_STR_SIZE (0x0700>>1)
00028 #define ENVIRON_ENV_STR_OFFSET (0x0900>>1)
00029 #define ENVIRON_ENV_STR_SIZE (0x0700>>1)
00030
00031 #define MIN_STACK_SIZE (0x1000>>1)
00032
00033 #endif