Deleted Added
sdiff udiff text old ( 4610:97834b18a8b4 ) new ( 5222:bb733a878f85 )
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;

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

70const uint32_t EVICT_NEXT = 0x20000;
71/** The request should ignore unaligned access faults */
72const uint32_t NO_ALIGN_FAULT = 0x40000;
73/** The request was an instruction read. */
74const uint32_t INST_READ = 0x80000;
75/** This request is for a memory swap. */
76const uint32_t MEM_SWAP = 0x100000;
77const uint32_t MEM_SWAP_COND = 0x200000;
78
79
80class Request : public FastAlloc
81{
82 private:
83 /**
84 * The physical address of the request. Valid only if validPaddr
85 * is set. */

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

267
268 bool isLocked() { return (getFlags() & LOCKED) != 0; }
269
270 bool isSwap() { return (getFlags() & MEM_SWAP ||
271 getFlags() & MEM_SWAP_COND); }
272
273 bool isCondSwap() { return (getFlags() & MEM_SWAP_COND) != 0; }
274
275
276 friend class Packet;
277};
278
279#endif // __MEM_REQUEST_HH__