ChorusOS 4.0 Porting Guide

Source Files

This section explains the overall source tree organization and details the files needed to build a ChorusOS kernonly system image.

In the product BSP source tree, a template for a new driver can be found in the nucleus/bsp/template/drv directory and a template for a new BSP can be found in the nucleus/bsp/template/bsp directory. All the files within these directories can be copied and used as a starting point for implementation.

The ChorusOS kernonly system image can be built using the following commands:

% cd $BUILD_DIR
% configure -b $TOOLS $KERNEL -s $DRV $DRV_F $BSP
% make kernonly

The components available for configuring the kernonly system image are:


Note -

Refer to the ChorusOS 4.0 Installation Guide for Solaris Hosts or the ChorusOS 4.0 Installation Guide for Windows NT Hosts for the full directory paths for the TOOLS, KERNEL, DRV, DRV_F and BSP components.