Check.cc (10348:c91b23c72d5e) | Check.cc (10562:b99fdc295c34) |
---|---|
1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * Copyright (c) 2009 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 96 unchanged lines hidden (view full) --- 105 } 106 107 // Prefetches are assumed to be 0 sized 108 Request *req = new Request(m_address.getAddress(), 0, flags, 109 m_tester_ptr->masterId(), curTick(), m_pc.getAddress()); 110 req->setThreadContext(index, 0); 111 112 PacketPtr pkt = new Packet(req, cmd); | 1/* 2 * Copyright (c) 1999-2008 Mark D. Hill and David A. Wood 3 * Copyright (c) 2009 Advanced Micro Devices, Inc. 4 * All rights reserved. 5 * 6 * Redistribution and use in source and binary forms, with or without 7 * modification, are permitted provided that the following conditions are 8 * met: redistributions of source code must retain the above copyright --- 96 unchanged lines hidden (view full) --- 105 } 106 107 // Prefetches are assumed to be 0 sized 108 Request *req = new Request(m_address.getAddress(), 0, flags, 109 m_tester_ptr->masterId(), curTick(), m_pc.getAddress()); 110 req->setThreadContext(index, 0); 111 112 PacketPtr pkt = new Packet(req, cmd); |
113 // despite the oddity of the 0 size (questionable if this should 114 // even be allowed), a prefetch is still a read and as such needs 115 // a place to store the result 116 uint8_t *data = new uint8_t; 117 pkt->dataDynamic(data); |
|
113 114 // push the subblock onto the sender state. The sequencer will 115 // update the subblock on the return 116 pkt->senderState = new SenderState(m_address, req->getSize()); 117 118 if (port->sendTimingReq(pkt)) { 119 DPRINTF(RubyTest, "successfully initiated prefetch.\n"); 120 } else { --- 258 unchanged lines hidden --- | 118 119 // push the subblock onto the sender state. The sequencer will 120 // update the subblock on the return 121 pkt->senderState = new SenderState(m_address, req->getSize()); 122 123 if (port->sendTimingReq(pkt)) { 124 DPRINTF(RubyTest, "successfully initiated prefetch.\n"); 125 } else { --- 258 unchanged lines hidden --- |