- Cleanedup toolchain
Committed on the Free edition of March Hare Software CVSNT Server. Upgrade to CVS Suite for more features and support: http://march-hare.com/cvsnt/ git-svn-id: http://moon:8086/svn/vhdl/trunk@381 cc03376c-175c-47c8-b038-4cd826a8556b
This commit is contained in:
@@ -103,7 +103,7 @@ void _exc_ibe(void)
|
||||
__asm
|
||||
(
|
||||
".set noreorder\n"
|
||||
" li $t1, 0xAc563440\n"
|
||||
" li $t1, 0x10000000\n"
|
||||
" jr $t1\n"
|
||||
"nop\n"
|
||||
".set reorder\n"
|
||||
@@ -117,7 +117,7 @@ void _exc_dbe(void)
|
||||
__asm
|
||||
(
|
||||
".set noreorder\n"
|
||||
" li $t1, 0xAc563440\n"
|
||||
" li $t1, 0x10000000\n"
|
||||
" lw $t0, 0($t1)\n"
|
||||
"nop\n"
|
||||
" jr $t0\n"
|
||||
@@ -143,8 +143,6 @@ void handler1(void)
|
||||
int main(void)
|
||||
{
|
||||
int buf[256];
|
||||
volatile int *pLED = (int*)sys_led_port;
|
||||
volatile int *pFlash = (int*)sys_flash_io;
|
||||
int i, sel;
|
||||
|
||||
interrupt_register(0, handler0);
|
||||
@@ -152,9 +150,6 @@ int main(void)
|
||||
interrupt_register(1, handler1);
|
||||
interrupt_enable(1);
|
||||
|
||||
for (i=0; i < 8192; i++)
|
||||
*pLED = *pFlash;
|
||||
|
||||
while(1)
|
||||
{
|
||||
printf("Welche exception möchten Sie testen?\n");
|
||||
|
||||
Reference in New Issue
Block a user