Pins the code and data associated with a loaded object module.
#include <sys/types.h> #include <sys/errno.h> #include <sys/pin.h>
int pincode (func) int (*func) ();
func | Specifies an address used to determine the object module to be pinned. The address is typically that of a function exported by this object module. |
The pincode service uses the pin service to pin the specified object module. The loader entry for the object module is used to determine the size of both the code and data.
The pincode kernel service can be called from the process environment only.
When an error occurs, the pincode service returns without pinning any pages.
The pincode kernel service is part of Base Operating System (BOS) Runtime.
The pin kernel service.
Understanding Execution Environments and Memory Kernel Services in AIX Kernel Extensions and Device Support Programming Concepts.