1/* 2 * Copyright 2014 Google, Inc. 3 * Copyright (c) 2010-2013,2015 ARM Limited 4 * All rights reserved 5 * 6 * The license below extends only to copyright in the software and shall 7 * not be construed as granting a license to any other intellectual 8 * property including but not limited to intellectual property relating --- 393 unchanged lines hidden (view full) --- 402 pkt1->senderState = new SplitFragmentSenderState(pkt, 0); 403 pkt2->senderState = new SplitFragmentSenderState(pkt, 1); 404} 405 406Fault 407TimingSimpleCPU::readMem(Addr addr, uint8_t *data, 408 unsigned size, unsigned flags) 409{ |
410 panic("readMem() is for atomic accesses, and should " 411 "never be called on TimingSimpleCPU.\n"); 412} 413 414Fault 415TimingSimpleCPU::initiateMemRead(Addr addr, unsigned size, unsigned flags) 416{ |
417 SimpleExecContext &t_info = *threadInfo[curThread]; 418 SimpleThread* thread = t_info.thread; 419 420 Fault fault; 421 const int asid = 0; 422 const ThreadID tid = curThread; 423 const Addr pc = thread->instAddr(); 424 unsigned block_size = cacheLineSize(); --- 576 unchanged lines hidden --- |