evbcmds.c
来自「Coldfire MCF5282 DBug bootloader」· C语言 代码 · 共 54 行
C
54 行
/*
* File: cmds.c
* Purpose: dBUG command set
*
* Notes:
*
* Modifications:
*
*/
#include "src/include/dbug.h"
/********************************************************************/
void
mmap (int, char **);
void
dldbug (int, char **);
void
board_ethaddr (int, char **);
/********************************************************************/
/*
* dBUG commands
*/
UIF_CMD UIF_CMDTAB[] =
{
UIF_CMDS_ALL
CPU_CMDS_ALL
{"mmap", 4,0,0,0,mmap, "Display the memory map", ""},
{"dldbug", 6,0,0,0,dldbug, "Download and update dBUG", ""},
} ;
const int UIF_NUM_CMD = UIF_CMDTAB_SIZE;
/********************************************************************/
/*
* dBUG SET/SHOW commands
*/
UIF_SETCMD UIF_SETCMDTAB[] =
{
UIF_SETCMDS_ALL
CPU_SETCMDS_ALL
#ifdef DBUG_NETWORK
{ "ethaddr",3,0,1,0,board_ethaddr,"<aa:bb:cc:dd:ee:ff>"},
#endif /* DBUG_NETWORK */
} ;
const int UIF_NUM_SETCMD = UIF_SETCMDTAB_SIZE;
/********************************************************************/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?