gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Macros
exec_ecoff.h File Reference

Go to the source code of this file.

Classes

struct  ecoff_filehdr
 
struct  ecoff_aouthdr
 
struct  ecoff_scnhdr
 
struct  ecoff_exechdr
 

Macros

#define ECOFF_HDR_SIZE   (sizeof(struct ecoff_exechdr))
 
#define ECOFF_OMAGIC   0407
 
#define ECOFF_NMAGIC   0410
 
#define ECOFF_ZMAGIC   0413
 
#define ECOFF_ROUND(value, by)   (((value) + (by) - 1) & ~((by) - 1))
 
#define ECOFF_BLOCK_ALIGN(ep, value)
 
#define ECOFF_TXTOFF(ep)
 
#define ECOFF_DATOFF(ep)   (ECOFF_BLOCK_ALIGN((ep), ECOFF_TXTOFF(ep) + (ep)->a.tsize))
 
#define ECOFF_SEGMENT_ALIGN(ep, value)
 

Macro Definition Documentation

#define ECOFF_BLOCK_ALIGN (   ep,
  value 
)
Value:
((ep)->a.magic == ECOFF_ZMAGIC ? ECOFF_ROUND((value), ECOFF_LDPGSZ) : \
(value))
Bitfield< 8 > a
Definition: miscregs.hh:1377
#define ECOFF_ROUND(value, by)
Definition: exec_ecoff.h:88
#define ECOFF_LDPGSZ
Definition: ecoff_machdep.h:49
#define ECOFF_ZMAGIC
Definition: exec_ecoff.h:86
Bitfield< 1 > ep

Definition at line 91 of file exec_ecoff.h.

#define ECOFF_DATOFF (   ep)    (ECOFF_BLOCK_ALIGN((ep), ECOFF_TXTOFF(ep) + (ep)->a.tsize))

Definition at line 100 of file exec_ecoff.h.

Referenced by EcoffObject::EcoffObject().

#define ECOFF_HDR_SIZE   (sizeof(struct ecoff_exechdr))

Definition at line 82 of file exec_ecoff.h.

#define ECOFF_NMAGIC   0410

Definition at line 85 of file exec_ecoff.h.

#define ECOFF_OMAGIC   0407

Definition at line 84 of file exec_ecoff.h.

#define ECOFF_ROUND (   value,
  by 
)    (((value) + (by) - 1) & ~((by) - 1))

Definition at line 88 of file exec_ecoff.h.

#define ECOFF_SEGMENT_ALIGN (   ep,
  value 
)
Value:
(ECOFF_ROUND((value), ((ep)->a.magic == ECOFF_ZMAGIC ? ECOFF_LDPGSZ : \
Bitfield< 8 > a
Definition: miscregs.hh:1377
#define ECOFF_ROUND(value, by)
Definition: exec_ecoff.h:88
#define ECOFF_LDPGSZ
Definition: ecoff_machdep.h:49
#define ECOFF_SEGMENT_ALIGNMENT(ep)
Definition: ecoff_machdep.h:66
#define ECOFF_ZMAGIC
Definition: exec_ecoff.h:86
Bitfield< 1 > ep

Definition at line 103 of file exec_ecoff.h.

#define ECOFF_TXTOFF (   ep)
Value:
((ep)->a.magic == ECOFF_ZMAGIC ? 0 : \
ECOFF_ROUND(ECOFF_HDR_SIZE + (ep)->f.f_nscns * \
Bitfield< 8 > a
Definition: miscregs.hh:1377
#define ECOFF_HDR_SIZE
Definition: exec_ecoff.h:82
#define ECOFF_ROUND(value, by)
Definition: exec_ecoff.h:88
#define ECOFF_SEGMENT_ALIGNMENT(ep)
Definition: ecoff_machdep.h:66
#define ECOFF_ZMAGIC
Definition: exec_ecoff.h:86
Bitfield< 1 > ep

Definition at line 95 of file exec_ecoff.h.

Referenced by EcoffObject::EcoffObject().

#define ECOFF_ZMAGIC   0413

Definition at line 86 of file exec_ecoff.h.


Generated on Fri Jun 9 2017 13:03:56 for gem5 by doxygen 1.8.6