Deleted Added
sdiff udiff text old ( 3675:dc883b610345 ) new ( 3686:fa8d8b90cd8a )
full compact
1/*
2 * Copyright (c) 2006 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;

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

108 quiesceEvent->schedule(quiesceEndTick);
109 if (kernelStats)
110 kernelStats->unserialize(cp, section);
111#endif
112}
113
114#if FULL_SYSTEM
115void
116ThreadState::init()
117{
118 initPhysPort();
119 initVirtPort();
120}
121
122void
123ThreadState::initPhysPort()
124{
125 physPort = new FunctionalPort(csprintf("%s-%d-funcport",
126 baseCpu->name(), tid));
127 connectToMemFunc(physPort);
128}
129
130void
131ThreadState::initVirtPort()
132{
133 virtPort = new VirtualPort(csprintf("%s-%d-vport",
134 baseCpu->name(), tid));
135 connectToMemFunc(virtPort);
136}
137
138void
139ThreadState::profileClear()
140{

--- 46 unchanged lines hidden ---