Deleted Added
sdiff udiff text old ( 2829:f354c00bba05 ) new ( 2834:c8342a71404b )
full compact
1/*
2 * Copyright (c) 2004-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;

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

209 /** Ticks CPU, calling tick() on each stage, and checking the overall
210 * activity to see if the CPU should deschedule itself.
211 */
212 void tick();
213
214 /** Initialize the CPU */
215 void init();
216
217 /** Returns the Number of Active Threads in the CPU */
218 int numActiveThreads()
219 { return activeThreads.size(); }
220
221 /** Add Thread to Active Threads List */
222 void activateThread(unsigned int tid);
223
224 /** Setup CPU to insert a thread's context */
225 void insertThread(unsigned tid);
226
227 /** Remove all of a thread's context from CPU */
228 void removeThread(unsigned tid);

--- 381 unchanged lines hidden ---