[ Previous | Next | Contents | Home | Search ]
AIX Version 4.3 Kernel and Subsystems Technical Reference, Volume 1

pm_register_handle Kernel Service

Purpose

Registers and unregisters Power Management handle.

Syntax

#include <sys/pm.h>
int pm_register_handle(pmh, command)
struct pm_handle *pmh;
int command;

Parameters

pmh Points to a pm_handle structure.
command Specifies PM_REGISTER or PM_UNREGISTER.

Description

The pm_register_handle kernel service registers and unregisters a Power Management (PM) handle to a PM core. This kernel service need to be called from config entry point of each PM aware device driver.

Return Values

PM_SUCCESS Indicates successful completion.
PM_ERROR Indicates an error condition.

Implementation Specifics

The pm_register_handle kernel service is part of the Base Operating System (BOS) Runtime.

Related Information

The pm_control_parameter subroutine, pm_control_state subroutine, pm_event_query subroutine, pm_battery_control subroutine.

The pm_register_planar_control_handle kernel service, pm_planar_control kernel service.


[ Previous | Next | Contents | Home | Search ]