LCGetUnallocated

Syntax

#include <cafe/os.h>
    
u32 LCGetUnallocated( void );

Parameters

None.

Return Values

Returns the amount of unallocated space in the locked cache in bytes for the current core. The space may not be contiguous due to fragmentation.

Description

Gets the available space in the locked cache in bytes for the current core.

Do Not Call From

Background, Cores 0 & 1 In applications, do not call this function from Core 0 or 1 when in the background.
Callbacks Do not call this function from any callback function.

See Also

LCAlloc
LCDealloc
LCDisableDMA
LCEnableDMA
LCGetAllocatableSize
LCGetDMAQueueLength
LCGetMaxSize
LCHardwareIsAvailable
LCIsDMAEnabled
LCLoadDMABlocks
LCStoreDMABlocks
LCWaitDMAQueue

Revision History

2013-05-08 Automated cleanup pass.
2012-05-08 Updated LCAlloc and LCDealloc. Added LCGetAllocatableSize. Removed LCLoadDMAASync and LCStoreDMAASync.
2012-05-08 Added LCHardwareIsAvailable.
2011-03-15 Initial version.


CONFIDENTIAL