NAME | SYNOPSIS | FEATURES | DESCRIPTION | RESTRICTIONS | RETURN VALUE | ERRORS | ATTRIBUTES | SEE ALSO
#include <mem/chMem.h>void PxmStat(KnPxmStatArgs *statArg, void *cookie);
PXM_EXT
This system call is strictly reserved for internal use only. It MUST NOT be used by any application.
The PxmStat routine is provided by the Proxy-Mapper and is invoked as an up-call by the CHORUS VM. It is invoked as a lap; its second argument is the lap cookie as defined at svLapCreate time. The PxmStat up-call is invoked by the VM in order to obtain data segment--specific information as part of a call to rgnStat. The KnPxmStatArgs structure is composed of the following fields:
KnDtPxMapper* pxm ; KnSgId sgId ; char* buff ; int size ; |
The sgId field specifies the corresponding data segment. The buff field points to the buffer to which the information is to be copied. The size field specifies the buffer size in bytes. If the buffer size is sufficient for the data segment information to be copied, the Proxy-Mapper copies them to the buffer, otherwise, it does nothing. The PxmStat funciton returns the size of the data segment information.
The current implementation is only applicable to trusted supervisor actors.
If successful, PxmStat returns the size of the data segement information in bytes.
None.
See attributes(5) for descriptions of the following attributes:
ATTRIBUTE TYPE | ATTRIBUTE VALUE |
---|---|
Interface Stability | Evolving |
NAME | SYNOPSIS | FEATURES | DESCRIPTION | RESTRICTIONS | RETURN VALUE | ERRORS | ATTRIBUTES | SEE ALSO