VxWorks Reference Manual : Libraries
smNameShow - shared memory objects name database show routines (VxMP Option)
smNameShow( ) - show the contents of the shared memory objects name database (VxMP Option)
This library provides a routine to show the contents of the shared memory objects name database. The shared memory objects name database facility is provided by smNameLib.
The routines in this library are included by default if INCLUDE_SM_OBJ is defined in configAll.h.
This module is distributed as a component of the unbundled shared memory objects support option, VxMP.
smNameLib.h
smNameShow, smNameLib, smObjLib, VxWorks Programmer's Guide: Shared Memory Objects
smNameShow( ) - show the contents of the shared memory objects name database (VxMP Option)
STATUS smNameShow ( int level /* information level */ )
This routine displays the names, values, and types of objects stored in the shared memory objects name database. Predefined types are shown, using their ASCII representations; all other types are printed in hexadecimal.
The level parameter defines the level of database information displayed. If level is 0, only statistics on the database contents are displayed. If level is greater than 0, then both statistics and database contents are displayed.
This routine locks access to the shared memory objects name database while displaying its contents. This can compromise the access time to the name database from other CPUs in the system. Generally, this routine is used for debugging purposes only.
-> smNameShow Names in Database Max : 30 Current : 6 Free : 24 -> smNameShow 1 Names in Database Max : 30 Current : 6 Free : 24 Name Value Type ---------------- ----------- ------------- inputImage 0x802340 SM_MEM_BLOCK ouputImage 0x806340 SM_MEM_BLOCK imagePool 0x802001 SM_MEM_PART imageInSem 0x8e0001 SM_SEM_B imageOutSem 0x8e0101 SM_SEM_C actionQ 0x8e0201 SM_MSG_Q userObject 0x8e0400 0x1b0
This routine is distributed as a component of the unbundled shared memory objects support option, VxMP.
OK, or ERROR if the name facility is not initialized.
S_smNameLib_NOT_INITIALIZED
S_smObjLib_LOCK_TIMEOUT