- 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:
@@ -11,17 +11,6 @@ _start:
|
||||
# set stack pointer
|
||||
la $sp, stack_ptr
|
||||
|
||||
# Set status register
|
||||
# Kernel mode (SR[1]=0), Int disabled(SR[0]=0), after RFE into main
|
||||
li $26, 0x1040000C
|
||||
mtc0 $26, $12
|
||||
li $26, 0x00000000
|
||||
mtc0 $26, $13
|
||||
|
||||
mfc0 $26, $15
|
||||
nop
|
||||
mtc0 $26, $31
|
||||
|
||||
# Invalidate I-Cache
|
||||
cop0 32
|
||||
|
||||
|
||||
Reference in New Issue
Block a user