Go to the documentation of this file.
33 #ifndef __CVMX_L2C_H__
34 #define __CVMX_L2C_H__
36 #define CVMX_L2_ASSOC cvmx_l2c_get_num_assoc()
37 #define CVMX_L2_SET_BITS cvmx_l2c_get_set_bits()
38 #define CVMX_L2_SETS cvmx_l2c_get_num_sets()
41 #define CVMX_L2C_IDX_ADDR_SHIFT 7
42 #define CVMX_L2C_IDX_MASK (cvmx_l2c_get_num_sets() - 1)
45 #define CVMX_L2C_TAG_ADDR_ALIAS_SHIFT (CVMX_L2C_IDX_ADDR_SHIFT + cvmx_l2c_get_set_bits())
46 #define CVMX_L2C_ALIAS_MASK (CVMX_L2C_IDX_MASK << CVMX_L2C_TAG_ADDR_ALIAS_SHIFT)
47 #define CVMX_L2C_MEMBANK_SELECT_SIZE 4096
50 #define CVMX_L2C_VRT_MAX_VIRTID_ALLOWED ((OCTEON_IS_MODEL(OCTEON_CN63XX)) ? 64 : 0)
51 #define CVMX_L2C_VRT_MAX_MEMSZ_ALLOWED ((OCTEON_IS_MODEL(OCTEON_CN63XX)) ? 32 : 0)
66 #define CVMX_L2C_TADS 1