URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [orpmon/] [include/] [common.h] - Diff between revs 816 and 878
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 816 |
Rev 878 |
Line 44... |
Line 44... |
unsigned long srv_ip;
|
unsigned long srv_ip;
|
unsigned char eth_add[6];
|
unsigned char eth_add[6];
|
unsigned long erase_method; /* 0 = do not erase, 1 = fully, 2 = as needed */
|
unsigned long erase_method; /* 0 = do not erase, 1 = fully, 2 = as needed */
|
} global_struct;
|
} global_struct;
|
|
|
|
|
|
/* structure for command interpreter */
|
|
typedef struct {
|
|
const char *name;
|
|
const char *params;
|
|
const char *help;
|
|
int (*func)(int argc, char *argv[]);
|
|
} command_struct;
|
|
|
|
|
extern bd_t bd;
|
extern bd_t bd;
|
extern global_struct global;
|
extern global_struct global;
|
|
|
/* stdio */
|
/* stdio */
|
extern int getc (void);
|
extern int getc (void);
|
Line 81... |
Line 91... |
extern void mtspr(unsigned long spr, unsigned long value);
|
extern void mtspr(unsigned long spr, unsigned long value);
|
|
|
/* For reading SPR. */
|
/* For reading SPR. */
|
extern unsigned long mfspr(unsigned long spr);
|
extern unsigned long mfspr(unsigned long spr);
|
|
|
|
|
#endif /* _COMMON_H_ */
|
#endif /* _COMMON_H_ */
|
|
|
|
|
No newline at end of file
|
No newline at end of file
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.