1/*
2 * Copyright (c) 2006 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;

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

37#ifndef __MEM_BRIDGE_HH__
38#define __MEM_BRIDGE_HH__
39
40#include <string>
41#include <list>
42#include <inttypes.h>
43#include <queue>
44
45#include "base/fast_alloc.hh"
46#include "mem/mem_object.hh"
47#include "mem/packet.hh"
48#include "mem/port.hh"
49#include "params/Bridge.hh"
50#include "sim/eventq.hh"
51
52class Bridge : public MemObject
53{

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

69 Tick delay;
70
71 /** Min delay to respond to a nack. */
72 Tick nackDelay;
73
74 /** Pass ranges from one side of the bridge to the other? */
75 std::vector<Range<Addr> > filterRanges;
76
76 class PacketBuffer : public Packet::SenderState {
77 class PacketBuffer : public Packet::SenderState, public FastAlloc {
78
79 public:
80 Tick ready;
81 PacketPtr pkt;
82 bool nackedHere;
83 Packet::SenderState *origSenderState;
84 short origSrc;
85 bool expectResponse;

--- 131 unchanged lines hidden ---