RubyPort.hh (7910:8a92b39be50e) | RubyPort.hh (7915:bc39c93a5519) |
---|---|
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; | 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 bool access_phys_mem; |
|
54 55 public: | 55 56 public: |
56 M5Port(const std::string &_name, RubyPort *_port); | 57 M5Port(const std::string &_name, RubyPort *_port, 58 bool _access_phys_mem); |
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; | 59 bool sendTiming(PacketPtr pkt); 60 void hitCallback(PacketPtr pkt); 61 unsigned deviceBlockSize() const; 62 63 bool onRetryList() 64 { return _onRetryList; } 65 66 void onRetryList(bool newVal) --- 81 unchanged lines hidden (view full) --- 148 149 // 150 // Based on similar code in the M5 bus. Stores pointers to those ports 151 // that should be called when the Sequencer becomes available after a stall. 152 // 153 std::list<M5Port*> retryList; 154 155 bool waitingOnSequencer; |
156 bool access_phys_mem; |
|
154}; 155 156#endif // __MEM_RUBY_SYSTEM_RUBYPORT_HH__ | 157}; 158 159#endif // __MEM_RUBY_SYSTEM_RUBYPORT_HH__ |