# Presentation: 263048

## VxWorks Advanced Edition

**Gordon M. Uchenick**
**Mid Atlantic District FAE Manager**

- © 2000 Wind River Systems, Inc.

## Agenda

**A tour of VxWorks Advanced Edition (AE)**
- Market Dynamics
- VxWorks AE Architecture
- Shared Data Domains
- Object Reclamation
- A Quick Look At The Tools

- © 2000 Wind River Systems, Inc.

## Market Dynamics:Driving future RTOS requirements

- © 2000 Wind River Systems, Inc.

## Everything is connected ....

- © 2000 Wind River Systems, Inc.

## Software complexity increasing....

**Kernel**

**Application**

**Application**

**Application**

**Application**

- © 2000 Wind River Systems, Inc.

## Programmable platforms....

**From fixed function, standalone, “black boxes”. . .**

**to connected, interactive, manageable,  “platforms”.**

- © 2000 Wind River Systems, Inc.

## Examples

**Platforms must support Independent Software Vendors (ISVs)**

**Flashpoint digital camera**

**Texas Instruments modem**

- © 2000 Wind River Systems, Inc.

## Availability is crucial ...

**Convergence of voice and data **
**Internet competes with telephony**
**Downtime impacts revenue and customer loyalty**
**99.9997% availability is a requirement**

- © 2000 Wind River Systems, Inc.

## The RASS Goal

**RELIABILITY**
**AVAILABILITY**
**SECURITY**
**SERVICABILITY**

- © 2000 Wind River Systems, Inc.

## Goals of Next Generation RTOS

**Deliver the foundation platform to address the market dynamics**
**The OS must embody the key attributes of reliability, availability, security, and serviceability**
**VxWorks AE is the first step in a series of OS initiatives**
**The focus is on system reliability and security through comprehensive memory protection facilities.**

- © 2000 Wind River Systems, Inc.

## VxWorks 5.4 Architecture

**VxWorks 5.4 Architecture**

**Single address space**
**Flat, Physical Space**
**Everything runs in supervisor mode**
**Simple subroutine linkage to RTOS libraries**
**Unrestricted Access**
**With great power comes great responsibility**

- © 2000 Wind River Systems, Inc.

## VxWorks AE Architecture

**User “partitions” the system into separate domains**
**Applications**
**Shared Libraries**
**Shared Data**
**The Kernel**
**The scope of these domains is straightforward**
**defining access (to memory) **
**ownership (of objects)**
**The system designer “dials in” just the amount of protection that is needed and not any more.**

- © 2000 Wind River Systems, Inc.

## Privileged Domains

**Privileged Application Domain runs in Supervisor mode**
**Direct Access to the Kernel**
**Multiple Privileged Domains, all protected from each other**
**Application Isolation at maximum speed**

- © 2000 Wind River Systems, Inc.

## Shared Data Domains

**Designed for sharing data or I/O space**
**Created as a region outside the app’s space**
**Allows user to choose virtual and/or physical addresses**
**May be mapped “virtual = physical” if desired **

- © 2000 Wind River Systems, Inc.

## Object Reclamation

**Better Object Management**
**Object ownership tracking for all WIND objects**
**Object naming & optional lookup facilities**
**WIND object based resource reclamation**
**Get/Set APIs for changing ownership hierarchy**

**(vxKernel)**

**Page Pool (usrPgPool)**

**Mutex Semaphore**

**Task (tExcTask)**

**Message Queue**

**Task (tLogTask)**

**Virtual memory context**

**Mutex Semaphore**

**(userApp)**

**Virtual memory context**

**Task (tUsrTask1)**

**Message Queue**

**Task (tUsrTask2)**

- © 2000 Wind River Systems, Inc.

## Summary of VxWorks AE Platform

**A new OS, directly descended from VxWorks 5.4**
**API extensions for domain mgmt**
**“****Source-Code” backwards compatible with 5.4**
**Retains fundamental precepts of true real-time OS**
**Still preserves your investment in VxWorks API**
**Unparalleled level of flexibility and choice**
**Scales from classic VxWorks to a protected system**
**Provides a foundation for further extensions**
**High Availability/Serviceability**
**Security**

- © 2000 Wind River Systems, Inc.

## Tornado Tools 3: Debugger Control

**List tasks by domain: double-click for debugger attach**

**Task has taken an exception**

**User Shared Lib**

**User Domain shown with attached shared libs**

**Kernel domain**

**System shared library...**

- © 2000 Wind River Systems, Inc.

## Tornado Tools 3: New Object Browser

**All objects classes listed with same icons in WindView...**

**Expand a class to reveal members**

- © 2000 Wind River Systems, Inc.

## Tornado Tools 3: New Object Browser

**PD Attributes**

**These are PD’s “owned” resources...**

- © 2000 Wind River Systems, Inc.

## Tornado Tools 3: Multi-task debug 

- © 2000 Wind River Systems, Inc.