1/*
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;
--- 117 unchanged lines hidden (view full) ---
126 mutable Stats::Scalar<> acv;
127 mutable Stats::Formula accesses;
128
129 public:
130 typedef AlphaITBParams Params;
131 ITB(const Params *p);
132 virtual void regStats();
133
134 Fault translateAtomic(RequestPtr &req, ThreadContext *tc);
135};
136
137class DTB : public TLB
138{
139 protected:
140 mutable Stats::Scalar<> read_hits;
141 mutable Stats::Scalar<> read_misses;
142 mutable Stats::Scalar<> read_acv;
--- 7 unchanged lines hidden (view full) ---
150 Stats::Formula acv;
151 Stats::Formula accesses;
152
153 public:
154 typedef AlphaDTBParams Params;
155 DTB(const Params *p);
156 virtual void regStats();
157
158 Fault translateAtomic(RequestPtr &req, ThreadContext *tc, bool write);
159};
160
161} // namespace AlphaISA
162
163#endif // __ARCH_ALPHA_TLB_HH__
2 * Copyright (c) 2001-2005 The Regents of The University of Michigan
3 * All rights reserved.
4 *
5 * Redistribution and use in source and binary forms, with or without
6 * modification, are permitted provided that the following conditions are
7 * met: redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer;
--- 117 unchanged lines hidden (view full) ---
126 mutable Stats::Scalar<> acv;
127 mutable Stats::Formula accesses;
128
129 public:
130 typedef AlphaITBParams Params;
131 ITB(const Params *p);
132 virtual void regStats();
133
134 Fault translateAtomic(RequestPtr &req, ThreadContext *tc);
135};
136
137class DTB : public TLB
138{
139 protected:
140 mutable Stats::Scalar<> read_hits;
141 mutable Stats::Scalar<> read_misses;
142 mutable Stats::Scalar<> read_acv;
--- 7 unchanged lines hidden (view full) ---
150 Stats::Formula acv;
151 Stats::Formula accesses;
152
153 public:
154 typedef AlphaDTBParams Params;
155 DTB(const Params *p);
156 virtual void regStats();
157
158 Fault translateAtomic(RequestPtr &req, ThreadContext *tc, bool write);
159};
160
161} // namespace AlphaISA
162
163#endif // __ARCH_ALPHA_TLB_HH__