PM8621-BI PMC-Sierra, Inc., PM8621-BI Datasheet - Page 175

no-image

PM8621-BI

Manufacturer Part Number
PM8621-BI
Description
Driver, NSE/SBS Narrowband Chipset Driver
Manufacturer
PMC-Sierra, Inc.
Datasheet
Proprietary and Confidential to PMC-Sierra, Inc., and for its Customers’ Internal Use
Document ID: PMC-2021248, Issue 1
Step 1: Porting Driver RTOS Extensions
The RTOS extensions encapsulate all RTOS specific services and data types used by the driver.
These RTOS extensions include:
·
·
·
The compiler-specific data type definitions are located in
nbcs_rtos.h
To port the driver’s RTOS extensions:
1. Modify the data types in
2. Modify the RTOS specific macros in
3. Modify the RTOS specific functions in
Service Type
Memory
Semaphores
Service Type
Timer
Memory Management
Task management
Message queues, semaphores and timers
size. For example, UINT4 defines a 4-byte (32-bit) unsigned integer. Substitute the compiler
types that yield the desired types as defined in this file.
and
Macro Name
sysNbcsMemAlloc
sysNbcsMemFree
sysNbcsMemCpy
sysNbcsMemSet
sysNbcsSemCreate
sysNbcsSemTake
sysNbcsSemGive
sysNbcsSemDelete
Function Name
sysNbcsTimerSleep
sysNbcsTimerCreate
nbcs_rtos.c
nbcs_typs.h
contain macros and functions for RTOS specific services.
nbcs_rtos.h
nbcs_rtos.c
. The number after the type identifies the data-type
Description
Allocates the memory block
Frees the memory block
Copies the memory block from src to
dest
Sets each character in the memory
buffer
Creates a semaphore
Takes a semaphore
Gives a semaphore
Deletes a semaphore
Description
Sleeps a task
Creates a timer
:
Narrowband Chipset Device Driver Manual
nbcs_typs.h
:
Porting the Narrowband Chipset Driver
. The files
175

Related parts for PM8621-BI