PM5365 PMC-Sierra, Inc., PM5365 Datasheet - Page 88

no-image

PM5365

Manufacturer Part Number
PM5365
Description
TEMUX/TEMAP/TECT3 T1/E1 FRAMER, VT/TU MAPPER, M12/M13 MUX DRIVER MANUAL
Manufacturer
PMC-Sierra, Inc.
Datasheet
8.2
Proprietary and Confidential to PMC-Sierra, Inc., and for its Customers’ Internal Use
Document ID: PMC-1991611, Issue 2
Driver Porting Procedures
The following procedures summarize how to port the TEMUX/TEMAP/TECT3 driver to your
platform. The subsequent sections describe these procedures in more detail.
To port the TEMUX/TEMAP/TECT3 driver to your platform:
Step 1: Port the driver’s RTOS extensions (below):
Step 2: Port the driver to your hardware platform (on page 90):
Step 3: Port the driver’s application-specific elements (on page 90):
Step 4: Build the driver (on page 91).
Step 1: Porting Driver RTOS Extensions
The RTOS extensions encapsulate RTOS specific services and data types used by the driver. The
temux.h
tmx_rtos.h
RTOS extensions include:
·
·
·
In addition, you may need to modify functions that use RTOS specific services, such as utility and
interrupt-event handling functions. The
interrupt-event handler functions that use RTOS specific services.
example
Task management
Message queues
Memory Management
file contains data types and compiler-specific data-type definitions. The file
contains macros for RTOS specific services used by the RTOS extensions. These
temux.h
tmx_isr.h
tmx_dpr.h
tmx_util.h
app.c
app.h
hw_pci.h
based system)
rtos_vxw.h
(simple example code for starting up the driver)
(declarations for the sample code)
(contains general defines for compiling)
(example hardware porting file for an Intel x86 Compact PCI
(contains ISR definitions and prototypes)
(contains DPR definitions and prototypes)
(contains driver internal function definitions and prototypes)
(example RTOS porting file for the vxWorks RTOS)
TEMUX/TEMAP/TECT3 (PM8315, PM5365, PM4328) Driver Manual
tmx_util.c
and
tmx_isr.c
files contain the utility and
Porting Drivers
88

Related parts for PM5365