OS_GetITCMParam


C Specification

#include <nitro/os.h>

u32 OS_GetITCMParam( void );

Description

Gets the Instruction TCM parameter

This parameter contains the instruction TCM's effective area size.

Correspondence between the acquired parameter and the size is shown below:

HW_C9_TCMR_4KB 4 Kilobytes
HW_C9_TCMR_8KB 8 Kilobytes
HW_C9_TCMR_16KB 16 Kilobytes
HW_C9_TCMR_32KB 32 Kilobytes
HW_C9_TCMR_64KB 64 Kilobytes
HW_C9_TCMR_128KB 128 Kilobytes
HW_C9_TCMR_256KB 256 Kilobytes
HW_C9_TCMR_512KB 512 Kilobytes
HW_C9_TCMR_1MB 1 Megabyte
HW_C9_TCMR_2MB 2 Megabytes
HW_C9_TCMR_4MB 4 Megabytes
HW_C9_TCMR_8MB 8 Megabytes
HW_C9_TCMR_16MB 16 Megabytes
HW_C9_TCMR_32MB 32 Megabytes
HW_C9_TCMR_64MB 64 Megabytes
HW_C9_TCMR_128MB 128 Megabytes
HW_C9_TCMR_256MB 256 Megabytes
HW_C9_TCMR_512MB 512 Megabytes
HW_C9_TCMR_1GB 1 Gigabyte
HW_C9_TCMR_2GB 2 Gigabytes
HW_C9_TCMR_4GB 4 Gigabytes

Internal Operation

Modifies register 9 of the system control coprocessor CP15.

Arguments

None

Return Values

Instruction TCM Parameter.

See Also

OS_SetITCMParam

Revision History

01/15/2004 Initial Version