RubyRequest.hh (9466:23e13ad7091f) | RubyRequest.hh (9500:9c3e3d1c7a87) |
---|---|
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; --- 37 unchanged lines hidden (view full) --- 46 Address m_ProgramCounter; 47 RubyAccessMode m_AccessMode; 48 int m_Size; 49 PrefetchBit m_Prefetch; 50 uint8_t* data; 51 PacketPtr pkt; 52 unsigned m_contextId; 53 | 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; --- 37 unchanged lines hidden (view full) --- 46 Address m_ProgramCounter; 47 RubyAccessMode m_AccessMode; 48 int m_Size; 49 PrefetchBit m_Prefetch; 50 uint8_t* data; 51 PacketPtr pkt; 52 unsigned m_contextId; 53 |
54 RubyRequest(Time curTime, uint64_t _paddr, uint8_t* _data, int _len, | 54 RubyRequest(Cycles curTime, uint64_t _paddr, uint8_t* _data, int _len, |
55 uint64_t _pc, RubyRequestType _type, RubyAccessMode _access_mode, 56 PacketPtr _pkt, PrefetchBit _pb = PrefetchBit_No, 57 unsigned _proc_id = 100) 58 : Message(curTime), 59 m_PhysicalAddress(_paddr), 60 m_Type(_type), 61 m_ProgramCounter(_pc), 62 m_AccessMode(_access_mode), 63 m_Size(_len), 64 m_Prefetch(_pb), 65 data(_data), 66 pkt(_pkt), 67 m_contextId(_proc_id) 68 { 69 m_LineAddress = m_PhysicalAddress; 70 m_LineAddress.makeLineAddress(); 71 } 72 | 55 uint64_t _pc, RubyRequestType _type, RubyAccessMode _access_mode, 56 PacketPtr _pkt, PrefetchBit _pb = PrefetchBit_No, 57 unsigned _proc_id = 100) 58 : Message(curTime), 59 m_PhysicalAddress(_paddr), 60 m_Type(_type), 61 m_ProgramCounter(_pc), 62 m_AccessMode(_access_mode), 63 m_Size(_len), 64 m_Prefetch(_pb), 65 data(_data), 66 pkt(_pkt), 67 m_contextId(_proc_id) 68 { 69 m_LineAddress = m_PhysicalAddress; 70 m_LineAddress.makeLineAddress(); 71 } 72 |
73 RubyRequest(Time curTime) : Message(curTime) | 73 RubyRequest(Cycles curTime) : Message(curTime) |
74 { 75 } 76 77 RubyRequest* 78 clone() const 79 { 80 return new RubyRequest(*this); 81 } --- 58 unchanged lines hidden --- | 74 { 75 } 76 77 RubyRequest* 78 clone() const 79 { 80 return new RubyRequest(*this); 81 } --- 58 unchanged lines hidden --- |