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.
-
In a comment section at the top of the file, describe the port and the configuration options specific to the port.
-
Include the user's configuration file proj_config.h.
-
Define basic types and OS configuration for your port.
-
Critical Sections and Interrupts.
-
Context Switching Functions.
-
Port specific time functions.
-
Setup for the kernel trap.
-
Debug Functions.
TiROS User Manual: Last Updated on Fri Jul 20 10:52:24 2007