cache.hh (10905:a6ca6831e775) | cache.hh (11051:81b1f46061c8) |
---|---|
1/* 2 * Copyright (c) 2012-2014 ARM Limited 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 35 unchanged lines hidden (view full) --- 44 * Andreas Hansson 45 */ 46 47/** 48 * @file 49 * Describes a cache based on template policies. 50 */ 51 | 1/* 2 * Copyright (c) 2012-2014 ARM Limited 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 35 unchanged lines hidden (view full) --- 44 * Andreas Hansson 45 */ 46 47/** 48 * @file 49 * Describes a cache based on template policies. 50 */ 51 |
52#ifndef __CACHE_HH__ 53#define __CACHE_HH__ | 52#ifndef __MEM_CACHE_CACHE_HH__ 53#define __MEM_CACHE_CACHE_HH__ |
54 55#include "base/misc.hh" // fatal, panic, and warn 56#include "mem/cache/base.hh" 57#include "mem/cache/blk.hh" 58#include "mem/cache/mshr.hh" 59#include "mem/cache/tags/base.hh" 60#include "sim/eventq.hh" 61 --- 424 unchanged lines hidden (view full) --- 486 * \return true if yes, false otherwise. 487 */ 488 bool isDirty() const { return _isDirty; }; 489 490 private: 491 bool _isDirty; 492}; 493 | 54 55#include "base/misc.hh" // fatal, panic, and warn 56#include "mem/cache/base.hh" 57#include "mem/cache/blk.hh" 58#include "mem/cache/mshr.hh" 59#include "mem/cache/tags/base.hh" 60#include "sim/eventq.hh" 61 --- 424 unchanged lines hidden (view full) --- 486 * \return true if yes, false otherwise. 487 */ 488 bool isDirty() const { return _isDirty; }; 489 490 private: 491 bool _isDirty; 492}; 493 |
494#endif // __CACHE_HH__ | 494#endif // __MEM_CACHE_CACHE_HH__ |