VxWorks

Programmer's Guide

5.5


Contents

1 Introduction

1.1 Overview
1.2 Related Documentation Resources
1.3 VxWorks Configuration and Build
1.4 Wind River Coding Conventions
1.5 Documentation Conventions

2 Basic OS

2.1 Introduction
2.2 VxWorks Tasks
2.3 Intertask Communications
2.4 VxWorks Events
2.5 Watchdog Timers
2.6 Interrupt Service Code: ISRs

3 POSIX Standard Interfaces

3.1 Introduction
3.2 POSIX Clocks and Timers
3.3 POSIX Memory-Locking Interface
3.4 POSIX Threads
3.5 POSIX Scheduling Interface
3.6 POSIX Semaphores
3.7 POSIX Mutexes and Condition Variables
3.8 POSIX Message Queues
3.9 POSIX Queued Signals

4 I/O System

4.1 Introduction
4.2 Files, Devices, and Drivers
4.3 Basic I/O
4.4 Buffered I/O: stdio
4.5 Other Formatted I/O
4.6 Asynchronous Input/Output
4.7 Devices in VxWorks
4.8 Differences Between VxWorks and Host System I/O
4.9 Internal Structure
4.10 PCMCIA
4.11 Peripheral Component Interconnect: PCI

5 Local File Systems

5.1 Introduction
5.2 MS-DOS-Compatible File System: dosFs
5.3 Booting from a Local dosFs File System Using SCSI
5.4 Raw File System: rawFs
5.5 Tape File System: tapeFs
5.6 CD-ROM File System: cdromFs
5.7 The Target Server File System: TSFS

6 Target Tools

6.1 Introduction
6.2 Target-Resident Shell
6.3 Target-Resident Loader
6.4 Target-Resident Symbol Tables
6.5 Show Routines
6.6 Common Problems

7 C++ Development

7.1 Introduction
7.2 Working with C++ under VxWorks
7.3 Initializing and Finalizing Static Objects
7.4 Programming with GNU C++
7.5 Programming with Diab C++
7.6 Using C++ Libraries
7.7 Running the Example Demo

8 Flash Memory Block Device Driver

8.1 Introduction
8.2 Building Systems with TrueFFS
8.3 Selecting an MTD Component
8.4 Identifying the Socket Driver
8.5 Configuring and Building the Project
8.6 Formatting the Device
8.7 Creating a Region for Writing a Boot Image
8.8 Mounting the Drive
8.9 Running the Shell Commands with Examples
8.10 Writing Socket Drivers
8.11 Using the MTD-Supported Flash Devices
8.12 Writing MTD Components
8.13 Flash Memory Functionality

9 VxDCOM Applications

9.1 Introduction
9.2 An Overview of COM Technology
9.3 Using the Wind Object Template Library
9.4 Reading WOTL-Generated Code
9.5 Configuring DCOM Properties' Parameters
9.6 Using the Wind IDL Compiler
9.7 Reading IDL Files
9.8 Adding Real-Time Extensions
9.9 Using OPC Interfaces
9.10 Writing VxDCOM Servers and Client Applications
9.11 Comparing VxDCOM and ATL Implementations.

10 Distributed Message Queues

10.1 Introduction
10.2 Configuring VxWorks with VxFusion
10.3 Using VxFusion
10.4 System Limitations
10.5 Node Startup
10.6 Telegrams and Messages
10.7 Designing Adapters

11 Shared-Memory Objects

11.1 Introduction
11.2 Using Shared-Memory Objects
11.3 Internal Considerations
11.4 Configuration
11.5 Troubleshooting

12 Virtual Memory Interface

12.1 Introduction
12.2 Basic Virtual Memory Support
12.3 Virtual Memory Configuration
12.4 General Use
12.5 Using the MMU Programmatically

Index