NonStop S-Series Hardware Installation and FastPath Guide (G06.26+)
Glossary
HP NonStop S-Series Hardware Installation and FastPath Guide—529876-001
Glossary-118
TNS procedure label
produce to produce accelerated object files. A TNS object file can be run on TNS and
TNS/R systems.
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. 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.
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.
TNS signal. A signal model available to TNS processes in the Guardian environment.
TNS stack segment. See TNS user data segment.
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.
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
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. See also shell generator and shell map.
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.
TNS word. An instruction-set-defined unit of memory. A TNS word is 2 bytes (16 bits) wide,
beginning on any 2-byte boundary in memory. See also MIPS RISC word and word.