Merge changes from topic "apf-read-ram"
am: b5dda0e316 Change-Id: I80d70e5bce6d1a0903599e98d2d251459df1292a
This commit is contained in:
@@ -49,4 +49,14 @@ public class ApfCapabilities {
|
|||||||
return String.format("%s{version: %d, maxSize: %d, format: %d}", getClass().getSimpleName(),
|
return String.format("%s{version: %d, maxSize: %d, format: %d}", getClass().getSimpleName(),
|
||||||
apfVersionSupported, maximumApfProgramSize, apfPacketFormat);
|
apfVersionSupported, maximumApfProgramSize, apfPacketFormat);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Returns true if the APF interpreter advertises support for the data buffer access opcodes
|
||||||
|
* LDDW and STDW.
|
||||||
|
*
|
||||||
|
* Full LDDW and STDW support is present from APFv4 on.
|
||||||
|
*/
|
||||||
|
public boolean hasDataAccess() {
|
||||||
|
return apfVersionSupported >= 4;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user