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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [bootloaders/] [orpmon/] [drivers/] [int.c] - Diff between revs 406 and 419

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

Rev 406 Rev 419
Line 73... Line 73...
  }
  }
}
}
 
 
 
 
void
void
int_error(int vect)
int_error(int vect, unsigned long epcr)
{
{
  printf("\n\nERROR - ");
  printf("\n\nERROR - ");
  switch(vect)
  switch(vect)
    {
    {
    case 2:
    case 2:
Line 92... Line 92...
    default:
    default:
      printf("UNKNOWN ERROR (%d)\n",vect);
      printf("UNKNOWN ERROR (%d)\n",vect);
      break;
      break;
    }
    }
 
 
 
  printf("EPCR: 0x%.8x\n",epcr);
 
 
  printf("\n");
  printf("\n");
 
 
  // TODO - print some more diagnostics here
  // TODO - print some more diagnostics here
 
 
  printf("Attemping to reset...\n\n");
  printf("Attemping to reset...\n\n");

powered by: WebSVN 2.1.0

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