summaryrefslogtreecommitdiff
path: root/mem
diff options
context:
space:
mode:
authorRon Dreslinski <rdreslin@umich.edu>2006-02-15 14:53:02 -0500
committerRon Dreslinski <rdreslin@umich.edu>2006-02-15 14:53:02 -0500
commit90def9ea9ee17c63af846685d55d8956b37476ab (patch)
treefe2404a6751dd924f4fe531dda01f9201a16d706 /mem
parent7f114ca41930c7e0a71dfb105472671cfa25ddec (diff)
downloadgem5-90def9ea9ee17c63af846685d55d8956b37476ab.tar.xz
Changes to start making the tree use the new memory system. Trying to compile decoder.cc but fails still.
SConscript: Place the memory objects back in the right place arch/alpha/isa_desc: Fix includes to point to the new memory requests cpu/exec_context.hh: Exec context now points to memory object, fix the include paths. Convert to prot_read/prot_write functions instead of read and write. Convert to new CpuRequestPtr instead of MemReqPtr. mem/request.hh: Add back in support for Request Flags (needed by decoder to tag request) Removed the flags that were associated with packets/coherence. sim/process.hh: Converted to point to new memory objects --HG-- extra : convert_revision : a0b95380915d63b53194e2a26336d6adb1a0086b
Diffstat (limited to 'mem')
-rw-r--r--mem/request.hh15
1 files changed, 15 insertions, 0 deletions
diff --git a/mem/request.hh b/mem/request.hh
index 9f03c4e75..24296f1df 100644
--- a/mem/request.hh
+++ b/mem/request.hh
@@ -42,6 +42,19 @@ class CpuRequest;
typedef Request* RequestPtr;
typedef CpuRequest* CpuRequestPtr;
+/** The request is a Load locked/store conditional. */
+const unsigned LOCKED = 0x001;
+/** The virtual address is also the physical address. */
+const unsigned PHYSICAL = 0x002;
+/** The request is an ALPHA VPTE pal access (hw_ld). */
+const unsigned VPTE = 0x004;
+/** Use the alternate mode bits in ALPHA. */
+const unsigned ALTMODE = 0x008;
+/** The request is to an uncacheable address. */
+const unsigned UNCACHEABLE = 0x010;
+/** The request should not cause a page fault. */
+const unsigned NO_FAULT = 0x020;
+
class Request
{
//@todo Make Accesor functions, make these private.
@@ -60,6 +73,8 @@ class Request
/** Destination address if this is a block copy. */
Addr copyDest;
+
+ uint32_t flags;
};
class CpuRequest : public Request