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

genxx.h File Reference

Go to the source code of this file.

Classes

struct  _STRUC_ELEMENT

Defines

#define MAX_ELEMENT_NAME_LEN   127
#define SEF_ENABLE_MASK   0x0000FF00
#define SEF_HAL   0x00000100
#define SEF_KERNEL   0x00000200
#define SEF_INC_FORMAT_MASK   0x00010000
#define SEF_H_FORMAT   0x00000000
#define SEF_INC_FORMAT   0x00010000
#define SEF_TYPE_MASK   0x000000FF
#define SEF_EQUATE   0x00000000
#define SEF_EQUATE64   0x00000001
#define SEF_COMMENT   0x00000002
#define SEF_STRING   0x00000003
#define SEF_BITFLD   0x00000004
#define SEF_BITALIAS   0x00000005
#define SEF_STRUCTURE   0x00000006
#define SEF_SETMASK   0x00000010
#define SEF_CLRMASK   0x00000011
#define SEF_END   0x00000012
#define SEF_START   0x00000013
#define SEF_PATH   0x00000014
#define SEF_FLAGS   0
#define HAL   SEF_HAL
#define KERNEL   SEF_KERNEL
#define ULONG_MAX   0xFFFFFFFF
#define SEF_UINT   SEF_EQUATE
#define genDef(Prefix, Type, Member)   { SEF_EQUATE, OFFSET(Type, Member), #Prefix #Member },
#define genAlt(Name, Type, Member)   { SEF_EQUATE, OFFSET(Type, Member), #Name },
#define genCom(Comment)   { SEF_COMMENT, 0, Comment },
#define genNam(Name)   { SEF_EQUATE, (ULONG)(Name), #Name },
#define genNamUint(Name)   { SEF_UINT, (UINT64)(Name), #Name },
#define genVal(Name, Value)   { SEF_EQUATE, (ULONG)(Value), #Name },
#define genValUint(Name, Value)   { SEF_UINT, (UINT64)(Value), #Name },
#define genSpc()   { SEF_STRING, 0, "\n" },
#define genStr(String, Value)   { SEF_STRING, (ULONG_PTR)(Value), String },
#define genTxt(String)   { SEF_STRING, 0, String },
#define DisableInc(x)   { SEF_CLRMASK, x, "" },
#define EnableInc(x)   { SEF_SETMASK, x, "" },
#define MARKER_STRING   "This is the genxx marker string."
#define setPath(p, f)   { SEF_PATH | f, 0, p },
#define START_LIST   { SEF_START, (ULONG_PTR)ElementList, MARKER_STRING },
#define END_LIST   { SEF_END, 0, "" }
#define ASSERT_SAME(x, y)
#define ROUND_UP(Val, Bnd)   (((Val) + ((Bnd) - 1)) & ~((Bnd) - 1))
#define OFFSET(type, field)   ((ULONG_PTR)(&((type *)0)->field))

Typedefs

typedef _STRUC_ELEMENT STRUC_ELEMENT
typedef _STRUC_ELEMENTPSTRUC_ELEMENT


Define Documentation

#define ASSERT_SAME x,
 ) 
 

Definition at line 234 of file genxx.h.

#define DisableInc  )     { SEF_CLRMASK, x, "" },
 

Definition at line 196 of file genxx.h.

Referenced by main().

#define EnableInc  )     { SEF_SETMASK, x, "" },
 

Definition at line 199 of file genxx.h.

Referenced by main().

#define END_LIST   { SEF_END, 0, "" }
 

Definition at line 226 of file genxx.h.

#define genAlt Name,
Type,
Member   )     { SEF_EQUATE, OFFSET(Type, Member), #Name },
 

Definition at line 117 of file genxx.h.

Referenced by main().

#define genCom Comment   )     { SEF_COMMENT, 0, Comment },
 

Definition at line 128 of file genxx.h.

Referenced by main().

#define genDef Prefix,
Type,
Member   )     { SEF_EQUATE, OFFSET(Type, Member), #Prefix #Member },
 

Definition at line 108 of file genxx.h.

Referenced by main().

#define genNam Name   )     { SEF_EQUATE, (ULONG)(Name), #Name },
 

Definition at line 137 of file genxx.h.

#define genNamUint Name   )     { SEF_UINT, (UINT64)(Name), #Name },
 

Definition at line 146 of file genxx.h.

 
#define genSpc  )     { SEF_STRING, 0, "\n" },
 

Definition at line 175 of file genxx.h.

Referenced by main().

#define genStr String,
Value   )     { SEF_STRING, (ULONG_PTR)(Value), String },
 

