VxWorks Fall 2005 Final Project CS 450: Operating Systems Section 1 Kenneth White Josh Houck Karl Ridgeway Mike Ripley Morgan Serene
Overview Environment Used –Real-Time Operating System (RTOS) –Examples of Environments: Home use Modems Traffic Control Systems NASA Pathfinder
Overview (2) Commercial Success –6 incrementally improved Releases –350 billion devices Most Widely used RTOS available today Cost of Programming –Normally, $50.00 to $1, per line of code for Government Certification –$3.00 per line of code for Migration of a new OS
3 Configurations Configuration #1 – Self Contained (closed, validated systems) -Real-time process partitioning, protecting applications from each other, and protecting the kernel from applications. -Error management -Test and diagnostics to allow dynamic debugging and post-deployment modifications -Wind River Workbench (integrated, Eclipse-based development suite) for code compiling, analysis, editing, and debugging Configuration #2 – Network -Validated solutions to secure resource availability -IPsec and IKE -SNMP -Wireless LAN driver and security protocols -Firewall
3 Configurations Configuration #3 – Safety Critical -Suitable for the highest levels of safety and security requirements, as mandated by law -Platform for Safety Critical ARINC 653 -Platform for Safety Critical DO-178B -XML Configuration Tool Suite for IMA implementations -Support for Common Criteria requirements -POSIX Real-Time Profile PSE52 and PSE54 (conformance by spring 2006) Platforms General Purpose Automotive Devices Consumer Devices Network Equipment Industrial Devices Safety Critical ARINC 653 Safety Critical DO-178B
Threads Multi-threaded or Multitasking Preemptive Priority
Mars Pathfinder Bus Management Task (high Priority) Meteorological data-gathering (low priority) Communication task (medium priority)
VxWorks Disk Usage VxWorks has libraries available for FAT (DOS) and HPFS (Mac) If permanent storage is required, VxWorks can use flash memory VxWorks can be loaded from flash at boot, then run from RAM
FAT Library Details Two main configuration parameters –Maximum RAM usage –Block calling application until RAM allocation succeeds File allocation table is rebuilt on boot Deleted files are only marked as deleted, not actually erased Deleted files are added to the file table on reboot to keep the table accurate
Design Considerations of a Real Time OS Fully Customizable: Process Based User Mode Can also run in fully Supervisor Mode Why? Processor States
A Multiprocessor OS Used to be uniprocessor, but have since added support for Symmetric multiprocessing facilities (VxMP) Supported targets –Motorola 68K/CPU32, PowerPC, MIPS, Intel Architecture
Feature Highlights Supports up to 20 CPUs Binary and counting semaphores Shared memory pools and partitions All geared towards performance
Questions about VxWorks