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

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
Proprietary and Confidential to PMC-Sierra, Inc., and for its Customers’ Internal Use
Document ID: PMC-1991611, Issue 2
To port the driver’s RTOS extensions:
1.
2.
3. Modify the following RTOS specific function in tmx_rtos.c:
Service Type
Memory
Task
Service Type
Buffer
For example,
that yield the desired types as defined in this file.
corresponding system calls that your target system supports:
Modify the data types in
Modify the RTOS specific services in
UINT4
Macro Name
sysTemuxMemAlloc
sysTemuxMemFree
sysTemuxDPRTaskInstall
sysTemuxDPRTaskRemove
Function Name
sysTemuxBufferStart
sysTemuxBufferStop
sysTemuxBufferSend
sysTemuxBufferReceiv
e
sysTemuxISVBufferGet
sysTemuxISVBufferRtn
sysTemuxDPVBufferGet
sysTemuxDPVBufferRtn
defines a 4-byte (32-bit) unsigned integer. Substitute the compiler types
temux.h
TEMUX/TEMAP/TECT3 (PM8315, PM5365, PM4328) Driver Manual
. The number after the type identifies the data-type size.
tmx_rtos.h
Description
Starts buffer management
Stops buffer management
Sends a buffer to the DPR task
Receives a buffer from the RTOS
Gets an ISV buffer from the ISV buffer queue
Returns an ISV buffer to the ISV buffer queue
Gets a DPV buffer from the DPV buffer queue
Returns a DPV buffer to the DPV buffer
queue
Description
Allocates the memory block
Frees the memory block
Installs the DPR task in the RTOS
Removes the DPR task from the RTOS
. Redefine the following macros to the
Porting Drivers
89

Related parts for PM5365