RubyRequest.hh (11305:78c1e4f5dfc5) | RubyRequest.hh (11307:bd7d06ea90f5) |
---|---|
1/* 2 * Copyright (c) 2009 Mark D. Hill and David A. Wood 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; --- 26 unchanged lines hidden (view full) --- 35#include "mem/protocol/HSAScope.hh" 36#include "mem/protocol/HSASegment.hh" 37#include "mem/protocol/Message.hh" 38#include "mem/protocol/PrefetchBit.hh" 39#include "mem/protocol/RubyAccessMode.hh" 40#include "mem/protocol/RubyRequestType.hh" 41#include "mem/ruby/common/Address.hh" 42#include "mem/ruby/common/DataBlock.hh" | 1/* 2 * Copyright (c) 2009 Mark D. Hill and David A. Wood 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; --- 26 unchanged lines hidden (view full) --- 35#include "mem/protocol/HSAScope.hh" 36#include "mem/protocol/HSASegment.hh" 37#include "mem/protocol/Message.hh" 38#include "mem/protocol/PrefetchBit.hh" 39#include "mem/protocol/RubyAccessMode.hh" 40#include "mem/protocol/RubyRequestType.hh" 41#include "mem/ruby/common/Address.hh" 42#include "mem/ruby/common/DataBlock.hh" |
43#include "mem/ruby/common/WriteMask.hh" |
|
43 44class RubyRequest : public Message 45{ 46 public: 47 Addr m_PhysicalAddress; 48 Addr m_LineAddress; 49 RubyRequestType m_Type; 50 Addr m_ProgramCounter; 51 RubyAccessMode m_AccessMode; 52 int m_Size; 53 PrefetchBit m_Prefetch; 54 uint8_t* data; 55 PacketPtr pkt; 56 ContextID m_contextId; | 44 45class RubyRequest : public Message 46{ 47 public: 48 Addr m_PhysicalAddress; 49 Addr m_LineAddress; 50 RubyRequestType m_Type; 51 Addr m_ProgramCounter; 52 RubyAccessMode m_AccessMode; 53 int m_Size; 54 PrefetchBit m_Prefetch; 55 uint8_t* data; 56 PacketPtr pkt; 57 ContextID m_contextId; |
58 WriteMask m_writeMask; 59 DataBlock m_WTData; |
|
57 int m_wfid; 58 HSAScope m_scope; 59 HSASegment m_segment; 60 61 62 RubyRequest(Tick curTime, uint64_t _paddr, uint8_t* _data, int _len, 63 uint64_t _pc, RubyRequestType _type, RubyAccessMode _access_mode, 64 PacketPtr _pkt, PrefetchBit _pb = PrefetchBit_No, --- 29 unchanged lines hidden (view full) --- 94 m_Type(_type), 95 m_ProgramCounter(_pc), 96 m_AccessMode(_access_mode), 97 m_Size(_len), 98 m_Prefetch(_pb), 99 data(_data), 100 pkt(_pkt), 101 m_contextId(_core_id), | 60 int m_wfid; 61 HSAScope m_scope; 62 HSASegment m_segment; 63 64 65 RubyRequest(Tick curTime, uint64_t _paddr, uint8_t* _data, int _len, 66 uint64_t _pc, RubyRequestType _type, RubyAccessMode _access_mode, 67 PacketPtr _pkt, PrefetchBit _pb = PrefetchBit_No, --- 29 unchanged lines hidden (view full) --- 97 m_Type(_type), 98 m_ProgramCounter(_pc), 99 m_AccessMode(_access_mode), 100 m_Size(_len), 101 m_Prefetch(_pb), 102 data(_data), 103 pkt(_pkt), 104 m_contextId(_core_id), |
105 m_writeMask(_wm_size,_wm_mask), 106 m_WTData(_Data), |
|
102 m_wfid(_proc_id), 103 m_scope(_scope), 104 m_segment(_segment) 105 { 106 m_LineAddress = makeLineAddress(m_PhysicalAddress); 107 } 108 109 RubyRequest(Tick curTime, uint64_t _paddr, uint8_t* _data, int _len, --- 10 unchanged lines hidden (view full) --- 120 m_Type(_type), 121 m_ProgramCounter(_pc), 122 m_AccessMode(_access_mode), 123 m_Size(_len), 124 m_Prefetch(_pb), 125 data(_data), 126 pkt(_pkt), 127 m_contextId(_core_id), | 107 m_wfid(_proc_id), 108 m_scope(_scope), 109 m_segment(_segment) 110 { 111 m_LineAddress = makeLineAddress(m_PhysicalAddress); 112 } 113 114 RubyRequest(Tick curTime, uint64_t _paddr, uint8_t* _data, int _len, --- 10 unchanged lines hidden (view full) --- 125 m_Type(_type), 126 m_ProgramCounter(_pc), 127 m_AccessMode(_access_mode), 128 m_Size(_len), 129 m_Prefetch(_pb), 130 data(_data), 131 pkt(_pkt), 132 m_contextId(_core_id), |
133 m_writeMask(_wm_size,_wm_mask,_atomicOps), 134 m_WTData(_Data), |
|
128 m_wfid(_proc_id), 129 m_scope(_scope), 130 m_segment(_segment) 131 { 132 m_LineAddress = makeLineAddress(m_PhysicalAddress); 133 } 134 135 --- 26 unchanged lines hidden --- | 135 m_wfid(_proc_id), 136 m_scope(_scope), 137 m_segment(_segment) 138 { 139 m_LineAddress = makeLineAddress(m_PhysicalAddress); 140 } 141 142 --- 26 unchanged lines hidden --- |