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 <firstname.lastname@example.org>
Reviewed-by: Nikos Nikoleris <email@example.com>
Maintainer: Nikos Nikoleris <firstname.lastname@example.org>
2 files changed