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;
--- 29 unchanged lines hidden (view full) ---
38
39#ifndef __MEM_REQUEST_HH__
40#define __MEM_REQUEST_HH__
41
42#include <cassert>
43
44#include "base/fast_alloc.hh"
45#include "base/flags.hh"
46#include "sim/host.hh"
47#include "sim/core.hh"
48
49class Request;
50
51typedef Request* RequestPtr;
52
53class Request : public FastAlloc
--- 174 unchanged lines hidden (view full) ---
228 setPaddr(Addr _paddr)
229 {
230 assert(flags.any(VALID_VADDR));
231 paddr = _paddr;
232 flags.set(VALID_PADDR);
233 }
234
235 /**
236 * Accessor for paddr.
237 */
238 Addr
239 getPaddr()
240 {
241 assert(flags.any(VALID_PADDR));
242 return paddr;
243 }
--- 200 unchanged lines hidden ---
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;
--- 29 unchanged lines hidden (view full) ---
38
39#ifndef __MEM_REQUEST_HH__
40#define __MEM_REQUEST_HH__
41
42#include <cassert>
43
44#include "base/fast_alloc.hh"
45#include "base/flags.hh"
46#include "sim/host.hh"
47#include "sim/core.hh"
48
49class Request;
50
51typedef Request* RequestPtr;
52
53class Request : public FastAlloc
--- 174 unchanged lines hidden (view full) ---
228 setPaddr(Addr _paddr)
229 {
230 assert(flags.any(VALID_VADDR));
231 paddr = _paddr;
232 flags.set(VALID_PADDR);
233 }
234
235 /**
236 * Accessor for paddr.
237 */
238 Addr
239 getPaddr()
240 {
241 assert(flags.any(VALID_PADDR));
242 return paddr;
243 }
--- 200 unchanged lines hidden ---