Download VisualDSP++® Kernel (VDK) User's Guide

Transcript
VDK API Reference
GetPoolDetails()
C Prototype
VDK_SystemError VDK_GetPoolDetails(
VDK_PoolID
inPoolID,
unsigned int
*outNumBlocks,
void
**outMemoryAddress);
C++ Prototype
VDK::SystemError VDK::GetPoolDetails(
VDK::PoolID
inPoolID,
unsigned int
*outNumBlocks,
void
**outMemoryAddress);
Description
Returns a set of attributes for the pool object, the number of blocks in the
pool, and the starting address of the pool
Parameters
inPoolID
is the identifier of the pool (PoolID) to be queried.
is populated with the total number of blocks in the pool,
including those blocks that are free and those that are allocated. outNumBlocks can be NULL, in which case the number of blocks in the memory
pool is not returned.
outNumBlocks
is populated with the starting address of the memory
pool queried. outMemoryAddress can be NULL, in which case the start
address of the memory pool is not returned.
outMemoryAddress
Scheduling
Does not invoke the scheduler
VisualDSP++ 5.0 Kernel (VDK) User’s Guide
5-129