Table of Contents

lv1_pause (9)

Called during the Kernel idle loop - puts the PPE thread into an inactive state.

Kernel Call

result = lv1_pause( /*IN*/ mode );

Parameters

Inputs
Register Description
R3 mode: 0 = wake on DEC interrupt, 1 = ignore DEC interrupt
Outputs
Register Description
R3 status: 0 = LV1_SUCCESS, -17 = LV1_ILLEGAL_PARAMETER_VALUE

Notes:

LV1_ILLEGAL_PARAMETER_VALUE is returned for values of “mode” other than 0 or 1.

Comment from setup.c

/*
 * lv1_pause() puts the PPE thread into inactive state until an
 * irq on an unmasked plug exists. MSR[EE] has no effect.
 * flags: 0 = wake on DEC interrupt, 1 = ignore DEC interrupt.
 */