KasperskyOS Community Edition 1.3

Power management endpoint

This endpoint is intended for changing the power management mode of a hardware platform (for example, shutting down or restarting the hardware platform), and for enabling and disabling processors (processor cores).

Information about methods of the endpoint is provided in the table below.

Methods of the pm.PM endpoint (kl.core.PM interface)

Method

Method purpose and parameters

Potential danger of the method

Request

Purpose

Requests to change the power mode of a hardware platform.

Parameters

  • [in] request – value defining the necessary power mode of the hardware platform.
  • [out] rc – return code.

Allows the hardware platform power mode to be changed.

SetCpusOnline

Purpose

Requests to enable and/or disable processors.

Parameters

  • [in] request – processor mask indicating the required set of active processors.
  • [out] rc – return code.

Disables and enables processors.

GetCpusOnline

Purpose

Gets information regarding which processors are in the active state.

Parameters

  • [out] online – processor mask indicating the actual set of active processors.
  • [out] rc – return code.

N/A