User`s manual
5
.FORKMPU Function
5-93
5System Calls
.FORKMPU Function
Note This is a PPC1Bug system call for MVME4600 series or
Dual Processor MTX motherboards.
Name
.FORKMPU - Fork MPU (Multiple MPU Configuration)
Code
$0100
Description
.FORKMPU allows you to Fork (execute target code) on an MPU
that is idle. The MPU register R1 is set to the user stack space.
Interrupts are also disabled at the processor MSR register.
Entry Conditions
R03 ==> MPU number (i.e., 0-1)
R04 ==> Instruction Pointer of target code
Exit Conditions Different from Entry
R03 ==> 0, successful fork
-1, processor not idle
-2, null or not word-aligned IP
-3, invalid processor number
R04 ==> No change