request.hh (2679:737e9f158843) request.hh (2811:9da12e9830ce)
1/*
2 * Copyright (c) 2002-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;

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

219 /** Accessor function for cpu number.*/
220 int getCpuNum() { assert(validCpuAndThreadNums); return cpuNum; }
221 /** Accessor function for thread number.*/
222 int getThreadNum() { assert(validCpuAndThreadNums); return threadNum; }
223
224 /** Accessor function for pc.*/
225 Addr getPC() { assert(validPC); return pc; }
226
1/*
2 * Copyright (c) 2002-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;

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

219 /** Accessor function for cpu number.*/
220 int getCpuNum() { assert(validCpuAndThreadNums); return cpuNum; }
221 /** Accessor function for thread number.*/
222 int getThreadNum() { assert(validCpuAndThreadNums); return threadNum; }
223
224 /** Accessor function for pc.*/
225 Addr getPC() { assert(validPC); return pc; }
226
227 /** Accessor Function to Check Cacheability. */
228 bool isUncacheable() { return getFlags() & UNCACHEABLE; }
229
227 friend class Packet;
228};
229
230#endif // __MEM_REQUEST_HH__
230 friend class Packet;
231};
232
233#endif // __MEM_REQUEST_HH__