From: Jason Lowe-Power Date: Mon, 18 Jun 2018 23:23:34 +0000 (-0700) Subject: mem-cache: Fix TempCacheBlock insert X-Git-Tag: v19.0.0.0~2037 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=262ce4e859c0d8141c1c0861d923a7951e1b00ed;p=gem5.git mem-cache: Fix TempCacheBlock insert TempCacheBlock insert() had a different signature than the parent class which caused an error on clang. This matches the signature with default zero values. Change-Id: Ic096914497f3d17e88295c9e65a04d76fdddf365 Signed-off-by: Jason Lowe-Power Reviewed-on: https://gem5-review.googlesource.com/11349 Reviewed-by: Nikos Nikoleris Maintainer: Nikos Nikoleris --- diff --git a/src/mem/cache/blk.hh b/src/mem/cache/blk.hh index 48deef52a..97e1d42d9 100644 --- a/src/mem/cache/blk.hh +++ b/src/mem/cache/blk.hh @@ -420,15 +420,8 @@ class TempCacheBlk final : public CacheBlk _addr = MaxAddr; } - /** - * Set member variables when a block insertion occurs. A TempCacheBlk does - * not have all the information required to regenerate the block's address, - * so it is provided the address itself for easy regeneration. - * - * @param addr Block address. - * @param is_secure Whether the block is in secure space or not. - */ - void insert(const Addr addr, const bool is_secure) + void insert(const Addr addr, const bool is_secure, + const int src_master_ID=0, const uint32_t task_ID=0) override { // Set block address _addr = addr;