OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [bootloaders/] [orpmon/] [include/] [common.h] - Diff between revs 2 and 140

Go to most recent revision | Show entire file | Details | Blame | View Log

Rev 2 Rev 140
Line 58... Line 58...
  const char *params;
  const char *params;
  const char *help;
  const char *help;
  int (*func)(int argc, char *argv[]);
  int (*func)(int argc, char *argv[]);
} command_struct;
} command_struct;
 
 
 
// Keep a CRC during TFTP receive
 
#define TFTP_CALC_CRC
 
 
typedef struct  {
typedef struct  {
  unsigned long eth_ip;
  unsigned long eth_ip;
  unsigned long eth_mask;
  unsigned long eth_mask;
  unsigned long eth_gw;
  unsigned long eth_gw;
  unsigned long tftp_srv_ip;
  unsigned long tftp_srv_ip;
Line 78... Line 81...
extern int getc (void);
extern int getc (void);
extern int testc (void);
extern int testc (void);
extern int ctrlc (void);
extern int ctrlc (void);
extern void putc (const char c);
extern void putc (const char c);
extern int printf (const char *fmt, ...);
extern int printf (const char *fmt, ...);
 
extern void show_mem (int start, int stop);
extern unsigned long parse_ip (char *ip);
extern unsigned long parse_ip (char *ip);
 
 
/* simulator stdout */
/* simulator stdout */
extern void __printf (const char *fmt, ...);
extern void __printf (const char *fmt, ...);
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.