cp15: add support for process ID
This commit is contained in:
parent
c1624b2b33
commit
ee39a36f20
|
@ -366,6 +366,13 @@ BOOL armcp15_moveCP2ARM(armcp15_t *armcp15, u32 * R, u8 CRn, u8 CRm, u8 opcode1,
|
|||
}
|
||||
}
|
||||
return FALSE;
|
||||
case 13:
|
||||
if(opcode1 == 0 && opcode2 == 1)
|
||||
{
|
||||
*R = armcp15->processID;
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
default:
|
||||
LOG("Unsupported CP15 operation : MRC\n");
|
||||
return FALSE;
|
||||
|
@ -488,6 +495,13 @@ BOOL armcp15_moveARM2CP(armcp15_t *armcp15, u32 val, u8 CRn, u8 CRm, u8 opcode1,
|
|||
}
|
||||
}
|
||||
return FALSE;
|
||||
case 13:
|
||||
if(opcode1 == 0 && opcode2 == 1)
|
||||
{
|
||||
armcp15->processID = val;
|
||||
return TRUE;
|
||||
}
|
||||
return FALSE;
|
||||
default:
|
||||
return FALSE;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue