URL
https://opencores.org/ocsvn/or1k/or1k/trunk
[/] [or1k/] [trunk/] [orpmon/] [common/] [common.c] - Diff between revs 817 and 820
Go to most recent revision |
Show entire file |
Details |
Blame |
View Log
Rev 817 |
Rev 820 |
Line 236... |
Line 236... |
}
|
}
|
|
|
/* Main shell loop */
|
/* Main shell loop */
|
int main(int argc, char **argv)
|
int main(int argc, char **argv)
|
{
|
{
|
|
extern unsigned long calc_mycrc32 ();
|
/* Initialize controller */
|
/* Initialize controller */
|
change_console_type (CT_UART);
|
change_console_type (CT_UART);
|
|
printf ("Self check... ");
|
|
if (calc_mycrc32 ()) printf ("FAILED!!!\n");
|
|
else printf ("OK\n");
|
mon_init ();
|
mon_init ();
|
|
|
if (HELP_ENABLED) register_command ("help", "", "shows this help", help_cmd);
|
if (HELP_ENABLED) register_command ("help", "", "shows this help", help_cmd);
|
|
|
#ifdef XESS
|
#ifdef XESS
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.