sns_loc

Outline

Reference CPU state.

C format

 BOOL    sns_loc ( void );


Assembly format

 CALL    !!_sns_loc


Parameter(s)

None.

Explanation

This service call acquires the system status type when this service call is issued (CPU locked state or CPU unlocked state).

When this service call is terminated normally, the acquired system state type (TRUE: CPU locked state, FALSE: CPU unlocked state) is returned.

Note The system enters the CPU locked state when loc_cpu or iloc_cpu is issued, and enters the CPU unlocked state when unl_cpu or iunl_cpu is issued.

Return value

Macro

Value

Description

TRUE

1

Normal completion (CPU locked state).

FALSE

0

Normal completion (CPU unlocked state).