Porting Guide

This section describes the porting of TiROS to a new platform.

The hardware specific port includes several files located in ROOT/src/tiros/port/port_xxx A tr_port.h is required. There may be an associated tr_port.c and other assembly files if needed. There will also be a file called porttime.h which contains the time addition, subtraction specific to your port. The tr_port.h file has several sections.

  1. In a comment section at the top of the file, describe the port and the configuration options specific to the port.
  2. Include the user's configuration file proj_config.h.
  3. Define basic types and OS configuration for your port.
  4. Critical Sections and Interrupts.
  5. Context Switching Functions.
  6. Port specific time functions.
  7. Setup for the kernel trap.
  8. Debug Functions.

TiROS User Manual: Last Updated on Fri Jul 20 10:52:24 2007