Inspect Manual

Glossary
Inspect Manual429164-006
Glossary-16
TNS procedure label
TNS procedure label. A 16-bit identifier for an internal or external procedure used by the
TNS object code of a TNS process. The most-significant 7 bits are a TNS code
segment identifier: 2 bits for the TNS code space and 5 bits for the TNS code segment
index. The least-significant 9 bits are an index into the target segment's procedure
entry-point (PEP) table. On a TNS/E system, all shells for calling native library
procedures are segregated within the system code space. When the TNS code space
bits of a TNS procedure label are %B10, the remaining 14 bits are an index into the
system's shell map table, not a segment index and PEP index.
TNS process. A process whose main program object file is a TNS object file, compiled
using a TNS compiler. A TNS process executes in interpreted or accelerated mode
while within itself, when calling a user library, or when calling into TNS system libraries.
A TNS process temporarily executes in native mode when calling into native-compiled
parts of the system library. Object files within a TNS process might be accelerated or
not, with automatic switching between accelerated and interpreted modes on calls and
returns between those parts. Contrast with TNS/R native process and TNS/E native
process.
TNS shared run-time library (TNS SRL). A shared run-time library (SRL) available to TNS
processes in the Open System Services (OSS) environment. A TNS process can have
only one TNS SRL. A TNS SRL is implemented as a special user library that allows
shared global data. See also shared run-time library (SRL) and dynamic-link library
(DLL).
TNS signal. A signal model available to TNS processes in the Guardian environment.
TNS stack segment. See TNS user data segment.
TNS State Library for TNS/E. A library of routines to access and modify the TNS state of a
TNS process running on TNS/E.
TNS system library. A collection of HP-supplied TNS-compiled routines available to all
TNS processes. There is no per-program or per-process customization of this library.
All routines are immediately available to a new process. No dynamic loading of code or
creation of instance data segments is involved. See also native system library or DLL
.
TNS to native-mode access shell. A shell object file, generated by the shell generator, that
supports procedure calls from TNS object files to a particular TNS/R native-mode or
TNS/E native-mode library routine. The shell suspends TNS code emulation, copies
and reformats parameters from the TNS execution stack to the native execution stack,
calls the desired routine in native mode, copies back the function result, and resumes
TNS code emulation. A custom shell exists for each native-mode library routine that
can be called from TNS object files.
TNS user data segment. In a TNS process, the segment at virtual address zero. Its length
is limited to 128 kilobytes. A TNS program's global variables, stack, and 16-bit heap
must fit within the first 64 kilobytes. See also compiler extended-data segment.
TNS user library. A user library available to TNS processes in the Guardian environment.