57 const auto cache_assoc =
params.cache_associativity;
58 assert(cache_assoc > 0);
61 for (
const auto allocation:
params.allocations) {
62 const auto alloc_id = allocation->getPartitionId();
65 for (
const auto way: allocation->getWays()) {
68 fatal_if(way >= cache_assoc,
"Way Partitioning Policy allocation "
69 "for PartitionID: %d, Way: %d cannot be fullfiled as cache "
70 "associativity is %d", alloc_id, way, cache_assoc);
76 warn(
"Duplicate Way Partitioning Policy allocation for "
77 "PartitionID: %d, Way: %d",
83 DPRINTF(PartitionPolicy,
"Allocated %d ways in WayPartitioningPolicy "
84 "for PartitionID: %d \n", allocation->getWays().size(),
A replaceable entry is a basic entry in a 2d table-like structure that needs to have replacement func...