The caller supplied RestartBlock will be copied to the NVRAM header.
#include <sys/mdio.h>
int md_restart_block_upd (md, pmmode) struct mdio *md; unsigned char pmmode;
The 8-bit value in pmmode will be stored into the NVRAM header at the PMMode offset.The RestartBlock which is in the caller's buffer will be copied to the NVRAM after the RestartBlock checksum is calculated and a new Crc1 value is computed.
Returns 0 for successful completion.
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_upd 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.