- fixed exception vector
git-svn-id: http://moon:8086/svn/mips@24 a8ebac50-d88d-4704-bea3-6648445a41b3
This commit is contained in:
@@ -132,6 +132,14 @@ void Exec_at(void *pEntry)
|
||||
".set noreorder\n"
|
||||
);
|
||||
|
||||
__asm
|
||||
(
|
||||
// Enable User Mode and Interrupts on RFE
|
||||
// Exception Vector = 0xBFC00080
|
||||
"li $26, 0x1000000C\n"
|
||||
"mtc0 $26, $12\n"
|
||||
);
|
||||
|
||||
__asm
|
||||
(
|
||||
"mtc0 %[pEntry], $14\n"
|
||||
|
||||
@@ -153,6 +153,14 @@ void Exec_at(void *pEntry)
|
||||
".set noreorder\n"
|
||||
);
|
||||
|
||||
__asm
|
||||
(
|
||||
// Enable User Mode and Interrupts on RFE
|
||||
// Exception Vector = 0xBFC00080
|
||||
"li $26, 0x1000000C\n"
|
||||
"mtc0 $26, $12\n"
|
||||
);
|
||||
|
||||
__asm
|
||||
(
|
||||
"mtc0 %[pEntry], $14\n"
|
||||
|
||||
Reference in New Issue
Block a user