Deleted Added
sdiff udiff text old ( 6154:6bb54dcb940e ) new ( 6285:ce086eca1ede )
full compact
1
2/*
3 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood
4 * All rights reserved.
5 *
6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions are
8 * met: redistributions of source code must retain the above copyright

--- 27 unchanged lines hidden (view full) ---

36
37#ifndef AbstractCacheEntry_H
38#define AbstractCacheEntry_H
39
40#include "mem/ruby/common/Global.hh"
41#include "mem/ruby/common/Address.hh"
42#include "mem/protocol/AccessPermission.hh"
43
44class AbstractCacheEntry {
45public:
46 // Constructors
47 AbstractCacheEntry();
48
49 // Destructor, prevent it from instantiation
50 virtual ~AbstractCacheEntry() = 0;
51
52 // Public Methods
53
54 // The methods below are those called by ruby runtime, add when it is
55 // absolutely necessary and should all be virtual function.
56
57
58 virtual void print(ostream& out) const = 0;
59
60 // Data Members (m_ prefix)
61 Address m_Address; // Address of this block, required by CacheMemory
62 Time m_LastRef; // Last time this block was referenced, required by CacheMemory
63 AccessPermission m_Permission; // Access permission for this block, required by CacheMemory

--- 18 unchanged lines hidden ---