A copy of the RESTART_BLOCK structure in the NVRAM header will be placed in the caller's buffer.
#include <sys/mdio.h>
int md_restart_block_read (md) struct mdio *md;
The RestartBlock which is in the NVRAM header will be copied to the user supplied buffer. This block is a communication vehicle for the Power Management software and the firmware.
Returns 0 for successful completion.
ENOMEM | Indicates that there was not enough room in the user supplied buffer to contain the RestartBlock. |
EINVAL | Indicates this is not a PowerPC reference platform. |
Kernel Extensions and Device Driver Management Kernel Services in Kernel Extensions and Device Support Programming Concepts.
The md_restart_block_read Kernel Service is part of the Base Operating System (BOS) Runtime.
Machine Device Driver in AIX Version 4.1 Technical Reference, Volume 6: Kernel and Subsystems.