- Timestamp:
- Dec 11, 2012, 6:19:35 PM (12 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/modules/vci_cc_vcache_wrapper_v4/caba/source/include/vci_cc_vcache_wrapper_v4.h
r247 r284 118 118 //handling dirty bit update 119 119 DCACHE_DIRTY_GET_PTE, 120 DCACHE_DIRTY_ SC_WAIT,120 DCACHE_DIRTY_WAIT, 121 121 // handling processor miss requests 122 122 DCACHE_MISS_VICTIM, … … 142 142 CMD_DATA_UNC, 143 143 CMD_DATA_WRITE, 144 CMD_DATA_ SC,144 CMD_DATA_CAS, 145 145 }; 146 146 … … 152 152 RSP_DATA_UNC, 153 153 RSP_DATA_WRITE, 154 RSP_DATA_SC,155 154 }; 156 155 … … 173 172 TGT_RSP_DCACHE, 174 173 }; 174 175 /* transaction type, pktid field */ 176 enum transaction_type_e 177 { 178 // b3 unused 179 // b2 READ / NOT READ 180 // Si READ 181 // b1 DATA / INS 182 // b0 UNC / MISS 183 // Si NOT READ 184 // b1 accÚs table llsc type SW / other 185 // b2 WRITE/CAS/LL/SC 186 TYPE_READ_DATA_UNC = 0x0, 187 TYPE_READ_DATA_MISS = 0x1, 188 TYPE_READ_INS_UNC = 0x2, 189 TYPE_READ_INS_MISS = 0x3, 190 TYPE_WRITE = 0x4, 191 TYPE_CAS = 0x5, 192 TYPE_LL = 0x6, 193 TYPE_SC = 0x7 194 }; 195 196 /* SC return values */ 197 enum sc_status_type_e 198 { 199 SC_SUCCESS = 0x00000000, 200 SC_FAIL = 0x00000001 201 }; 202 /* 203 this is already in vci_param.h 204 enum { 205 STORE_COND_ATOMIC = 0, 206 STORE_COND_NOT_ATOMIC = 1, 207 }; 208 */ 175 209 176 210 // TLB Mode : ITLB / DTLB / ICACHE / DCACHE
Note: See TracChangeset
for help on using the changeset viewer.