- fixed bootloader makefile
- interupts disabled after bootloader - enable interrupts in board file git-svn-id: http://moon:8086/svn/mips@109 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
@@ -91,7 +91,8 @@ void board_init(void)
|
||||
|
||||
// Setup interrupt support
|
||||
interrupt_init();
|
||||
|
||||
interrupt_enable_all();
|
||||
|
||||
// Do some initializations here
|
||||
}
|
||||
|
||||
|
||||
@@ -91,6 +91,7 @@ void board_init(void)
|
||||
|
||||
// Setup interrupt support
|
||||
interrupt_init();
|
||||
interrupt_enable_all();
|
||||
|
||||
// Do some initializations here
|
||||
}
|
||||
|
||||
@@ -56,12 +56,6 @@ $install: lw $v0, 0($t1)
|
||||
jalr $k0
|
||||
nop
|
||||
|
||||
# Set kernel-mode and enable interrupts
|
||||
mfc0 $a0, $12
|
||||
li $a1, 3
|
||||
or $a0, $a1
|
||||
mtc0 $a0, $12
|
||||
|
||||
# Set environment
|
||||
li $a0, 1
|
||||
la $a1, argv
|
||||
|
||||
Reference in New Issue
Block a user