OS_SetDTCMParam

Syntax

#include <nitro/os.h>
void OS_SetDTCMParam( u32 param );

Arguments

param Data TCM parameter

Return Values

None.

Description

This function sets the Data TCM parameter. This parameter contains the Data TCM base address and the effective area size. The base address can be set in units of 16 KB.

The following sizes can be specified. Specify the logical sum (bitwise OR) of one of these values and the base address as param. Note that the data TCM built into NITRO and TWL is 16 KB, so only specifications of 16 KB or less are valid.

Area size value Size
HW_C9_TCMR_4KB 4 Kilobytes
HW_C9_TCMR_8KB 8KByte
HW_C9_TCMR_16KB 16KByte
HW_C9_TCMR_32KB 32KByte
HW_C9_TCMR_64KB 64KByte
HW_C9_TCMR_128KB 128KByte
HW_C9_TCMR_256KB 256KByte
HW_C9_TCMR_512KB 512KByte
HW_C9_TCMR_1MB 1MByte
HW_C9_TCMR_2MB 2MByte
HW_C9_TCMR_4MB 4MByte
HW_C9_TCMR_8MB 8MByte
HW_C9_TCMR_16MB 16MByte
HW_C9_TCMR_32MB 32MByte
HW_C9_TCMR_64MB 64MByte
HW_C9_TCMR_128MB 128MByte
HW_C9_TCMR_256MB 256MByte
HW_C9_TCMR_512MB 512MByte
HW_C9_TCMR_1GB 1GByte
HW_C9_TCMR_2GB 2GByte
HW_C9_TCMR_4GB 4GByte

Internal Operation

Modifies register 9 of the system control co-processor CP15.

See Also

OS_GetDTCMParam

Revision History

2004/01/15 Initial version.


CONFIDENTIAL