Specifications
System Macros Invoked by Drivers
$EQULST
$EQULST
Defines a list of symbols and assigns values to the symbols.
Format
$EQULST prefix ,[gbl=LOCAL] ,init ,[incr=1] ,list
Parameters
prefix
Prefix to be used in forming the names of the symbols.
[gbl=LOCAL]
Scope of the definition of the symbol, either LOCAL, the default, or GLOBAL.
init
Value to be assigned to the first symbol in the list.
[incr=1]
Increment by which to increase the value of each succeeding symbol in the list.
The default is 1.
list
List of symbols to be defined. Each element in the list can have one of the
following forms:
<symbol> — where symbol is the string appended to the prefix, forming the
name of the symbol; the value of the symbol is assigned based on the values
of init and incr.
<symbol,value> — where symbol is the string that is appended to the
prefix, forming the name of the symbol, and value specifies the value (in
decimal) of the symbol.
Description
See the descriptions of the $DEFINI and _VIELD macros for additional
information on defining symbols for data structure fields.
Example
$EQULST XA_K_,,0,1,<- ;Define CSR bit values
<fnct1,2>-
<fnct2,4>-
<fnct3,8>-
<statusa,2048>-
<statusb,1024>-
<statusc,512>-
>
2–30