/* * basepage.h Definition of the basepage structure */ #ifndef _BASEP_H #define _BASEP_H typedef struct basep { char *p_lowtpa; /* pointer to self (bottom of TPA) */ char *p_hitpa; /* pointer to top of TPA + 1 */ char *p_tbase; /* base of text segment */ long p_tlen; /* length of text segment */ char *p_dbase; /* base of data segment */ long p_dlen; /* length of data segment */ char *p_bbase; /* base of BSS segment */ long p_blen; /* length of BSS segment */ char *p_dta; /* pointer to current DTA */ struct basep *p_parent; /* pointer to parent's basepage */ char *p_resrvd0; /* reserved for future use */ char *p_env; /* pointer to environment string */ char p_resrvd1[80]; /* scratch area... don't touch */ char p_cmdlin[128]; /* command line image */ } BASEPAGE; extern BASEPAGE *_base; #endif _BASEP_H