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

Subversion Repositories test_project

[/] [test_project/] [trunk/] [sw/] [except/] [except_test.c] - Diff between revs 25 and 52

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

Rev 25 Rev 52
Line 2... Line 2...
 
 
#include "spr_defs.h"
#include "spr_defs.h"
#include "support.h"
#include "support.h"
#include "int.h"
#include "int.h"
 
 
 
#if USE_UCLIBC
 
#include "stdio.h"
 
#endif
 
 
/* Define RAM physical location and size
/* Define RAM physical location and size
   Bottom half will be used for this program, the rest
   Bottom half will be used for this program, the rest
   will be used for testing */
   will be used for testing */
#define FLASH_START 0x04000000
#define FLASH_START 0x04000000
#define FLASH_SIZE  0x00200000
#define FLASH_SIZE  0x00200000
Line 122... Line 126...
  immu_disable ();
  immu_disable ();
  dmmu_disable ();
  dmmu_disable ();
 
 
  report(line);
  report(line);
  report (0xeeeeeeee);
  report (0xeeeeeeee);
  exit (1);
  or32_exit (1);
}
}
 
 
void test_dummy (void)
void test_dummy (void)
{
{
        asm("_test:");
        asm("_test:");
Line 1148... Line 1152...
  /* Exception priority test */
  /* Exception priority test */
//  except_priority_test (); // Doesn't work on or1ksim
//  except_priority_test (); // Doesn't work on or1ksim
#endif
#endif
 
 
  report (0xdeaddead);
  report (0xdeaddead);
  exit (0);
  or32_exit (0);
 
 
  return 0;
  return 0;
}
}
 
 
 
 
 No newline at end of file
 No newline at end of file

powered by: WebSVN 2.1.0

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