Deleted Added
sdiff udiff text old ( 10407:a9023811bf9e ) new ( 10905:a6ca6831e775 )
full compact
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

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

125MinorCPU::regStats()
126{
127 BaseCPU::regStats();
128 stats.regStats(name(), *this);
129 pipeline->regStats();
130}
131
132void
133MinorCPU::serializeThread(CheckpointOut &cp, ThreadID thread_id) const
134{
135 threads[thread_id]->serialize(cp);
136}
137
138void
139MinorCPU::unserializeThread(CheckpointIn &cp, ThreadID thread_id)
140{
141 if (thread_id != 0)
142 fatal("Trying to load more than one thread into a MinorCPU\n");
143
144 threads[thread_id]->unserialize(cp);
145}
146
147void
148MinorCPU::serialize(CheckpointOut &cp) const
149{
150 pipeline->serialize(cp);
151 BaseCPU::serialize(cp);
152}
153
154void
155MinorCPU::unserialize(CheckpointIn &cp)
156{
157 pipeline->unserialize(cp);
158 BaseCPU::unserialize(cp);
159}
160
161Addr
162MinorCPU::dbg_vtophys(Addr addr)
163{
164 /* Note that this gives you the translation for thread 0 */
165 panic("No implementation for vtophy\n");
166

--- 185 unchanged lines hidden ---