Index
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
A
abort character (target shell) (
CTRL+C
)
244-
245
changing default 245
access routines (POSIX) 74
adapters (VxFusion) 395
see online
distIfLib; distIfShow
designing 421
initialization routines 423
input routine 427
I/O control routines 428
network headers 422
send routines 426
startup routines 426
displaying information about 415
working with 415
advertising (VxMP option) 431
AIO,
see
asynchronous I/O
aio_cancel( )
122
AIO_CLUST_MAX
121
aio_error
( )
124
testing completion 126
AIO_IO_PRIO_DFLT
122
AIO_IO_STACK_DFLT
122
AIO_IO_TASKS_DFLT
122
aio_read
( )
122
aio_return
( )
124
aiocb
, freeing
124
aio_suspend
( )
122
testing completion 126
AIO_TASK_PRIORITY
122
AIO_TASK_STACK_SIZE
122
aio_write
( )
122
aiocb
,
see
control block (AIO)
aioPxLib
71
aioPxLibInit
( )
122
aioShow
( )
122
aioSysDrv
121
aioSysInit
( )
121
ANSI C
stdio
package
118
application modules,
see
object modules
archive file attribute (dosFs) 212
asynchronous I/O (POSIX) 121-
129
see also
control block (AIO)
see online
aioPxLib
aioPxLib
71
cancelling operations 124
code examples 124
completion, determining 124
control block 123
driver, system 121
initializing 121
constants for 122
multiple requests, submitting 124
retrieving operation status 124
routines 121
ATL macros (DCOM) 361
attribute (POSIX)
prioceiling
attribute
91
protocol
attribute
90
attributes (POSIX) 74
contentionscope
attribute
75
detachstate
attribute
74
inheritsched
attribute
75
schedparam
attribute
76
schedpolicy
attribute
76
specifying 77
stackaddr
attribute
74
stacksize
attribute
74
AUTOREGISTER_COCLASS
priority schemes, specifying 372
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
B
backplane network,
see
shared-memory networks
backspace character,
see
delete character
bd_readyChanged
224
bd_statusChk
225
binary semaphores 36-
39
BLK_DEV
174
see also
block devices
creating a block device 196
fields 177
ready-changes, announcing 209
blkSize
228
block devices 143-
154
see also
BLK_DEV
; direct-access devices; disks; SCSI devices;
SEQ_DEV
; sequential devices
adding 161
code example 201
creating 196
defined 156
file systems, and 191-
238
internal structure 174-
188
device creation routine 176
device reset routine 182
driver support libraries 188
drivers 158
I/O control routine 181
initialization routine 176
read routine 179
ready status change 184
status check routine 183
write protection 184
write routine 180
naming 108
RAM disks 143
SCSI devices 144-
154
bootImageLen
308
breakpoints
shell tasks (
tShell
), and
242
BSTR
and
BSTR *
(DCOM)
360
BUFFER_WRITE_BROKEN
322
bypass threshold 140
byte order
shared-memory objects (VxMP option) 430
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
C
C++ development
C and C++, referencing symbols between 274
complex numbers 288
exception handling 282
iostreams 288
Run-Time Type Information (RTTI) 284
Standard Template library (STL) 289
strings 288
C++ support 273-
291
see also
iostreams (C++)
code examples
template instantiation 281
configuring 274
Diab compiler, for 275
GNU compiler, for 275
munching 276
static constructors 278
static destructors 278
template instantiation 279-
282
cache
see also
data cache
see online
cacheLib
coherency 170
copyback mode 170
writethrough mode 170
CACHE_DMA_FLUSH
172
CACHE_DMA_INVALIDATE
172
CACHE_DMA_PHYS_TO_VIRT
173
CACHE_DMA_VIRT_TO_PHYS
172
CACHE_FUNCS
structure
172
cacheDmaMalloc
( )
172
cacheFlush
( )
171
cacheInvalidate
( )
171
cancelling threads (POSIX) 78
cardDetected
319
CBIO interface 139
see online
cbioLib
;
dcacheCbio
;
dpartCbio
;
ramDiskCbio
disk cache 139
disk changes, detection of 140
disk I/O efficiency 139-
140
disk partition handler 141
RAM disks 142
CComBSTR
388
CComClassFactory
384
CComCoClass
385
CComCoClass
class (DCOM)
350
CComObject
386
CComObject
class (DCOM)
351
CComObjectRoot
384
CComObjectRoot
class (DCOM)
349
CComPtr
387
CComVariant
391
CD-ROM devices 232
cdromFs file systems 232
see online
cdromFsLib
CFI_DEBUG
322
cfiscs.c
322
character devices 156
see also
drivers
adding 160
driver internal structure 158
naming 108
characters, control (
CTRL+
x
)
target shell 243
tty
131
checkStack
( )
66
client-server communications 49-
52
CLOCK_REALTIME
72
clocks
see also
system clock;
clockLib
(1)
POSIX 71-
72
system 20
close
( )
224
example 166
non-file-system drivers 159
using 112
closedir
( )
210
CLSID 351
clusters
cluster groups 213
disk space, allocating (dosFs) 213
absolutely contiguous 213
methods 214
nearly contiguous 213
single cluster 213
extents 213
CoClasses (DCOM)
class template 350
CLSID 351
defined 344
lightweight 349
CComObject
351
singleton 348
DECLARE_CLASSFACTORY_SINGLETON
352
defining 352
true 348
CComCoClass
350
CComObjectRoot
349
WOTL, defining with 348
code
interrupt service,
see
interrupt service routines
pure 27
shared 25
write-protecting 466
code example
device list 161
code examples
asynchronous I/O completion, determining
pipes, using 124
signals, using 126
C++
template instantiation 281
data cache coherency 172
address translation driver 173
DCOM applications 382
disk partitions
configuring 198
creating 197
formatting 197
initializing multiple 198
dosFs file systems
block device, initializing 201
file attributes, setting 212
maximum contiguous areas, finding 216
RAM disks, creating and formatting 207
SCSI disk drives, initializing 207
drivers 156
IDL file 365
message queues
attributes, examining (POSIX) 93-
94
checking for waiting message (POSIX) 99-
103
POSIX 96-
98
shared (VxMP option) 439
Wind 48
mutual exclusion 37-
38
partitions
system (VxMP option) 444
user-created (VxMP option) 447
SCSI devices, configuring 149
select facility 116
driver code using 168
semaphores
binary 37-
38
named 88
recursive 42
shared (VxMP option) 435
unnamed (POSIX) 86
tape devices, configuring
block size, working with 229
SCSI 151
tasks
deleting safely 19
round-robin time slice (POSIX) 83
scheduling (POSIX) 82
setting priorities (POSIX) 80-
81
synchronization 38-
39
threads
creating, with attributes 77-
78
virtual memory (VxVMI option)
private 471
write-protecting 478
watchdog timers
creating and setting 64
COM support 343-
392
see also
CoClasses; DCOM; Wind Object Template Library
distributed objects 347
interface pointers 346
interfaces 345
overview 344
Wind Object Template Library (WOTL) 348-
355
COM wizard
directional attributes 371
non-automation types 361
output files 352
COM_MAP
interface mapping
355
comAsciiToWide
( )
360
comWideToAscii
( )
360
configuration
C++ support 274
shared-memory objects (VxMP option) 452-
459
signals 56
virtual memory 464-
466
VxVMI option 464-
466
configuration and build
components 3
tools 2
configuring
dosFs file systems 195
SCSI devices 145-
153
tape devices 228
target shell, with 242
TrueFFS 298
TSFS 237
VxDCOM 356
VxFusion (distributed message queues) 399
contexts
task 8
creating 14
virtual memory (VxVMI option) 467-
469
CONTIG_MAX
215
control block (AIO) 123
fields 123
control characters (
CTRL+
x
)
target shell 243
tty
131
conventions
coding 3
device naming 107
documentation 3-
5
file naming 107
task names 15
copyback mode, data cache 170
counting semaphores 43,
84
cplusCtors
( )
279
cplusStratShow
( )
279
cplusXtorSet
( )
279
crashes during initialization 465
creat
( )
112
CTRL+C
(abort)
244
CTRL+C
(target shell abort)
132
CTRL+D
(end-of-file)
132
CTRL+H
delete character
target shell 243
tty
131
CTRL+Q
(resume)
target shell 243
tty
132
CTRL+S
(suspend)
target shell 243
tty
132
CTRL+U
(delete line)
target shell 243
tty
131
CTRL+X
(reboot)
target shell 243
tty
132
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
D
daemons
network
tNetTask
30
remote login
tRlogind
31
RPC
tPortmapd
31
target agent
tWdbTask
30
telnet
tTelnetd
31
data cache
see also
cache;
cacheLib
(1)
coherency 170
code examples 172
device drivers 170
copyback mode 170
disabling for interprocessor communication 476-
477
flushing 171
invalidating 171
shared-memory objects (VxMP option) 452
writethrough mode 170
data structures, shared 32
datagrams 53
see also
sockets; UDP
dbgHelp
command
243
dbgInit
( )
abort facility 245
dcacheDevCreate
( )
196,
311
DCOM (VxDCOM option)
see also
CoClasses; COM; Wind Object Template Library
applications, writing 375-
383
client code 378
differences between COM and DCOM APIs 376
querying the server 381
server code 376
VX_FP_TASK
375
ATL, comparison with 383-
392
OPC interfaces 374
priority schemes 372
choosing 372
priority level 373
propagation, configuring 373
PS_CLNT_PROPAGATED
372
PS_DEFAULT
372
PS_SVR_ASSIGNED
372
properties parameters
VXDCOM_AUTHN_LEVEL
356
VXDCOM_BSTR_POLICY
356
VXDCOM_CLIENT_PRIORITY_PROPAGATION
356
VXDCOM_DYNAMIC_THREADS
357
VXDCOM_OBJECT_EXPORTER_PORT_NUMBER
357
VXDCOM_SCM_STACK_SIZE
357
VXDCOM_STACK_SIZE
357
VXDCOM_STATIC_THREADS
358
VXDCOM_THREAD_PRIORITY
358
properties parameters, configuring 356
threadpools, using 374
tools 346
Wind Object Template Library (WOTL) 348-
355
DCOM wizard
directional attributes 371
non-automation types 361
DEBUG_PRINT
322
debugging
error status values 22-
24
target shell 244
virtual memory (VxVMI option) 480
DECLARE_CLASSFACTORY_SINGLETON
class
352
delayed tasks 9
delayed-suspended tasks 9
delete character (
CTRL+H
)
target shell 243
tty
131
delete( )
113
delete-line character (
CTRL+U
)
target shell 243
tty
131
demangler
GNU Library General Public License 247
DEV_HDR
161
device descriptors 160
device header 160
device list 160
devices
see also
block devices; character devices; direct-access devices; drivers
and specific device types
accessing 107
adding 160
block 143-
154
flash memory 293-
342
character 156
creating
NFS 136
non-NFS 138
pipes 134
RAM 143
default 108
dosFs 108
internal structure 160
naming 107
network 136
NFS 136
non-NFS 137
pipes 134
pseudo-memory 135
RAM disk 143
SCSI 144-
154
serial I/O (terminal and pseudo-terminal) 130
sockets 154
working with, in VxWorks 129-
154
direct-access devices 174
see also
block devices
initializing for rawFs 222
internal structure
read routine 179
write routine 180
RAM disks 143
disks
see also
block devices; dosFs file systems; rawFs file systems
changing
device drivers, and 184
dosFs file systems 208
rawFs file systems 223
disk cache (CBIO) 139
file systems, and 191-
238
initialized, using (dosFs) 199
mounting volumes 223
organization (rawFs) 221
partition handler 141
RAM 143
synchronizing
dosFs file systems 209
rawFs file systems 225
unmounting volumes 223
displaying information
adapters, about 415
disk volume configuration, about 209
distributed message queues, contents of 411
distributed name database, from the 405
group message queues, about (VxFusion) 414
TrueFFS flash file systems, about 301
displaying system information 480
DIST_IF
structures
customizing with 402
using 424
DIST_TBUF
structures
420
adapters, designing 422
distCtl
( )
400
distIfShow
( )
415
distInit
( )
398
adapters, designing 423
configuration parameters of 399
distNameAdd
( )
404
distNameFilterShow
( )
405
distNameFindByValueAndType
( )
404
distNameRemove
( )
404
distNameShow
( )
405
distNetInput( )
427
distributed message queues (VxFusion) 393-
428
see also
adapters; distributed name database; distributed objects statistics; group message queues; telegram buffers
see online
msgQDistLib; msgQDistShow
absent receiving nodes, detecting 416
architecture, system 395
configuring 399
creating 407
databases 397
deleting 407
displaying contents of 411
godfathers 418
initializing 398
interrupt service routines, using with 416
node startup process 416
receiving limitations 410
sending limitations 408
services 397
standard message queue routines, and 407
telegrams, using 419
timeouts 407
working with 406
distributed name database 402
see online
distNameLib; distNameShow
displaying information from 405
types 405
distributed objects 347
distributed objects statistics,
see online
distStatLib
distributing
demangler 247
DMA devices 464
documentation 2
API documentation, generating 3
conventions 3-
5
online (on host) 4
DOS_ATTR_ARCHIVE
212
DOS_ATTR_DIRECTORY
212
DOS_ATTR_HIDDEN
211
DOS_ATTR_RDONLY
211
DOS_ATTR_SYSTEM
212
DOS_ATTR_VOL_LABEL
212
DOS_O_CONTIG
216
dosFs file systems 192-
221
see also
block devices; CBIO interface; clusters; FAT tables
see online
dosFsLib
blocks 192
booting from, with SCSI 219
code examples
block devices, initializing 201
file attributes, setting 212
maximum contiguous area on devices, finding the 216
RAM disk, creating and formatting 207
SCSI disk drives, initializing 207
configuring 195
crash recovery 217
creating 192
devices, naming 108
directories, reading 210
disk cache, creating 196
disk space, allocating 213
methods 214
disk volume
configuration data, displaying 209
mounting 193,
201
disks, changing 208
ready-change mechanism 209
dosFs devices, creating 199
FAT tables 200
file attributes 211
inconsistencies, data structure 217
initialized disks, using 199
initializing 196
ioctl( )
requests, supported
217
MSFT Long Names 200
open
( )
, creating files with
112
partitions, creating and mounting 196
sectors 192
short names format (8.3) 200
starting I/O 211
subdirectories
creating 209
removing 210
synchronizing volumes 209
TrueFFS flash file systems 298
volumes, formatting 199
VxWorks long names format 200
dosFsChkDsk
( )
193
dosFsDevCreate
( )
193
, 199,
311
dosFsDevInit( )
147
dosFsDrvNum
global variable
196
dosFsFmtLib
192
dosFsLib
192
dosFsShow
( )
209
dosFsVolFormat
( )
199
downloading,
see
loading
dpartCbioLib
141
dpartDevCreate
( )
196
driver number 159
driver table 159
drivers 107
see also
devices
and specific driver types
asynchronous I/O 121
code example 156
data cache coherency 170
file systems, and 191-
238
hardware options, changing 133
installing 159
internal structure 158
interrupt service routine limitations 68
libraries, support 188
memory 135
NFS 136
non-NFS network 137
pipe 134
pty
(pseudo-terminal)
130
RAM disk 143
SCSI 144-
154
tty
(terminal)
130
VxWorks, available in 129
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
E
edit mode (target shell) 243
encryption
login password 247
end-of-file character (
CTRL+D
)
132
__errno
( )
23
errno
22-
24,
68
and task contexts 23
example
24
return values 23-
24
error status values 22-
24
ESCAPE
key (target shell)
243
ev_receive( )
59
ev_send( )
59
eventClear
( )
61
eventReceive
( )
61
events 56-
62
defined 56
pSOS events 57-
59
API 59
comparison with VxWorks events API 62
enhancements in VxWorks events 60
freeing resources 58
registering for 58
sending and receiving 57
waiting for 58
VxWorks events 59-
62
API 62
comparison with pSOS events API 62
enhancements to pSOS events 60
freeing resources 59
show routines 62
task events register 61
eventSend
( )
61
exception handling 24-
25
C++ 282
and interrupts 69
signal handlers 25
task
tExcTask
30
exception vector table (VxVMI option) 466
excTask
( )
abort facility 245
exit
( )
18
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
F
FAT tables (dosFs)
supported formats 200
fclose
( )
119
fd
table
162
fd
,
see
file descriptors
FD_CLR
115
FD_ISSET
115
FD_SET
115
FD_ZERO
115
fdopen
( )
119
fdprintf
( )
120
FIFO
message queues, Wind 47
POSIX 80
file descriptors (
fd
)
109
see also
files
see online
ioLib
device drivers, and 161
fd
table
162
freeing obsolete (rawFs) 224
internal structure 161
pending on multiple (select facility) 115
reclaiming 109
redirection 110
standard input/output/error 110
file pointers (
fp)
118
file systems 191-
238
see also
dosFs file systems; rawFs file systems; tapeFs file systems; Target Server File System (TSFS); TrueFFS flash file systems
block devices, and 191-
238
drivers, and 191-
238
RAM disks, and 143
files
attributes (dosFs) 211
closing 112
example 166
contiguous (dosFs)
absolutely 213
nearly 213
creating 112
deleting 113
exporting to remote machines 136
hidden (dosFs) 211
I/O system, and 107
naming 107
opening 111
example 163
reading from 113
example 166
remote machines, on 136
read-write (dosFs) 211
system (dosFs) 212
truncating 114
write-only (dosFs) 211
writing to 113
-fimplicit-templates
compiler option
280
FIOATTRIBSET
212
FIOBAUDRATE
133
FIOBLKSIZEGET
228
FIOBLKSIZESET
228
FIOCANCEL
133
FIOCONTIG
218
FIODISKCHANGE
226
dosFs ready-change 209
rawFs ready-change 224
FIODISKFORMAT
222,
226
FIODISKINIT
199,
226
FIOFLUSH
218,
226,
230,
231
pipes, using with 134
tty
devices, using with
133
FIOFSTATGET
218
FTP or RSH, using with 138
NFS client devices, using with 137
FIOGETNAME
218
FTP or RSH, using with 138
NFS client devices, using with 137
pipes, using with 135
tty
devices, using with
133
FIOGETOPTIONS
133
FIOLABELGET
218
FIOLABELSET
218
FIOMKDIR
209
FIOMOVE
218
FIONCONTIG
218
FIONFREE
218
FIONMSGS
135
FIONREAD
218
FTP or RSH, using with 138
NFS client devices, using with 137
pipes, using with 135
tty
devices, using with
133
FIONWRITE
133
FIOREADDIR
218
FTP or RSH, using with 138
NFS client devices, using with 137
FIORENAME
218
FIORMDIR
210
FIOSEEK
223
FTP or RSH, using with 138
memory drivers, using with 136
NFS client devices, using with 137
FIOSELECT
168
FIOSETOPTIONS
tty
devices, using with
133
tty
options, setting
130
FIOSYNC
FTP or RSH, using with 138
NFS client devices, using with 137
rawFs file systems, and 225
tapeFs file systems, and 230
FIOTRUNC
213
FIOUNMOUNT
224
FIOUNSELECT
168
FIOWHERE
218
FTP or RSH, using with 138
memory drivers, using with 136
NFS client devices, using with 137
flash file systems,
see
TrueFFS flash file systems
flash memory 293-
342
block allocation 336
block allocation algorithm 336
data clusters 336
benefits 336
erase cycles 338
over-programming 339
fault recovery 341
formatting, during 342
garbage collection, during 342
mapping information 342
write operation, during 341
garbage collection 338
optimization 339
garbage collection 340
wear-leveling 339
overview 336-
342
read and write operations 337
previously unwritten blocks 337
previously written blocks 338
reading from blocks 337
FLASH_BASE_ADRS
313,
316
FLASH_SIZE
316
flbase.h
329
flDelayMsec( )
315
flDontNeedVpp( )
331
FLFLash
structure
327
FLFlash.map
330
flNeedVpp( )
331
floating-point support
interrupt service routine limitations 68
task options 17
flow-control characters (
CTRL+Q
and
S
)
target shell 243
tty
132
flSetWindowSize( )
316
FLSocket
315
flSocketOf( )
318
flsystem.h
332
flWriteProtected( )
331
-fno-exceptions
compiler option (C++)
282,
284
-fno-implicit-templates
compiler option
280
-fno-rtti
compiler option (C++)
284
fopen
( )
118
formatArg
argument
305
formatFlags
306
formatParams
306
fppArchLib
68
fprintf
( )
120
fread
( )
119
free
( )
68
-frepo
compiler option
281
fstat
( )
210
FSTAT_DIR
210
FTL_FORMAT
306
FTL_FORMAT_IF_NEEDED
306
FTP (File Transfer Protocol)
ioctl
functions, and
138
network devices for, creating 138
ftruncate
( )
114,
213
fwrite
( )
119
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
G
getc
( )
119
global variables 27
GNU Library General Public License
demangler 247
GPL (General Public License)
demangler 247
group message queues (VxFusion) 395
see online
msgQDistGrpLib; msgQDistGrpShow
adding members 412
creating 412
deleting 413
displaying information about 414
working with 412
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
H
hardware
interrupts,
see
interrupt service routines
heartbeat, shared-memory 459
troubleshooting, for 460
help
command
243
hidden files (dosFs) 211
hooks, task
routines callable by 22
host shell (WindSh)
target shell, differences from 240
HRESULT
return type
363
common values 364
htonl
( )
shared-memory objects (VxMP option) 432
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
I
I/O system
asynchronous I/O
aioPxLib
71
IChannelHook
interface (DCOM)
373
IClassFactory
interface (COM)
350
IDL,
see
Interface Definition Language
IExample
interface (DCOM)
351
import
directive (DCOM)
366
INCLUDE_ATA
configuring dosFs file systems 195
INCLUDE_CACHE_ENABLE
452
INCLUDE_CBIO
195
INCLUDE_CBIO_DCACHE
139
INCLUDE_CBIO_DPART
139
INCLUDE_CBIO_MAIN
139
INCLUDE_CBIO_RAMDISK
139
INCLUDE_CDROMFS
232
INCLUDE_CPLUS
274
, 275
INCLUDE_CPLUS_COMPLEX
275
INCLUDE_CPLUS_COMPLEX_IO
275
INCLUDE_CPLUS_IOSTREAMS
275
INCLUDE_CPLUS_IOSTREAMS_FULL
275
INCLUDE_CPLUS_LANG
274
INCLUDE_CPLUS_STL
275
INCLUDE_CPLUS_STRING
275
INCLUDE_CPLUS_STRING_IO
275
INCLUDE_CTORS_DTORS
274
INCLUDE_DISK_CACHE
195
creating a disk cache 196
INCLUDE_DISK_PART
195
creating disk partitions 196
INCLUDE_DISK_UTIL
195
INCLUDE_DOSFS
192
INCLUDE_DOSFS_CHKDSK
195
INCLUDE_DOSFS_DIR_FIXED
195
INCLUDE_DOSFS_DIR_VFAT
195
INCLUDE_DOSFS_FAT
195
INCLUDE_DOSFS_FMT
195
INCLUDE_DOSFS_MAIN
195
INCLUDE_MMU_BASIC
464
INCLUDE_MMU_FULL
464
INCLUDE_MSG_Q_SHOW
439
INCLUDE_MTD
333
INCLUDE_MTD_AMD
302
INCLUDE_MTD_CFIAMD
302
INCLUDE_MTD_CFISCS
302
INCLUDE_MTD_I28F008
302
INCLUDE_MTD_I28F008_BAJA
302
INCLUDE_MTD_I28F016
302
INCLUDE_MTD_USR
333
INCLUDE_NFS
137
INCLUDE_NO_CPLUS_DEMANGLER
GPL issues 247
INCLUDE_PCMCIA
189
INCLUDE_POSIX_AIO
121
INCLUDE_POSIX_AIO_SYSDRV
121
INCLUDE_POSIX_FTRUNCATE
114
INCLUDE_POSIX_MEM
73
INCLUDE_POSIX_MQ
92
INCLUDE_POSIX_MQ_SHOW
95
INCLUDE_POSIX_SCHED
79
INCLUDE_POSIX_SEM
84
INCLUDE_POSIX_SIGNALS
104
INCLUDE_PROTECT_TEXT
464
INCLUDE_PROTECT_VEC_TABLE
464
INCLUDE_RAM_DISK
195
INCLUDE_RAWFS
221
INCLUDE_RLOGIN
246
INCLUDE_SCSI
145
booting dosFs file systems 219
configuring dosFs file systems 195
INCLUDE_SCSI_BOOT
145
booting dosFs file systems using 219
ROM size, increasing 146
INCLUDE_SCSI_DMA
145
INCLUDE_SCSI2
145
INCLUDE_SECURITY
247
INCLUDE_SEM_SHOW
435
INCLUDE_SHELL
242
INCLUDE_SHELL_BANNER
242
INCLUDE_SIGNALS
55,
56
INCLUDE_SM_OBJ
452,
457
INCLUDE_TAPEFS
226
INCLUDE_TAR
195
INCLUDE_TELNET
246
INCLUDE_TFFS
300
INCLUDE_TFFS_BOOT_IMAGE
301
INCLUDE_TFFS_SHOW
301
INCLUDE_TL_FTL
303
INCLUDE_TL_SSFDC
303
INCLUDE_USR_MEMDRV
135
INCLUDE_VXFUSION
394
INCLUDE_VXFUSION_DIST_MSG_Q_SHOW
394
INCLUDE_VXFUSION_DIST_NAME_DB_SHOW
394
INCLUDE_VXFUSION_GRP_MSG_Q_SHOW
394
INCLUDE_VXFUSION_IF_SHOW
394
INCLUDE_WDB_TSFS
237
INCLUDEMTD_WAMD
302
initialization
shared-memory objects (VxMP option) 454-
457,
459
virtual memory (VxVMI option) 468
initialization routines
adapters, designing (VxFusion) 423
block devices 176
initializing
asynchronous I/O (POSIX) 121
dosFs file system 196
rawFs file systems 221
SCSI interface 147
tapeFs file systems 227
VxFusion (distributed message queues) 398
installing drivers 159
instantiation, template (C++) 279-
282
intConnect
( )
65
intCount
( )
65
Interface Definition Language (IDL) 364-
371
attribute restrictions (DCOM) 370
CoClass definition 368
file attributes 368
import
directive
366
interface attributes 368
interface definition 367
and WOTL-generated files 354
interface body 367
interface header 367
reading IDL files 364
type library definition 367
widl
compiler
358-
364
INTERLEAVED_MODE_REQUIRES_32BIT_WRITES
322
interprocessor communication 463-
481
interrupt handling
application code, connecting to 65-
66
callable routines 65
disks, changing
ready-change mechanism 225
unmounting volumes 224
and exceptions 69
hardware,
see
interrupt service routines
pipes, using 134
stacks 66
interrupt latency 33
interrupt levels 69-
70
interrupt masking 69
interrupt service routines (ISR) 65-
70
see also
interrupt handling; interrupts;
intArchLib
(1);
intLib
(1)
distributed message queues, using with 416
limitations 67-
69
logging 68
see also
logLib
(1)
and message queues 70
and pipes 70
routines callable from 67
and semaphores 70
shared-memory objects (VxMP option), working with 451
and signals 55,
70
interrupt stacks 66
interrupts
locking 33
shared-memory objects (VxMP option) 453
task-level code, communicating to 70
VMEbus 66
intertask communications 32-
56
network 53-
54
intLevelSet
( )
65
intLock
( )
65
intLockLevelSet
( )
69
intUnlock
( )
65
intVecBaseGet
( )
65
intVecBaseSet
( )
65
intVecGet
( )
65
intVecSet
( )
65
I/O system 105-
190
see also
asynchronous I/O;
ioctl
( )
; USB
asynchronous I/O 121-
129
basic I/O (
ioLib
)
109-
117
buffered I/O 118
control functions (
ioctl
( )
)
114
differences between VxWorks and host system 154
fd
table
162
formatted I/O (
fioLib
)
120
internal structure 155-
189
memory, accessing 135
message logging 120
PCI (Peripheral Component Interconnect) 190
PCMCIA 189
redirection 110
serial devices 130
stdio
package (
ansiStdio
)
118
ioctl
( )
114
dosFs file system support 217
functions
FTP, using with 138
memory drivers, using with 135
NFS client devices, using with 137
pipes, using with 134
RSH, using with 138
tty
devices, using with
133
non-NFS devices 138
raw file system support 225
tapeFs file system support 230
tty
options, setting
130
ioDefPathGet
( )
108
ioDefPathSet
( )
108
ioGlobalStdSet
( )
110
iosDevAdd
( )
160
iosDevFind
( )
161
iosDrvInstall
( )
159
dosFs, and 196
iostreams (C++) 288
ioTaskStdSet
( )
110
ISR,
see
interrupt service routines
IUnknown
interface (DCOM)
349
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
K
kernel
see also
Wind facilities
and multitasking 8
POSIX and Wind features, comparison of 71
message queues 92-
93
scheduling 79
semaphores 84
priority levels 10
kernelTimeSlice
( )
11,
12
keyboard shortcuts
target shell 243
tty
characters
131
kill
( )
55,
103
killing
target shell,
see
abort character
tasks 18
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
L
-L
option (TSFS)
238
latency
interrupt locks 33
preemptive locks 33
Library General Public License
demangler restrictions 247
line editor (target shell) 243
line mode (
tty
devices)
131
selecting 130
lio_listio
( )
122
lkup
( )
help, getting 243
loader, target-resident 248-
259
loading
object modules 243
local objects 429
locking
interrupts 33
page (POSIX) 73
semaphores 83
spin-lock mechanism (VxMP option) 450-
451
target shell access 246
task preemptive locks 13,
33
logging facilities 120
and interrupt service routines 68
task
tLogTask
30
login
password, encrypting 247
remote
daemon
tRlogind
31
security 246-
247
shell, accessing target 246
loginUserAdd
( )
247
longjmp
( )
25
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
M
malloc
( )
interrupt service routine limitations
68
MAX_AIO_SYS_TASKS
122
MAX_LIO_CALLS
121
MEM_BLOCK_CHECK
449
memory
driver (
memDrv
)
135
flash 293-
342
advantages and limitations 293
block allocation 336
boot image in 307-
310
comparison with other storage media 293
data clusters 336
erase cycles 338
fallow region 307
fault recovery 341
formatting at an offset 308
garbage collection 338
optimization 339
overview 336-
342
read and write operations 337
uses 294
write protection 307
writing boot image to 309
locking (POSIX) 72-
73
see also
mmanPxLib
(1)
NVRAM 307
paging (POSIX) 72
pool 27
pseudo-I/O devices 135
shared-memory objects (VxMP option) 429-
461
swapping (POSIX) 72
virtual 463-
481
write-protecting 466,
477-
480
memory management unit,
see
MMU
Memory Technology Driver (MTD) (TrueFFS)
call sequence 329
Common Flash Interface (CFI) 321
AMD devices 323
CFI/SCS support 322
Fujitsu devices 323
component selection 297
component, defining as 333
devices supported 321
erase routine 333
identification routine 326
registering 334
JEDEC device ID 298
using 326
map function 330
non-CFI 323
AMD 324
Fujitsu 324
Intel 28F008 324
Intel 28F016 323
options 301
read routine 331
Scalable command set (SCS) 321
translation layer 294
write routine 332
writing 325-
335
component, defining as 333
identification routine 334
memPartOptionsSet
( )
449
memPartSmCreate
( )
447
message logging,
see
logging facilities
message queues 46-
52
see also
msgQLib
(1)
and VxWorks events 51
client-server example 50
displaying attributes 49,
95
and interrupt service routines 70
POSIX 91-
93
see also
mqPxLib
(1)
attributes 93-
94
code examples
attributes, examining 93-
94
checking for waiting message 99-
103
communicating by message queue 96-
98
notifying tasks 98-
103
unlinking 96
Wind facilities, differences from 92-
93
priority setting 48
shared (VxMP option) 437-
442
code example 439
creating 438
local message queues, differences from 438
Wind 47-
49
code example 48
creating 47
deleting 47
queueing order 47
receiving messages 47
sending messages 47
timing out 48
waiting tasks 48
ml( )
244
mlock
( )
73
mlockall
( )
73
mmanPxLib
73
MMU
see also
virtual memory - VxVMI option;
vmLib
(1)
shared-memory objects (VxMP option) 455
using programmatically 467-
481
modules,
see
component modules; object modules
mounting volumes
dosFs file systems 193,
201
rawFs file systems 223
tapeFs file systems 229
mq_close
( )
92,
96
mq_getattr
( )
92,
93
mq_notify
( )
92,
98-
103
mq_open
( )
92,
95
mq_receive
( )
92,
96
mq_send
( )
92,
96
mq_setattr
( )
92,
93
mq_unlink
( )
92,
96
mqPxLib
91
mqPxLibInit
( )
92
mqPxLibInit
( )
92
mr( )
244
MS-DOS file systems,
see
dosFs file systems
MSFT Long Names format 200
msgQCreate
( )
47
msgQDelete
( )
47
msgQDistCreate
( )
407
msgQDistDelete( )
407
msgQDistGrpAdd
( )
413
msgQDistGrpShow
( )
414
msgQDistReceive
( )
410
msgQDistSend
( )
408
msgQEvStart
( )
63
msgQEvStop
( )
63
msgQReceive
( )
47
msgQSend
( )
61
msgQSend
( )
47
msgQShow
( )
distributed message queues, displaying contents of 411
msgQShow
( )
439
msgQSmCreate
( )
438
mt_count
231
mt_op
231
MTBSF
231
MTBSR
231
MTD component
adding to project facility 334
MTD,
see
Memory Technology Driver
mtdTable[ ]
334
MTEOM
232
MTERASE
232
MTFSF
231
MTFSR
231
MTIOCTOP
operation
231
MTNBSF
232
MTNOP
232
MTOFFL
232
MTOP
structure
231
MTRETEN
232
MTREW
231
MTWEOF
230
multitasking 8,
25
example 29
munching (C++) 276
munlock
( )
73
munlockall
( )
73
mutexes (POSIX) 90
mutual exclusion 33-
34
see also
semLib
(1)
code example 37-
38
counting semaphores 43
interrupt locks 33
preemptive locks 33
and reentrancy 27
Wind semaphores 39-
43
binary 37-
38
deletion safety 41
priority inheritance 40
priority inversion ??-40,
40-??
recursive use 42
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
N
name database (VxMP option) 431-
433
adding objects 431
displaying 432
named semaphores (POSIX) 83
using 87-
90
nanosleep
( )
20
using 72
netDevCreate
( )
138
netDrv
compared with TSFS 237
netDrv
driver
137
network devices
see also
FTP; NFS; RSH
NFS 136
non-NFS 137
Network File System,
see
NFS
network task
tNetTask
30
networks
intertask communications 53-
54
transparency 136
NFS (Network File System)
see online
nfsDrv
;
nfsLib
authentication parameters 137
devices 136
creating 136
naming 108
open
( )
, creating files with
112
ioctl
functions, and
137
transparency 136
nfsAuthUnixPrompt
( )
137
nfsAuthUnixSet
( )
137
nfsDrv
driver
136
nfsMount
( )
136
NO_FTL_FORMAT
306
non-block devices,
see
character devices
noOfDrives
318
ntohl
( )
shared-memory objects (VxMP option) 432
NUM_RAWFS_FILES
221
NVRAM 307
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
O
O_CREAT
210
O_NONBLOCK
93
O_CREAT
87
O_EXCL
87
O_NONBLOCK
96
object ID (VxMP option) 431
object modules
see also
application modules
loading dynamically 243
online documentation 4
OPC interfaces (DCOM) 374
proxy and stub files, handling 374
open
( )
111
access flags 111
example 163
files asynchronously, accessing 121
files with, creating 112
subdirectories, creating 209
opendir
( )
210
operating system 7-
73
OPT_7_BIT
130
OPT_ABORT
131
OPT_CRMOD
130
OPT_ECHO
130
OPT_LINE
130
OPT_MON_TRAP
131
OPT_RAW
131
OPT_TANDEM
130
OPT_TERMINAL
131
optional components (TrueFFS)
options 301
optional VxWorks products
VxMP shared-memory objects 429-
461
VxVMI virtual memory 464-
481
ORPC support 347
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
P
page locking 73
see also
mmanPxLib
(1)
page states (VxVMI option) 468
paging 72
partitions, disk
code examples
configuring disk partitions 198
creating disk partitions 197
formatting disk partitions 197
initializing multiple partitions 198
password encryption
login 247
pause
( )
55
PCI (Peripheral Component Interconnect) 190
see online
pciConfigLib
;
pciConfigShow
;
pciInitLib
PCMCIA 189,
313
see online
pcmciaLib
;
pcmciaShow
pdHelp
command
243
pended tasks 9
pended-suspended tasks 9
PHYS_MEM_DESC
465
pipeDevCreate
( )
52
pipes 52
see online
pipeDrv
interrupt service routines 70
ioctl
functions, and
134
ISRs, writing from 134
select
( )
, using with
52
polling
shared-memory objects (VxMP option) 453
POSIX
see also
asynchronous I/O
asynchronous I/O 121
clocks 71-
72
see also
clockLib
(1)
file truncation 114
and kernel 71
memory-locking interface 72-
73
message queues 91-
93
see also
message queues;
mqPxLib
(1)
mutex attributes 90
prioceiling
attribute
91
protocol
attribute
90
page locking 73
see also
mmanPxLib
(1)
paging 72
priority limits, getting task 82
priority numbering 80
scheduling 79-
83
see also
scheduling;
schedPxLib
(1)
semaphores 83-
90
see also
semaphores;
semPxLib
(1)
signal functions 103-
104
see also
signals;
sigLib
(1)
routines 55
swapping 72
task priority, setting 80-
81
code example 80-
81
thread attributes 74-
78
contentionscope
attribute
75
detachstate
attribute
74
inheritsched
attribute
75
schedparam
attribute
76
schedpolicy
attribute
76
specifying 77
stackaddr
attribute
74
stacksize
attribute
74
threads 73
timers 71-
72
see also
timerLib
(1)
Wind features, differences from 71
message queues 92-
93
scheduling 79
semaphores 84
posixPriorityNumbering
global variable
80
preemptive locks 13,
33
preemptive priority scheduling 11,
82
printErr
( )
120
printErrno
( )
24
printf
( )
120
prioceiling
attribute
91
priority
inheritance 40
inversion ??-40,
40-??
message queues 48
numbering 80
preemptive, scheduling 11,
82
task, setting
POSIX 80-
81
Wind 10
processes (POSIX) 80
project facility
adding MTD to 334
protocol
attribute
90
PS_CLNT_PROPAGATED
372
PS_DEFAULT
372
PS_SVR_ASSIGNED
372
pthread_attr_getdetachstate
( )
75
pthread_attr_getinheritsched
( )
75
pthread_attr_getschedparam
( )
76
pthread_attr_getscope
( )
75
pthread_attr_getstackaddr
( )
74
pthread_attr_getstacksize
( )
74
pthread_attr_setdetachstate
( )
75
pthread_attr_setinheritsched
( )
75
pthread_attr_setschedparam
( )
76
pthread_attr_setscope
( )
75
pthread_attr_setstackaddr
( )
74
pthread_attr_setstacksize
( )
74
pthread_attr_t
74
pthread_cleanup_pop
( )
78,
79
pthread_cleanup_push
( )
78,
79
PTHREAD_CREATE_DETACHED
75
PTHREAD_CREATE_JOINABLE
75
PTHREAD_EXPLICIT_SCHED
75
pthread_getschedparam
( )
76
pthread_getspecific
( )
78
PTHREAD_INHERIT_SCHED
75
pthread_key_create
( )
78
pthread_key_delete
( )
78
pthread_mutex_getprioceiling(/ )
91
pthread_mutex_setprioceiling(/ )
91
pthread_mutexattr_getprioceiling(/ )
91
pthread_mutexattr_getprotocol(/ )
91
pthread_mutexattr_setprioceiling(/ )
91
pthread_mutexattr_setprotocol(/ )
91
pthread_mutexattr_t
90
PTHREAD_PRIO_INHERIT
91
PTHREAD_PRIO_PROTECT
91
PTHREAD_SCOPE_PROCESS
75
PTHREAD_SCOPE_SYSTEM
75
pthread_setcancelstate
( )
78
pthread_setcanceltype
( )
78
pthread_setschedparam
( )
76
pthread_setspecific
( )
78
pty
devices
130
see online
ptyDrv
pure code 27
putc
( )
119
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
Q
q_notify( )
59
q_vnotify( )
59
queued signals 103-
104
queues
see also
message queues
ordering (FIFO vs. priority) 44-
48
semaphore wait 44
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
R
-R
option (TSFS)
238
raise
( )
55
RAM disks 142
see online
ramDrv
code example 207
creating 143
drivers 143
naming 143
ramDevCreate
( )
143
raw mode (
tty
devices)
131
rawFs file systems 221-
226
see online
rawFsLib
disk changes 223
ready-change mechanism 224
unmounting volumes 223
disk organization 221
disk volume, mounting 223
fd
s, freeing obsolete
224
initializing 221
ioctl( )
requests, support for
225
starting I/O 223
synchronizing disks 225
rawFsDevInit
( )
222
rawFsDrvNum
global variable
222
rawFsInit
( )
221
rawFsLib
224
rawFsReadyChange
( )
224
rawFsVolUnmount
( )
223
interrupt handling 224
read
( )
113
example 166
readdir
( )
210
ready tasks 9
ready-change mechanism
dosFs file systems 209
rawFs file systems 224
reboot character (
CTRL+X
)
target shell 243
tty
132
redirection 110
global 110
task-specific 110
reentrancy 25-
29
reference pages, online 4
reloading object modules 244
remote login
daemon
tRlogind
31
security 246-
247
shell, accessing target 246
remove
( )
non-file-system drivers 159
subdirectories, removing 210
Resident Flash Array (RFA) 313
restart character (
CTRL+C
)
tty
132
restart character (target shell) (
CTRL+C
)
245
changing default 245
resume character (
CTRL+Q
)
target shell 243
tty
132
rewind
228
rewinddir
( )
210
rfaCardDetected
315
rfaCardDetected( )
318
rfaGetAndClearChangeIndicator
317
rfaGetAndClearChangeIndicator( )
320
rfaRegister( )
314
rfaSetMappingContext
317
rfaSetMappingContext( )
320
rfaSetWindow
316
rfaSetWindow
( )
315,
319
rfaSocketInit
316
rfaSocketInit( )
315,
319
rfaVccOff
315
rfaVccOff( )
319
rfaVccOn
315
rfaVccOn( )
318
rfaVppOff
316
rfaVppOff( )
319
rfaVppOn
315
rfaVppOn( )
319
rfaWriteProtected
317
rfaWriteProtected( )
320
ring buffers 68,
70
rlogin
(UNIX)
246
ROM monitor trap (
CTRL+X
)
target shell 243
tty
132
root task
tUsrRoot
30
round-robin scheduling
defined 12
using 82-
83
routines
scheduling, for 79
RPC (Remote Procedure Calls) 53
daemon
tPortmapd
31
RSH (Remote Shell protocol)
ioctl
functions, and
138
network devices for, creating 138
Run-Time Type Information (RTTI) 284
-RW
option (TSFS)
238
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
S
SAFEARRAY
and
SAFEARRAY *
(DCOM)
362
supported COM features 362
supported DCOM features 363
Scalable command set (SCS) 321
scanf
( )
120
SCHED_FIFO
82
sched_get_priority_max
( )
82
sched_get_priority_max
( )
79
sched_get_priority_min
( )
82
sched_get_priority_min
( )
79
sched_getparam
( )
scheduling parameters, describing 76
sched_getparam
( )
79
sched_getscheduler
( )
79,
82
SCHED_RR
82
sched_rr_get_interval
( )
82
sched_rr_get_interval
( )
79
sched_setparam
( )
scheduling parameters, describing 76
sched_setparam
( )
79,
81
sched_setscheduler
( )
79,
81
sched_yield
( )
79
schedPxLib
79,
80
scheduling 10-
14
POSIX 79-
83
see also
schedPxLib
(1)
algorithms 80
code example 82
FIFO 80,
82
policy, displaying current 82
preemptive priority 82
priority limits 82
priority numbering 80
round-robin 82-
83
routines for 79
time slicing 82
Wind facilities, differences from 79
Wind
preemptive locks 13,
33
preemptive priority 11
round-robin 12
SCSI devices 144-
154
see online
scsiLib
booting dosFs file systems using 219
booting from
ROM size, adjusting 146
bus failure 153
code example 207
configuring 145-
153
code examples 149
options 148
initializing support 147
libraries, supporting 146
SCSI bus ID
changing 153
configuring 146
SCSI-1 vs. SCSI-2 146
tagged command queuing 149
troubleshooting 153
VxWorks image size, affecting 146
wide data transfers 149
SCSI_AUTO_CONFIG
145
SCSI_OPTIONS
structure
148
SCSI_TAG_HEAD_OF_QUEUE
149
SCSI_TAG_ORDERED
149
SCSI_TAG_SIMPLE
149
SCSI_TAG_UNTAGGED
149
scsi1Lib
146
scsi2Lib
146
scsiBlkDevCreate
( )
147
scsiCommonLib
147
scsiDirectLib
147
scsiLib
146
scsiPhysDevCreate
( )
147
scsiSeqDevCreate
( )
227
scsiSeqLib
147
scsiTargetOptionsSet
( )
148
SCSI bus failure 154
security 246-
247
TSFS 237
SEL_WAKEUP_LIST
167
SEL_WAKEUP_NODE
168
select facility 115
see online
selectLib
code example 116
driver support of
select
( )
168
macros 115
select
( )
115
implementing 166
select
( )
and pipes
52
selNodeAdd
( )
168
selNodeDelete
( )
168
selWakeup
( )
168
selWakeupAll
( )
168
selWakeupListInit
( )
167
selWakeupType
( )
168
sem_close
( )
84,
88
SEM_DELETE_SAFE
42
sem_destroy
( )
84
sem_getvalue
( )
84
sem_init
( )
84,
85
SEM_INVERSION_SAFE
40
sem_open
( )
84,
87
sem_post
( )
84
sem_trywait
( )
84
sem_unlink
( )
84,
88
sem_wait
( )
84
semaphores 34-
90
and VxWorks events 44-
46
see also
semLib
(1)
counting 84
example 43
deleting 36,
85
giving and taking 36-
37,
83
and interrupt service routines 70,
68
locking 83
POSIX 83-
90
see also
semPxLib
(1)
named 83,
87-
90
code example 88
unnamed 83,
85,
85-
87
code example 86
Wind facilities, differences from 84
posting 83
recursive 42
code example 42
shared (VxMP option) 433-
437
code example 435
creating 434
displaying information about 435
local semaphores, differences from 434
synchronization 34,
43
code example 38-
39
unlocking 83
waiting 83
Wind 34-
46
binary 36-
39
code example 37-
38
control 35
counting 43
mutual exclusion 37-
38,
39-
43
queuing 44
synchronization 38-
39
timing out 44
semBCreate
( )
35
semBSmCreate
( )
(VxMP option)
434
semCCreate
( )
35
semCSmCreate
( )
(VxMP option)
434
semDelete
( )
35
shared semaphores (VxMP option) 434
semEvStart
( )
63
semEvStop
( )
63
semFlush
( )
35,
39
semGive
( )
61
semGive
( )
35
semInfo
( )
435
semMCreate
( )
35
semPxLib
83
semPxLibInit
( )
84
semShow
( )
435
semTake
( )
35
SEQ_DEV
174
see also
sequential devices
fields 178
tapeFs file system, using with 227
sequential devices 174
see also
block devices;
SEQ_DEV
; tape devices; tapeFs file systems
initializing for tapeFs 227
internal structure
load/unload routine 187
read routine 180
read-block-limits routine 186
reserve routine 185
tape erasing routine 188
tape release routine 186
tape rewind routine 185
tape spacing routine 187
write routine 181
write-file-marks routine 184
serial drivers 130
set_terminate
( )
(C++)
284
setjmp
( )
25
setWindow( )
316
shared code 25
shared data structures 32
shared message queues (VxMP option) 437-
442
code example 439
creating 438
displaying queue status 439
local message queues, differences from 438
shared semaphores (VxMP option) 433-
437
code example 435
creating 434
displaying information about 435
local semaphores, differences from 434
shared-memory allocator (VxMP option) 442-
449
shared-memory anchor
shared-memory objects, configuring (VxMP option) 452-
453
shared-memory networks
shared-memory objects, working with 452
shared-memory objects (VxMP option) 429-
461
advertising 431
anchor, configuring shared-memory 452-
453
cacheability 452,
455
configuring 452-
459
constants 456
multiprocessor system 457
displaying number of used objects 457
heartbeat 459
troubleshooting, for 460
initializing 454-
457,
459
interrupt latency 451
interrupt service routines 451
interrupts
bus 453
mailbox 453
limitations 451-
452
locking (spin-lock mechanism) 450-
451
memory
allocating 442-
449
running out of 451
memory layout 454
message queues, shared 437-
442
see also
shared message queues
code example 439
name database 431-
433
object ID 431
partitions 442-
449
routines 443
side effects 449
system 442-
446
code example 444
user-created 443,
447-
449
code example 447
polling 453
semaphores, shared 433-
437
see also
shared semaphores (VxMP option)
code example 435
shared-memory networks, working with 452
shared-memory pool 454
shared-memory region 453
single- and multiprocessors, using with 430
system requirements 450
troubleshooting 459
types 432
shared-memory pool
address, defining (VxMP option) 454
shared-memory region (VxMP option) 453
shell task (
tShell
)
242
shell,
see
host shell; target shell
shellLock
( )
246
show
( )
49,
88,
95
sigaction
( )
55,
103
sigaddset
( )
55
sigblock
( )
55
sigdelset
( )
55
sigemptyset
( )
55
sigfillset
( )
55
sigInit
( )
55
sigismember
( )
55
sigmask
( )
55
signal handlers 55
signal
( )
55
signals 54-
56
see also
sigLib
(1)
configuring 56
and interrupt service routines 55,
70
POSIX 103-
104
queued 103-
104
routines 55
signal handlers 55
UNIX BSD 54
routines 55
sigpending
( )
55
sigprocmask
( )
55
sigqueue
( )
buffers to, allocating 104
sigqueue
( )
103-
104
sigqueueInit
( )
104
sigsetmask
( )
55
sigsuspend
( )
55
sigtimedwait
( )
103
sigvec
( )
55
sigwaitinfo
( )
103
SIO_HW_OPTS_SET
133
SM_ANCHOR_ADRS
453
SM_INT_BUS
453
SM_INT_MAILBOX
453
SM_INT_NONE
453
SM_INT_TYPE
453
sm_notify( )
59
SM_OBJ_MAX_MEM_PART
456
SM_OBJ_MAX_MSG_Q
456
SM_OBJ_MAX_NAME
456
SM_OBJ_MAX_SEM
456
SM_OBJ_MAX_TASK
456
SM_OBJ_MAX_TRIES
451
SM_OBJ_MEM_SIZE
456
SM_TAS_HARD
450
SM_TAS_TYPE
450
small computer system interface,
see
SCSI devices
smCpuInfoGet
( )
(VxMP option)
453
smIfVerbose
global variable (VxMP)
461
smMemAddToPool
( )
(VxMP option)
444
smMemCalloc
( )
(VxMP option)
444
smMemFindMax
( )
(VxMP option)
444
smMemFree
( )
(VxMP option)
444
smMemMalloc
( )
(VxMP option)
444
smMemOptionsSet
( )
(VxMP option)
444,
449
smMemRealloc
( )
(VxMP option)
444
smMemShow
( )
(VxMP option)
444
smNameAdd
( )
(VxMP option)
431
smNameFind
( )
(VxMP option)
431
smNameFindByValue
( )
(VxMP option)
431
smNameRemove
( )
(VxMP option)
431
smNameShow
( )
(VxMP option)
431
smObjAttach
( )
(VxMP option)
459
smObjInit
( )
(VxMP option)
459
smObjSetup
( )
(VxMP option)
459
smObjShow
( )
(VxMP option)
457
troubleshooting, for 460
smObjTimeoutLogEnable
( )
(VxMP option)
460
socket component drivers (TrueFFS)
translation layer 298
socket
( )
154
sockets 53
I/O devices, as 154
TSFS 236
spawning tasks 14-
15,
29
spin-lock mechanism (VxMP option) 450-
451
interrupt latency 451
sprintf
( )
120
sscanf
( )
120
stacks
interrupt 66
no fill 16
standard input/output/error
basic I/O 110
buffered I/O (
ansiStdio
)
119
Standard Template library (STL) 289
stat
( )
210
stdio
package
ANSI C support 118
omitting 120
printf
( )
120
sprintf
( )
120
sscanf
( )
120
STDMETHODCALLTYPE
354
STDMETHODIMP
355
subdirectories (dosFs)
creating 209
file attribute 212
suspended tasks 9
swapping 72
synchronization (task) 34
code example 38-
39
counting semaphores, using 43
semaphores 38-
39
synchronizing media
dosFs file systems 209
rawFs file systems 225
tapeFs file systems 230
SYS_SCSI_CONFIG
219
sysIntDisable
( )
66
sysIntEnable
( )
66
sysPhysMemDesc[ ]
465,
467
page states 465
shared-memory objects (VxMP option) 456
virtual memory mapping 465
sysScsiConfig
( )
146
sysScsiInit
( )
147
system clock 20
system files (dosFs) 212
system information, displaying 480
system tasks 30-
31
sysTffs.c
298
sysTffsFormat
( )
308
sysTffsInit( )
305
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
T
T_SM_BLOCK
432
T_SM_MSG_Q
432
T_SM_PART_ID
432
T_SM_SEM_B
432
T_SM_SEM_C
432
tape devices
see also
sequential devices; tapeFs file systems
changing 230
code examples
block devices, working with 229
SCSI, working with 151
configuring 228
SCSI, supporting 145
volumes
mounting 229
unmounting 230
TAPE_CONFIG
228
tapeFs file systems 226-
232
code example
block size, working with 229
fixed block size transfers 228
initializing 227
ioctl( )
requests, and
230
mounting tape volumes 229
operating modes 229
SCSI drivers, and 145
sequential devices for, initializing 227
starting I/O 230
tape changes 230
tape organization 227
variable block size transfers 228
tapeFsDevInit
( )
227
tapeFsDrvNum
global variable
227
tapeFsInit
( )
227
tapeFsLib
226
tapeFsVolUnmount
( )
230
target agent
task (
tWdbTask
)
30
Target Server File System (TSFS) 235
configuring 237
error handling 237
file access permissions 237
sockets, working with 236
target shell 240-
248
see online
dbgLib
;
dbgPdLib
;
shellLib
;
usrLib
;
usrPdLib
aborting (
CTRL+C
)
244-
245
changing default 245
tty
132
accessing from host 246
configuring VxWorks with 242
control characters (
CTRL+
x
)
243
debugging 244
displaying shell banner 242
edit mode, specifying
toggle between input mode 243
help, getting 243
host shell, differences from 240
line editing 243
loading
object modules 243
locking access 246
reloading modules 244
remote login 246
restarting 245
task
tShell
31
task control blocks (TCB) 8,
18,
21,
28,
67
taskActivate
( )
15
taskCreateHookAdd
( )
21
taskCreateHookDelete
( )
21
taskDelay
( )
20
taskDelete
( )
18
taskDeleteHookAdd
( )
21
taskDeleteHookDelete
( )
21
taskIdListGet
( )
17
taskIdSelf
( )
16
taskIdVerify
( )
16
taskInfoGet
( )
17
taskInit
( )
15
taskIsReady
( )
18
taskIsSuspended
( )
18
taskLock
( )
11
taskName
( )
16
taskNameToId
( )
16
taskOptionsGet
( )
17
taskOptionsSet
( )
17
taskPriorityGet
( )
17
taskPrioritySet
( )
10,
11
taskRegsGet
( )
17
taskRegsSet
( )
18
taskRestart
( )
20
taskResume
( )
20
tasks 8-
31
blocked 13
contexts 8
creating 14
control blocks 8,
18,
21,
28,
67
creating 14-
15
delayed 9
delayed-suspended 9
delaying 8,
9,
20,
63-
64
deleting safely 18-
19
code example 19
semaphores, using 41
displaying information about 17-
18
error status values 22-
24
see also
errnoLib
(1)
exception handling 24-
25
see also
signals;
sigLib
(1);
excLib
(1)
tExcTask
30
executing 19
hooks
see also
taskHookLib
(1)
extending with 21-
22
troubleshooting 21
IDs 15
interrupt level, communicating at 70
pipes 134
logging (
tLogTask
)
30
names 15
automatic 16
network (
tNetTask
)
30
option parameters 16
pended 9
pended-suspended 9
priority, setting
driver support tasks 14
POSIX 80-
81
code example 80-
81
Wind 10
ready 9
remote login (
tRlogind
,
tRlogInTask
,
tRlogOutTask
)
31
root (
tUsrRoot
)
30
RPC server (
tPortmapd
)
31
scheduling
POSIX 79-
83
preemptive locks 13,
33
preemptive priority 11,
82
priority limits, getting 82
round-robin 12
see also
round-robin scheduling
time slicing 82
Wind 10-
14
shared code 25
shell (
tShell
)
242
and signals 25,
54-
56
spawning 14-
15,
29
stack allocation 15
states 9
suspended 9
suspending and resuming 20
synchronization 34
code example 38-
39
counting semaphores, using 43
system 30-
31
target agent (
tWdbTask
)
30
target shell (
tShell
)
31
task events register 61
API 61
telnet (
tTelnetd
,
tTelnetInTask
,
tTelnetOutTask
)
31
variables 28
see also
taskVarLib
(1)
context switching 28
taskSafe
( )
18
taskSpawn
( )
14
taskStatusString
( )
17
taskSuspend
( )
20
taskSwitchHookAdd
( )
21
taskSwitchHookDelete
( )
21
taskTcb
( )
18
taskUnlock
( )
11
taskUnsafe
( )
18,
19
taskVarAdd
( )
28
taskVarDelete
( )
28
taskVarGet
( )
28
taskVarSet
( )
28
TCP (Transmission Control Protocol) 53
telegram buffers (VxFusion) 420
see online
distTBufLib
telegrams (VxFusion) 419
reading 427
telnet
246
daemon
tTelnetd
31
terminal characters,
see
control characters
terminate( )
(C++)
284
TFFS_STD_FORMAT_PARAMS
305
tffsBootImagePut
( )
301
tffsConfig.c
309
tffsDevCreate
( )
310
tffsDevFormat
( )
304
tffsDevFormatParams
305
tffsDriveNo
argument
305
tffsDrv.h
304
tffsRawio
( )
309
tffsShow
( )
301
tffsShowAll
( )
301
threads (POSIX) 73
attributes 74-
78
specifying 77
keys 78
private data, accessing 78
terminating 78
time slicing 12
determining interval length 82
timeout
message queues 48
semaphores 44
timeouts
semaphores 44
timers
see also
timerLib
(1)
message queues, for (Wind) 48
POSIX 71-
72
semaphores, for (Wind) 44
watchdog 63-
64
code examples 64
tools
configuration and build 2
tools, target-based development 239-
272
translation layers (TrueFFS) 294
options 303
transports (VxFusion) 395
troubleshooting
SCSI devices 153
shared-memory objects (VxMP option) 459
TrueFFS flash file systems 293-
342
boot image region 307-
310
creating 307
fallow region 307
write-protecting 307
writing to 309
building
boot image region 307-
310
command-line 311
conditional compilation 303
configuring 298-
304
device formatting 304
drive mounting 310
examples 311
Memory Technology Driver (MTD) 297
overview 296
socket driver 298
displaying information about 301
drives
attaching to dosFs 310
formatting 305
mounting 310
numbering 305
fallow region 307
ioctl 294
layers
core layer 295
MTD layer 295
socket layer 295
translation layer 295
Memory Technology Driver (MTD)
Common Flash Interface (CFI) 321
component selection 297
devices supported 321
identification routine 326
JEDEC device ID 298
writing 325-
335
socket driver
address mapping 320
PCMCIA 313
register routines 314
Resident Flash Array (RFA) 313
socket registration 318
socket structure 314
socket windowing 320
stub files 313
writing 312-
321
translation layers 294
write protection 307
write-protecting flash
NVRAM 307
truncation of files 114
tty
devices
130
see online
tyLib
control characters (
CTRL+
x
)
131
ioctl( )
functions, and
133
line mode 131
selecting 130
options 130
all, setting 131
none, setting 131
raw mode 131
X-on/X-off 130
tyAbortSet
( )
245
tyBackspaceSet
( )
132
tyDeleteLineSet
( )
132
tyEOFSet
( )
132
tyMonitorTrapSet
( )
133
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
U
UDP (User Datagram Protocol) 53
unnamed semaphores (POSIX) 83,
85,
85-
87
usrDosFsOld.c
195
usrFdiskPartCreate
( )
196
usrFdiskPartLib
141
usrMmuInit
( )
468
usrScsiConfig
( )
147
usrSmObjInit
( )
(VxMP option)
452,
454,
459
usrTffsConfig( )
310
usrVxFusionInit( )
398
customizing with 399
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
V
valloc
( )
(VxVMI option)
469
variables
global 27
static data 27
task 28
VARIANT
and
VARIANT *
(DCOM)
361
vector tables
exception, write-protecting 466
virtual circuit protocol,
see
TCP
virtual memory 463-
481
configuration 464-
466
mapping 465-
466
aliasing 470
VxVMI option 464-
481
configuration 464-
466
contexts 467-
469
debugging 480
global 467
initializing 468
page states 468
private 469-
476
code example 471
restrictions 481
write-protecting 466,
477-
480
code example 478
VM_CONTEXT
467
VM_PAGE_SIZE
464
VM_STATE_CACHEABLE
constants
468
VM_STATE_MASK_CACHEABLE
469
VM_STATE_MASK_VALID
469
VM_STATE_MASK_WRITABLE
469
VM_STATE_VALID
468
VM_STATE_VALID_NOT
468
VM_STATE_WRITABLE
468
VM_STATE_WRITABLE_NOT
468
vmContextCreate
( )
(VxVMI option)
469
vmContextShow
( )
(VxVMI option)
480
vmCurrentSet
( )
(VxVMI option)
469
VMEbus interrupt handling 66
vmGlobalInfoGet
( )
(VxVMI option)
469
vmGlobalMap
( )
(VxVMI option)
467,
481
vmGlobalMapInit
( )
(VxVMI option)
468
vmMap
( )
(VxVMI option)
469,
481
vmStateSet
( )
(VxVMI option)
469,
477
volume labels (dosFs)
file attribute 212
volumes,
see
disks; tape devices
VX_ALTIVEC_TASK
16
VX_DSP_TASK
16
VX_FP_TASK
16,
273,
375
VX_FP_TASK
option
17
VX_NO_STACK_FILL
16
VX_PRIVATE_ENV
16
VX_UNBREAKABLE
16
creating shell task (
tShell
)
242
VxComBSTR
389
VXDCOM_AUTHN_LEVEL
356
VXDCOM_BSTR_POLICY
356
VXDCOM_CLIENT_PRIORITY_PROPAGATION
356
VXDCOM_DYNAMIC_THREADS
357
VXDCOM_OBJECT_EXPORTER_PORT_NUMBER
357
VXDCOM_SCM_STACK_SIZE
357
VXDCOM_STACK_SIZE
357
VXDCOM_STATIC_THREADS
358
VXDCOM_THREAD_PRIORITY
358
vxencrypt
247
VxFusion,
see
distributed message queues
VxMP,
see
shared-memory objects (VxMP option)
VxVMI (option) 464-
481
see also
virtual memory - VxVMI option;
vmLib
(1)
VxWorks
components 3
configuration and build 2
optional products
VxMP 429-
461
VxVMI 464-
481
overview 1-
5
VxWorks long names (VxLong) format 200
A
B
C
D
E
F
G
H
I
K
L
M
N
O
P
Q
R
S
T
U
V
W
W
WAIT_FOREVER
44
watchdog timers 63-
64
code examples
creating a timer 64
wdCancel
( )
64
wdCreate
( )
63,
64
wdDelete
( )
64
wdStart
( )
63,
64
widl
compiler
358-
364
command-line use 358
data types 360
automation 360
non-automation 361
generated code 359
Wind facilities 71
message queues 47-
49
POSIX, differences from 71
message queues 92-
93
scheduling 79
semaphores 84
scheduling 10-
14
semaphores 34-
46
Wind IDL compiler,
see
widl
compiler
wind
kernel,
see
kernel
Wind Object Template Library (WOTL) 348-
355
classes 348
generated files
macros in 353
reading 352
interface mapping 355
window
structure
316
workQPanic 69
write protection 466,
477-
480
device drivers, and 184
write
( )
113
pipes and ISRs 134
writethrough mode, cache 170