mem-cache: Add getter and setter to CacheBlk::whenReady
Add a getter and a setter function to access CacheBlk::whenReady
to encapsulate the variable and allow error checking. This error
checking consists on verifying that writes to a block after it
has been inserted follow a chronological order.
As a side effect, tickInserted retain its value until updated,
that is, it is not reset in invalidate().
Signed-off-by: Daniel R. Carvalho <email@example.com>
Reviewed-by: Nikos Nikoleris <firstname.lastname@example.org>
Maintainer: Nikos Nikoleris <email@example.com>
2 files changed