Logo Search packages:      
Sourcecode: linux-fsl-imx51 version File versions  Download package

#define fsl_shw_pco_get_smn_size ( pcobject,
black_size,
red_size   ) 

Value:

{                                                                             \
    if ((pcobject)->scm_version == 1) {                                       \
        *(black_size) = (pcobject)->scc_info.black_ram_size_blocks;           \
        *(red_size)   = (pcobject)->scc_info.red_ram_size_blocks;             \
    } else {                                                                  \
        *(black_size) = 0;                                                    \
        *(red_size)   = 0;                                                    \
    }                                                                         \
}
Get size of Black and Red RAM memory

Parameters:
pcobject The Platform Capabilities Object to query.
[out] black_size A pointer to where the size of the Black RAM, in blocks, is to be placed.
[out] red_size A pointer to where the size of the Red RAM, in blocks, is to be placed.

Definition at line 1233 of file sahara.h.


Generated by  Doxygen 1.6.0   Back to index