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

Subversion Repositories or1k

[/] [or1k/] [trunk/] [orpmon/] [common/] [common.c] - Diff between revs 822 and 828

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

Rev 822 Rev 828
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 ();
  extern unsigned long calc_mycrc32 (void);
  unsigned long t;
  unsigned long t;
 
#if 0
  extern unsigned long mycrc32, mysize;
  extern unsigned long mycrc32, mysize;
 
#endif
  /* Initialize controller */
  /* Initialize controller */
  change_console_type (CT_UART);
  change_console_type (CT_UART);
  printf ("Self check... ");
  printf ("Self check... ");
  if (t = calc_mycrc32 ()) printf ("FAILED!!!\n");
  if ((t = calc_mycrc32 ())) printf ("FAILED!!!\n");
  else printf ("OK\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);
 
 

powered by: WebSVN 2.1.0

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