ZCOM Tables and Data Structures
ZCOM Kernel Data
SYSPTR, SYSSIZE - ZCOM system size (adjusted) and pointer.
These are the pointers to the size of the kernel memory to be used by the ZCOM subsystem. The ZCOM subsystem memory requires
NREQUEST - Number of active requests
This field contains the number of ZCOM application requests in progress. The LDM increments content in this field when it receives a new request, and decrements it when a request completes. During ZCOM subsystem shutdown, the LDM checks this value for pending application requests. If there is any pending requests, the LDM waits (for 5 seconds) to give the requests time to complete before forcing the ZCOM subsystem down.
This field is intended for the implementation of a smooth (i.e., graceful) ZCOM subsystem shutdown mechanism.
RTIMER - Reset request timer
This is the timer used by the LDM to wait during a ZCOM subsystem shutdown. The LDM will not shutdown the ZCOM subsystem immediately if there are pending application requests. Instead, it sets this timer to a
This field is used with NREQUEST to provide a waiting deferred shutdown mechanism.
NSLOW - Number of slowdown processes (* obsolete *)
This field is obsolete. Not used.
ZSINFO - ZCOM system information buffer
This is a data structure set up by the LDM when ZCOM subsystem is started up. It contains information to be passed back to an application via zinit. Refer to the definition of zsinfo_type for its layout.
Chapter 3 | 125 |