Template Variant Overview

This document briefly describes the hardware-specific variant layer.

Purpose

The variant layer is a kernel extension that contains a diverse collection of hardware-specific operations.

Variant library details

The template DLL is identified below.

DLL LIB Short description

ecust.dll

None

The variant.

Description

The hardware specific variant layer handles:

  • restart reasons (used by the bootstrap)

  • ram zone configuration for ram defrag

  • variant specific initialization (not the same as ASSP specific initialization)

  • early debug output support

  • hal functions

  • interrupt code

  • variant specific CPU idle operations.

Using variant

The DLL is made up of these template files:

  • variant.cpp

  • variant_interrupt.cpp

These can be found in the directory template\template_variant\specific\.

The source files in the template_assp folder are quite well commented and should provide ample information on usage.