URL
https://opencores.org/ocsvn/openrisc/openrisc/trunk
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, ...);
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.