timing.cc (11151:ca4ea9b5c052) timing.cc (11303:f694764d656d)
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{
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{
410 SimpleExecContext &t_info = *threadInfo[curThread];
411 SimpleThread* thread = t_info.thread;
412
413 Fault fault;
414 const int asid = 0;
415 const ThreadID tid = curThread;
416 const Addr pc = thread->instAddr();
417 unsigned block_size = cacheLineSize();

--- 576 unchanged lines hidden ---
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 ---