Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | File List | Class Members | File Members

/users/u3/mtikir/PMaCInstrumentor_v1601/include/defines/FileHeader.d

Go to the documentation of this file.
00001 /*
00002 ##################################################################
00003 XCOFF32     XCOFF64     Name     Description
00004 Offset     Length     Offset     Length
00005 0     2     0     2     f_magic     Target machine
00006 2     2     2     2     f_nscns     Number of sections
00007 4     4     4     4     f_timdat     Time and date of file creation
00008 8     4     8     8     f_symptr+     Byte offset to symbol table start
00009 12     4     20     4     f_nsyms+     Number of entries in symbol table
00010 16     2     16     2     f_opthdr     Number of bytes in optional header
00011 18     2     18     2     f_flags     Flags (see "Field Definitions")
00012 + Use "32" or "64" suffix when __XCOFF_HYBRID__ is defined.
00013 ##################################################################
00014 */
00015 #define FILEHEADER_MACROS_BASIS(__str)  \
00016     GET_FIELD_BASIS(uint16_t,f_magic); \
00017     GET_FIELD_BASIS(uint16_t,f_nscns); \
00018     GET_FIELD_BASIS(uint32_t,f_timdat); \
00019     GET_FIELD_BASIS(uint64_t,f_symptr); \
00020     GET_FIELD_BASIS(uint32_t,f_nsyms); \
00021     GET_FIELD_BASIS(uint16_t,f_opthdr); \
00022     GET_FIELD_BASIS(uint16_t,f_flags);
00023 
00024 #define FILEHEADER_MACROS_CLASS(__str)  \
00025     GET_FIELD_CLASS(uint16_t,f_magic); \
00026     GET_FIELD_CLASS(uint16_t,f_nscns); \
00027     GET_FIELD_CLASS(uint32_t,f_timdat); \
00028     GET_FIELD_CLASS(uint64_t,f_symptr); \
00029     GET_FIELD_CLASS(uint32_t,f_nsyms); \
00030     GET_FIELD_CLASS(uint16_t,f_opthdr); \
00031     GET_FIELD_CLASS(uint16_t,f_flags);

Generated on Mon Jan 28 11:08:31 2008 for PMaCInstrumentor by doxygen 1.3.5