SourcePoint AMD Help

Table of Contents

issmm

Display whether the specified processor is in system management mode.

Syntax

[result =] [[px]] issmm

Where:

[px]

ย 

is the viewpoint override, including punctuation ( [ ] ), specifying that the viewpoint is temporarily set to processor x of the boundary scan chain.ย  The processor can be specified as px (where x is the processor ID), or an alias you have defined for a given processor ID.ย  ALL cannot be used as a viewpoint override.

result

specifies a debug variable to which the function return value is assigned. If result is not specified, the return value is displayed on the next line of the screen.

ย 

Discussion

Use the issmm control variable to determine if a specific target processor is in system management mode. Entering the command at the command line or in an expression returns 0 for normal mode or 1 for smm. ย 

Example 1

To display the state of the viewpoint processor:

Command input:

issmm

Result:

FALSE

Example 2

To display the state of processor P3:

Command input:

[P3]issmm

Result:

TRUE

Example 3

To use issmm in an expression: ย 

Command input:

printf("processor is %s\n", issmm ? "in smm" : "not in smm")

Result:

processor is in smm