1
0

tilelink2: only caches can support B requests

This commit is contained in:
Wesley W. Terpstra 2016-10-10 11:45:43 -07:00
parent 4a975ca380
commit 6336f94fa2

View File

@ -166,6 +166,13 @@ case class TLClientParameters(
supportsHint: TransferSizes = TransferSizes.none) supportsHint: TransferSizes = TransferSizes.none)
{ {
require (supportsPutFull.contains(supportsPutPartial)) require (supportsPutFull.contains(supportsPutPartial))
// We only support these operations if we support Probe (ie: we're a cache)
require (supportsProbe.contains(supportsArithmetic))
require (supportsProbe.contains(supportsLogical))
require (supportsProbe.contains(supportsGet))
require (supportsProbe.contains(supportsPutFull))
require (supportsProbe.contains(supportsPutPartial))
require (supportsProbe.contains(supportsHint))
val maxTransfer = List( val maxTransfer = List(
supportsProbe.max, supportsProbe.max,