Deleted Added
sdiff udiff text old ( 2989:9a6f66c38acc ) new ( 3170:37fd1e73f836 )
full compact
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;

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

227 int getCpuNum() { assert(validCpuAndThreadNums); return cpuNum; }
228 /** Accessor function for thread number.*/
229 int getThreadNum() { assert(validCpuAndThreadNums); return threadNum; }
230
231 /** Accessor function for pc.*/
232 Addr getPC() { assert(validPC); return pc; }
233
234 /** Accessor Function to Check Cacheability. */
235 bool isUncacheable() { return getFlags() & UNCACHEABLE; }
236
237 bool isInstRead() { return getFlags() & INST_READ; }
238
239 friend class Packet;
240};
241
242#endif // __MEM_REQUEST_HH__