bridge.hh (5336:c7e21f4e5a2e) bridge.hh (5386:5614618f4027)
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
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"
45#include "mem/mem_object.hh"
46#include "mem/packet.hh"
47#include "mem/port.hh"
48#include "params/Bridge.hh"
49#include "sim/eventq.hh"
50
51class Bridge : public MemObject
52{

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

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

--- 131 unchanged lines hidden ---
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 ---