Definition at line 184 of file genxx.h.

#define genTxt String   )     { SEF_STRING, 0, String },
 

Definition at line 193 of file genxx.h.

#define genVal Name,
Value   )     { SEF_EQUATE, (ULONG)(Value), #Name },
 

Definition at line 157 of file genxx.h.

Referenced by main().

#define genValUint Name,
Value   )     { SEF_UINT, (UINT64)(Value), #Name },
 

Definition at line 166 of file genxx.h.

#define HAL   SEF_HAL
 

Definition at line 89 of file genxx.h.

#define KERNEL   SEF_KERNEL
 

Definition at line 90 of file genxx.h.

#define MARKER_STRING   "This is the genxx marker string."
 

Definition at line 202 of file genxx.h.

#define MAX_ELEMENT_NAME_LEN   127
 

Definition at line 29 of file genxx.h.

#define OFFSET type,
field   )     ((ULONG_PTR)(&((type *)0)->field))
 

Definition at line 250 of file genxx.h.

Referenced by main().

#define ROUND_UP Val,
Bnd   )     (((Val) + ((Bnd) - 1)) & ~((Bnd) - 1))
 

Definition at line 241 of file genxx.h.

#define SEF_BITALIAS   0x00000005
 

Definition at line 71 of file genxx.h.

#define SEF_BITFLD   0x00000004
 

Definition at line 70 of file genxx.h.

#define SEF_CLRMASK   0x00000011
 

Definition at line 74 of file genxx.h.

#define SEF_COMMENT   0x00000002
 

Definition at line 68 of file genxx.h.

#define SEF_ENABLE_MASK   0x0000FF00
 

Definition at line 52 of file genxx.h.

#define SEF_END   0x00000012
 

Definition at line 75 of file genxx.h.

#define SEF_EQUATE   0x00000000
 

Definition at line 66 of file genxx.h.

#define SEF_EQUATE64   0x00000001
 

Definition at line 67 of file genxx.h.

#define SEF_FLAGS   0
 

Definition at line 88 of file genxx.h.

#define SEF_H_FORMAT   0x00000000
 

Definition at line 57 of file genxx.h.

#define SEF_HAL   0x00000100
 

Definition at line 53 of file genxx.h.

#define SEF_INC_FORMAT   0x00010000
 

Definition at line 58 of file genxx.h.

#define SEF_INC_FORMAT_MASK   0x00010000
 

Definition at line 56 of file genxx.h.

#define SEF_KERNEL   0x00000200
 

Definition at line 54 of file genxx.h.

#define SEF_PATH   0x00000014
 

Definition at line 77 of file genxx.h.

#define SEF_SETMASK   0x00000010
 

Definition at line 73 of file genxx.h.

#define SEF_START   0x00000013
 

Definition at line 76 of file genxx.h.

#define SEF_STRING   0x00000003
 

Definition at line 69 of file genxx.h.

#define SEF_STRUCTURE   0x00000006
 

Definition at line 72 of file genxx.h.

#define SEF_TYPE_MASK   0x000000FF
 

Definition at line 65 of file genxx.h.

#define SEF_UINT   SEF_EQUATE
 

Definition at line 99 of file genxx.h.

#define setPath p,
 )     { SEF_PATH | f, 0, p },
 

Definition at line 214 of file genxx.h.

#define START_LIST   { SEF_START, (ULONG_PTR)ElementList, MARKER_STRING },
 

Definition at line 223 of file genxx.h.

#define ULONG_MAX   0xFFFFFFFF
 

Definition at line 93 of file genxx.h.


Typedef Documentation

typedef struct _STRUC_ELEMENT * PSTRUC_ELEMENT
 

typedef struct _STRUC_ELEMENT STRUC_ELEMENT
 


Generated on Sat May 15 19:43:51 2004 for test by doxygen 1.3.7