VxWorks 5.5 Migration Guide, 6.8
Contents
1 Overview
1.1 Introduction
1.2 Terminology
1.3 Related Documentation
2 Development Environment Changes
2.1 Introduction
2.2 Environment Variables and Development Shell
2.3 Directory Structure
2.4 Build Infrastructure
2.4.1 Makefile and make Changes
2.4.2 Recompiling VxWorks Source Code
2.4.3 Compiling Source Code for Both VxWorks 6.x and VxWorks 5.5
2.5 Compilers
2.5.1 Macros to Assist Migration
2.5.2 Default Compiler Change
2.5.3 Stricter Syntax Checking
2.5.4 Extra Compiler Command-line Flags
2.5.5 Additional Build Flags
2.5.6 GNU Compiler Options
2.5.7 objcopy Replaces Wind River Utilities
2.5.8 Optimization at -O3 Level Unsupported
2.6 C and C++ Libraries
2.6.1 Dinkum C and C++ Libraries
2.6.2 ASCII Routines
2.6.3 Standard Template Library
2.7 IDE and CLI Configuration and Build Tools
2.7.1 Configuration and Build Using config.h
2.7.2 vxWorks.st Image Type
3 VxWorks Changes
3.1 Introduction
3.2 Boot Loaders
3.3 BSPs and Drivers
3.4 VxWorks 5.5-Compatible Configuration
3.5 VxWorks Initialization Routines
3.6 Power Management
3.7 C and C++ Libraries
3.8 Private VxWorks Routines
3.9 Multitasking
3.9.1 Task Creation
3.9.2 Task Priority Changes
3.9.3 Task Switch Hooks and Scheduling
3.9.4 Task Information
TCB Access
Task-Specific Variables: taskVarLib and tlsLib
activeQhead
3.9.5 Task Self-destruction
3.9.6 Semaphores
Semaphore Initialization
semOLib Library Removed
Stricter Error Checking on Semaphores
3.9.7 Lazy Initialization
3.9.8 Signals
3.9.9 Exception Handling
3.9.10 Private HASH_TBL Structure
3.9.11 ISRs and C++
3.10 POSIX Facilities
3.10.1 POSIX Header Files
3.10.2 POSIX Thread Routines
3.10.3 POSIX Semaphores
3.10.4 POSIX Message Queues
3.10.5 POSIX I/O System Device Control
3.10.6 POSIX Signals
3.10.7 POSIX Clock and Timer
3.10.8 Macro to Reverse POSIX String and Timer Routine Changes
3.11 Memory Management
3.11.1 Modified Routines
3.11.2 Memory Partition Options
3.11.3 VxVMI and Changed Virtual Memory Routines
3.12 Cache Management
3.13 I/O System
3.13.1 I/O Error Code Value Changes
3.13.2 New Device Driver Infrastructure: VxBus
3.14 Local File Systems
3.14.1 CBIO Interface Replaced by XBD Interface
3.14.2 File System Monitor
3.14.3 Disk Formatting
3.14.4 ioctl( ) Commands Removed
3.14.5 usrFsLib
3.14.6 dosFS
3.14.7 tapeFs
3.14.8 rt11Fs
3.14.9 RAM Disk
3.14.10 pathLib
3.15 VxVMI
3.15.1 vmBaseStateSet( ) and vmStateSet( ) Behavior Changes
3.15.2 VxVMI Routines and VxWorks 6.x Replacements
3.15.3 VxVMI and RTP Applications
3.16 VxFusion
3.17 Target Tools: Symbol Table, Loader, Shell, and WDB
3.17.1 Symbol Table and Module Changes
3.17.2 symLib Routines
3.17.3 Kernel Object Module Loader
3.17.4 Target Shell/Kernel Shell
3.18 WindView and System Viewer: wvLib
3.19 Architecture-Specific Issues
4 Migrating BSPs and Drivers
4.1 Introduction
4.2 Migrating BSPs
4.2.1 Planning for BSP Migration
4.2.2 BSP Migration Steps
4.2.3 PowerPC and MIPS BSPs and SDA
4.2.4 Replacing VM_STATE_xxx Macros
4.2.5 Addressing Compiler Errors and Warnings
4.2.6 Implementing the Boot Loader M Command
4.2.7 Converting BSP Documentation
4.3 Testing BSPs
4.4 Migrating Drivers
Index