File nut/boot/bootmon/dialog.c


Included Files


Local Variables

buf
static char buf[9]
Used in: PutHex()  
  PutLongHex()  
  PutShortHex()  

hexdigit
static char hexdigit[]

Used in: GetMac()  
  PutHex()  
  PutLongHex()  
  PutShortHex()  

inbuff
static char inbuff[60]

Used in: GetIP()  
  GetMac()  

Global Function GetIP()

void GetIP ( char* prompt, char* value )
Prototyped in: nut/boot/bootmon/dialog.h
Calls: GetLine() nut/boot/bootmon/dialog.c
  PutString() nut/boot/bootmon/dialog.c
  inet_addr(), strcpy_()
Called by: UserEntry() nut/boot/bootmon/bootmon.c
References Variables: inbuff nut/boot/bootmon/dialog.c

Global Function GetLine()

int GetLine ( char* line, int size )
Prototyped in: nut/boot/bootmon/dialog.h
Calls: PutString() nut/boot/bootmon/dialog.c
  UartRx(), UartTx()
Called by: GetIP() nut/boot/bootmon/dialog.c
  GetMac() nut/boot/bootmon/dialog.c
  UserEntry() nut/boot/bootmon/bootmon.c

Global Function GetMac()

void GetMac ( unsigned char* mac )
Prototyped in: nut/boot/bootmon/dialog.h
Calls: GetLine() nut/boot/bootmon/dialog.c
  PutString() nut/boot/bootmon/dialog.c
  hex2bin()
Called by: UserEntry() nut/boot/bootmon/bootmon.c
References Variables: hexdigit nut/boot/bootmon/dialog.c
  inbuff nut/boot/bootmon/dialog.c

Global Function PutHex()

void PutHex ( unsigned char val )
Prototyped in: nut/boot/bootmon/dialog.h
Calls: PutString() nut/boot/bootmon/dialog.c
References Variables: buf nut/boot/bootmon/dialog.c
  hexdigit nut/boot/bootmon/dialog.c

Global Function PutLongHex()

void PutLongHex ( unsigned long val )
Prototyped in: nut/boot/bootmon/dialog.h
Calls: PutString() nut/boot/bootmon/dialog.c
References Variables: buf nut/boot/bootmon/dialog.c
  hexdigit nut/boot/bootmon/dialog.c

Global Function PutShortHex()

void PutShortHex ( unsigned short val )
Prototyped in: nut/boot/bootmon/dialog.h
Calls: PutString() nut/boot/bootmon/dialog.c
References Variables: buf nut/boot/bootmon/dialog.c
  hexdigit nut/boot/bootmon/dialog.c

Global Function PutString()

int PutString ( char* cp )
Prototyped in: nut/boot/bootmon/dialog.h
Calls: UartTx()
Called by: GetIP() nut/boot/bootmon/dialog.c
  GetLine() nut/boot/bootmon/dialog.c
  GetMac() nut/boot/bootmon/dialog.c
  PutHex() nut/boot/bootmon/dialog.c
  PutLongHex() nut/boot/bootmon/dialog.c
  PutShortHex() nut/boot/bootmon/dialog.c
  UserEntry() nut/boot/bootmon/bootmon.c