From 262ce4e859c0d8141c1c0861d923a7951e1b00ed Mon Sep 17 00:00:00 2001 From: Jason Lowe-Power Date: Mon, 18 Jun 2018 16:23:34 -0700 Subject: 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 --- src/mem/cache/blk.hh | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) (limited to 'src/mem') 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; -- cgit v1.2.3