system.cc (2802:babfc298ac86) system.cc (2901:f9a45473ab55)
1/*
2 * Copyright (c) 2003-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;

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

138
139#if FULL_SYSTEM
140
141
142int rgdb_wait = -1;
143
144#endif // FULL_SYSTEM
145
1/*
2 * Copyright (c) 2003-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;

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

138
139#if FULL_SYSTEM
140
141
142int rgdb_wait = -1;
143
144#endif // FULL_SYSTEM
145
146
147void
148System::setMemoryMode(MemoryMode mode)
149{
150 assert(getState() == Drained);
151 memoryMode = mode;
152}
153
146int
147System::registerThreadContext(ThreadContext *tc, int id)
148{
149 if (id == -1) {
150 for (id = 0; id < threadContexts.size(); id++) {
151 if (!threadContexts[id])
152 break;
153 }

--- 130 unchanged lines hidden ---
154int
155System::registerThreadContext(ThreadContext *tc, int id)
156{
157 if (id == -1) {
158 for (id = 0; id < threadContexts.size(); id++) {
159 if (!threadContexts[id])
160 break;
161 }

--- 130 unchanged lines hidden ---