mirror of
https://git.planet-casio.com/Lephenixnoir/gint.git
synced 2025-07-08 13:27:34 +02:00
kernel: fix trying to set CPUOPM on SH3
Results in an Illegal Instruction no the ICBI that follows the value change.
This commit is contained in:
parent
9d1187b5b4
commit
e2886d2bd7
1 changed files with 1 additions and 1 deletions
|
@ -99,7 +99,7 @@ static void drivers_switch(int who)
|
||||||
|
|
||||||
static void kinit_cpu(void)
|
static void kinit_cpu(void)
|
||||||
{
|
{
|
||||||
cpu_setCPUOPM(cpu_getCPUOPM() | 0x00000008);
|
if(isSH4()) cpu_setCPUOPM(cpu_getCPUOPM() | 0x00000008);
|
||||||
}
|
}
|
||||||
|
|
||||||
/* kinit(): Install and start gint */
|
/* kinit(): Install and start gint */
|
||||||
|
|
Loading…
Add table
Reference in a new issue