Deleted Added
sdiff udiff text old ( 7910:8a92b39be50e ) new ( 7915:bc39c93a5519 )
full compact
1/*
2 * Copyright (c) 2009 Advanced Micro Devices, Inc.
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;

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

46class RubyPort : public MemObject
47{
48 public:
49 class M5Port : public SimpleTimingPort
50 {
51 private:
52 RubyPort *ruby_port;
53 bool _onRetryList;
54
55 public:
56 M5Port(const std::string &_name, RubyPort *_port);
57 bool sendTiming(PacketPtr pkt);
58 void hitCallback(PacketPtr pkt);
59 unsigned deviceBlockSize() const;
60
61 bool onRetryList()
62 { return _onRetryList; }
63
64 void onRetryList(bool newVal)

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

146
147 //
148 // Based on similar code in the M5 bus. Stores pointers to those ports
149 // that should be called when the Sequencer becomes available after a stall.
150 //
151 std::list<M5Port*> retryList;
152
153 bool waitingOnSequencer;
154};
155
156#endif // __MEM_RUBY_SYSTEM_RUBYPORT_HH__