iocmd.awk
676 Bytes
#
# iocmd.awk - ide diagnostic functions for RDRAM module
#
# First column is the name
#
# Second column is the type:
# CMD for command
# SCMD for command expecting ide-parsed args
# DCMD for command expecting a communication struct arg
# INT for integer constant
# STR for string constant
# Third column is value:
# CMD value is the name of the function (to call with char * argv)
# STR value is the quoted string
# INT value is the integer
# SCMD value is the name of the function (to call with sym_t * argv)
# DCMD value is the name of the function (to call with a comm struct ptr)
#
io DCMD io IO test
reg DCMD dgReg reg read/write