S
Numerics
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
X
Y
Z
s
( )
(SPARC)
402
scalability 2,
344-
346
VxWorks features 340-
343
scanf
( )
109
SCHED_FIFO
35
sched_get_priority_max
( )
33,
35
sched_get_priority_min
( )
33,
35
sched_getparam
( )
33
sched_getscheduler
( )
33,
35
SCHED_RR
35
sched_rr_get_interval
( )
33,
35-
36
sched_setparam
( )
33,
34
sched_setscheduler
( )
33,
34
sched_yield
( )
33
schedPxLib
32,
33
scheduling 22-
25
POSIX 32-
36
see also
schedPxLib
(1)
algorithms 32
code example 35
FIFO 32,
35
policy, displaying current 35
preemptive priority 35
priority limits 35-
36
priority numbering 32
round-robin 35-
36
code example 36
routines 33
time slicing 35-
36
Wind facilities, differences from 32-
33
Wind
preemptive locks 25,
47
preemptive priority 23
round-robin 23-
24
scripts, startup 322
SCSI devices 129-
138
see also
scsiLib
(1)
booting from 203-
204
ROM size, adjusting 131
configuring 129-
138
code examples 134-
138
options 132-
134
constants 129
initializing support 132
libraries, supporting 131-
132
SCSI bus ID
changing 138
configuring 130
SCSI-1 vs. SCSI-2 130-
132,
138
tagged command queuing 133
troubleshooting 138
VxWorks image size, effecting 130
wide data transfers 134
SCSI_AUTO_CONFIG
130
SCSI_OPTIONS
structure
132
scsi1Lib
131
scsi2Lib
131
scsiBlkDevCreate
( )
132
scsiCommonLib
131
scsiDirectLib
131
scsiLib
118,
131
scsiPhysDevCreate
( )
132,
203
scsiSeqDevCreate
( )
217
scsiSeqLib
131
scsiTargetOptionsSet
( )
133
security 374
TSFS 224
SEL_WAKEUP_LIST
152
SEL_WAKEUP_NODE
152
select facility 104-
106
see also
selectLib
(1)
code example 105-
106
implementing 152-
155
code example 153-
155
macros 104
select
( )
104-
105
implementing
152-
155
and pipes
80
selectLib.h
104
selNodeAdd
( )
152
selNodeDelete
( )
152
selWakeup
( )
152
selWakeupAll
( )
152
selWakeupListInit
( )
152
selWakeupType
( )
152
sem_close
( )
59,
63
SEM_DELETE_SAFE
55
sem_destroy
( )
59
sem_getvalue
( )
59
sem_init
( )
59,
60
SEM_INVERSION_SAFE
54
sem_open
( )
59,
61
sem_post
( )
59
sem_trywait
( )
59
sem_unlink
( )
59,
63
sem_wait
( )
59
semaphores 47-
64
see also
semLib
(1)
counting 59
example 56
deleting 49,
59
and drivers 143
giving and taking 49-
50,
58
and interrupt service routines 90,
88
locking 58
POSIX 57-
64
see also
semPxLib
(1)
named 57,
61-
64
code example 63
unnamed 57,
58,
59-
61
code example 60
Wind facilities, differences from 59
posting 58
recursive 55
code example 55
shared (VxMP option) 259-
263
code example 261
creating 260
displaying information about 260
local semaphores, differences from 260
synchronization 47,
56
code example 51-
52
unlocking 58
waiting 58
Wind 47-
57
binary 49-
52
code example 50-
51
control 48-
49
counting 56
mutual exclusion 50-
51,
52-
56
queuing 57
synchronization 51-
52
timing out 57
semBCreate
( )
48
semBSmCreate
( )
(VxMP option)
260
semCCreate
( )
48
semCSmCreate
( )
(VxMP option)
260
semDelete
( )
48
shared semaphores (VxMP option) 260
semFlush
( )
48,
53
semGive
( )
48
semInfo
( )
260
semMCreate
( )
48
semPxLib
58
semPxLibInit
( )
59
semShow
( )
260,
378
semTake
( )
48
SEQ_DEV
160,
217
see also
sequential devices
fields 162
sequential devices 158-
173
see also
block devices;
SEQ_DEV
; tape devices; tapeFs file systems
drivers
creating devices 161-
163
erasing tapes 173
file marks, writing 169
initializing 160-
161
installing 160
I/O control 166-
167
loading/unloading 171
physical block limits, polling for 171
reading blocks 164-
165
ready status change 169
releasing tape device access 170
reserving tape device access 170
resetting devices 167
spacing tape media 172-
173
status, checking device 168
tape volumes, mounting 171
tapes, rewinding 170
write protection 168
writing blocks 166
initializing for tapeFs 217-
218
serial drivers 118,
312
set output-radix
command (ARM)
513
set print static-members
command (ARM)
513
shared code 39
shared data structures 45-
46
shared message queues (VxMP option) 263-
268
code example 265
creating 264
displaying queue status 264
local message queues, differences from 264
shared semaphores (VxMP option) 259-
263
code example 261
creating 260
displaying information about 260
local semaphores, differences from 260
shared-memory allocator (VxMP option) 268-
276
shared-memory anchor
shared-memory objects, configuring (VxMP option) 279-
280
shared-memory networks
shared-memory objects, working with 279
VxSim 559-
561
shared-memory objects (VxMP option) 10,
255-
287
see also
msgQSmLib
(1);
semSmLib
(1);
smMemLib
(1);
smNameLib
(1);
smObjLib
(1);
smObjShow
(1)
advertising 257
anchor, configuring shared-memory 279-
280
cacheability 279,
282
configuring 279-
286
constants 283
multiprocessor system 284
displaying number of used objects 283
heartbeat 286
troubleshooting, for 287
initializing 280-
284,
285,
321
interrupt latency 278
interrupt service routines 278
interrupts
bus 280
mailbox 280
limitations 278-
279
locking (spin-lock mechanism) 277-
278
memory
allocating 268-
276
running out of 278
memory layout 281
message queues, shared 263-
268
see also
shared message queues
code example 265
name database 257-
258
object ID 257
partitions 268-
276
routines 270
side effects 276
system 268-
273
code example 271
user-created 269,
273-
276
code example 273
polling 280
PowerPC support 502-
503
semaphores, shared 259-
263
see also
shared semaphores (VxMP option)
code example 261
shared-memory networks, working with 279
shared-memory pool 280
shared-memory region 280
single- and multiprocessors, using with 256
system requirements 277
troubleshooting 286
types 258
shared-memory pool
address, defining (VxMP option) 280
shared-memory region (VxMP option) 280
shell task (
tshell
)
370
shell,
see
host shell; target shell
shellInit
( )
370
shellLock
( )
373
show input-radix
command (ARM)
513
show output-radix
command (ARM)
513
show routines 377-
379
x86-specific 467
show
( )
62,
78,
378
sigaction
( )
82,
83
sigaddset
( )
83
sigblock
( )
82,
83
sigdelset
( )
83
sigemptyset
( )
83
sigfillset
( )
83
sigInit
( )
82,
319
sigismember
( )
83
SIGKILL
command (VxSim)
534
sigmask
( )
83
signal handlers 82
signal
( )
83
signals 81-
84
see also
sigLib
(1)
configuring 84
and interrupt service routines 82,
90
POSIX 83-
84
queued 83-
84
routines 83
signal handlers 82
UNIX BSD 82
routines 83
sigpending
( )
83
sigprocmask
( )
82,
83
sigqueue
( )
83-
84
sigqueueInit
( )
84
sigsetmask
( )
82,
83
sigsuspend
( )
83
sigtimedwait
( )
84
sigvec
( )
82,
83
sigwaitinfo
( )
84
simulator,
see
VxSim
single-stepping (SPARC) 402-
403
SIO driver makefile 364
68000, 68K,
see
MC680x0
64-bit support (MIPS R4000) 488
SLIP (Serial Line Internet Protocol)
installing for VxSim/HP-UX 549-
551
SM_ANCHOR_ADRS
280
SM_INT_BUS
280
SM_INT_MAILBOX
280
SM_INT_NONE
280
SM_INT_TYPE
280
SM_OBJ_MAX_MEM_PART
283
SM_OBJ_MAX_MSG_Q
283
SM_OBJ_MAX_NAME
283
SM_OBJ_MAX_SEM
283
SM_OBJ_MAX_TASK
283
SM_OBJ_MAX_TRIES
278
SM_OBJ_MEM_SIZE
283
SM_OFF_BOARD
503
SM_TAS_HARD
277,
503
SM_TAS_TYPE
277,
503
small computer system interface,
see
SCSI devices
smCpuInfoGet
( )
(VxMP option)
280
smIfVerbose
global variable (VxMP)
287
smMemAddToPool
( )
(VxMP option)
270
smMemCalloc
( )
(VxMP option)
270
smMemFindMax
( )
(VxMP option)
270
smMemFree
( )
(VxMP option)
270
smMemMalloc
( )
(VxMP option)
270
smMemOptionsSet
( )
(VxMP option)
270,
276
smMemRealloc
( )
(VxMP option)
270
smMemShow
( )
(VxMP option)
270
smNameAdd
( )
(VxMP option)
258
smNameFind
( )
(VxMP option)
258
smNameFindByValue
( )
(VxMP option)
258
smNameRemove
( )
(VxMP option)
258
smNameShow
( )
(VxMP option)
258
smObjAttach
( )
(VxMP option)
285
smObjInit
( )
(VxMP option)
285
smObjSetup
( )
(VxMP option)
285
smObjShow
( )
(VxMP option)
283
troubleshooting, for 287
smObjTimeoutLogEnable
( )
(VxMP option)
287
so
( )
(SPARC)
403
socket
( )
139
sockets 80-
81
as I/O device 139
TSFS 223
source code (VxWorks)
customizing 354
SPARC/SPARClite 399-
415
see also
microSPARC
ASI addresses, probing 405
buffer manipulation, linear 402
cache 402
microSPARC 402
SPARClite 412
compiler environment, configuring 400
compiler options 400-
401
CPU type, defining 400
debugging 402-
404
ELF tools 406
floating-point support 404,
410-
412
emulation library (SPARClite) 413
I/O MMU 404
interface differences, VxWorks 401-
406
interrupt handling 407-
410
VMEbus 410
long long
407
math routines 405
memory layout, VxWorks 413-
415
microSPARC 402,
404,
415
operating mode 407
reserved registers 407
routines, architecture-specific 405
bcopyDoubles
( )
402
bfillDoubles
( )
402
bzeroDoubles
( )
402
cacheMb930LockAuto
( )
412
fsrShow
( )
404
psrShow
( )
404
single-stepping 402-
403
SPARClite enhancements 412-
413
stack pointer, using the 412
task traces 403-
404
test-and-set instructions 405
traps, enabling 407
vector table, initializing the 407
SPARCmon 412
spawning tasks 25-
26,
42
spin-lock mechanism (VxMP option) 277-
278
interrupt latency 278
sprintf
( )
108
spy utility 13,
320
see also
spyLib
(1)
sscanf
( )
108
stack traces (MIPS) 483
stacks
interrupt 86
no fill 27
STANDALONE
flag
366
standalone VxWorks systems 366
STANDALONE_NET
366
standard file headings 564
standard I/O 99,
106-
108
see also
ansiStdio
(1)
initializing 319
omitting 108
standard input/output/error 318
buffered I/O 108
Standard Template library (STL) 239
startup
see also
initialization
entry point 313
ROM-based 367
scripts 322
VxWorks, sequence of events 313-
324
ROM-based 349-
350
stat
( )
193,
194
static linking 334
VxSim 539
STATUS_8042
466
_ _STDC_ _
325
stdioShow
( )
378
step
command (ARM)
514
strings, formatting 12
see also
ansiStdio
(1);
fioLib
(1)
subdirectories (dosFs) 180,
191-
193
file attributes 194
subroutines,
see
routines
superscalar pipeline (MC68060) 389
suspended tasks 21
swapping 93
symbol table
creating VxWorks system 356
group numbers, module 336
standalone systems, in VxWorks 366
target shell 376-
377
see also
symLib
(1)
symLibInit
( )
376
SYMMETRIC_IO_MODE
(x86)
I/O APICs 476
local APICs 477
symTblCreate
( )
376
synchronization (task) 47
code example 51-
52
counting semaphores, using 56
semaphores 51-
52
synchronizing disks
dosFs file systems 198-
199
auto-sync mode 199
rawFs file systems 214-
215
sysALib.s
312
entry point 313
sysBusIntAck
( )
(MIPS)
487
sysClkConnect
( )
317
sysClkRateSet
( )
317
sysCodeSelector
global variable (x86)
462
sysCoprocessor
global variable (x86)
435
sysCpuProbe
( )
(x86)
437,
438
sysDelay
( )
(x86)
438
sysFdBuf
global variable (x86)
464
sysFdBufSize
global variable (x86)
464
sysGDT[ ]
table (x86)
435,
443
sysHwInit
( )
315
sysHwInit2
( )
317
sysInByte
( )
(x86)
437
sysInit
( )
313
i960 422
sysInLong
( )
(x86)
437
sysInLongString
( )
(x86)
438
sysIntDisable
( )
86
sysIntDisablePIC
( )
(x86)
438
sysIntEnable
( )
86
sysIntEnablePIC
( )
(x86)
438
sysIntIdtType
global variable (x86)
435,
444
sysIntVecSetEnt
( )
(x86)
462
sysIntVecSetExit
( )
(x86)
462
sysInWord
( )
(x86)
437
sysInWordString
( )
(x86)
438
sysLib.c
311
VxSim 541
sysMemTop
( )
316
sysOutByte
( )
(x86)
438
sysOutLong
( )
(x86)
438
sysOutLongString
( )
(x86)
438
sysOutWord
( )
(x86)
438
sysOutWordString
( )
(x86)
438
sysPhysMemDesc[ ]
291,
293,
312
MC68040 390
MIPS 484
page states 291
PowerPC 496,
500
shared-memory objects (VxMP option) 282
virtual memory mapping 291
x86 442
sysProcessor
global variable (x86)
435
sysScsiInit
( )
132
sysSerial.c
312
sysStrayIntCount
global variable (x86)
464
system clock 30,
322
initializing 317
system files (dosFs) 193
system image 309
boot ROM
compressed 351
ROM-resident 347
uncompressed 351
building 351-
357
downloading 313
excluding facilities 344-
346
VxWorks 351
linking 355-
356
ROMmed 351
standalone 351
x86 BSPs 463
system information, displaying 306,
377-
379
system library 311
system modules,
see
system image
system tasks 43-
45
sysVectorIRQ0
global variable (x86)
435,
444
sysWarmAtaCtrl
global variable (x86)
464
sysWarmAtaDrive
global variable (x86)
464
sysWarmFdDrive
global variable (x86)
464
sysWarmFdType
global variable (x86)
464
sysWarmTffsDrive
global variable (x86)
464
sysWarmType
global variable (x86)
464