Deleted Added
sdiff udiff text old ( 10030:b531e328342d ) new ( 10031:79d034cd6ba3 )
full compact
1/*
2 * Copyright (c) 2010-2013 ARM Limited
3 * All rights reserved
4 *
5 * The license below extends only to copyright in the software and shall
6 * not be construed as granting a license to any other intellectual
7 * property including but not limited to intellectual property relating
8 * to a hardware implementation of the functionality of the software

--- 458 unchanged lines hidden (view full) ---

467 return dcache_pkt == NULL;
468}
469
470Fault
471TimingSimpleCPU::writeMem(uint8_t *data, unsigned size,
472 Addr addr, unsigned flags, uint64_t *res)
473{
474 uint8_t *newData = new uint8_t[size];
475 memcpy(newData, data, size);
476
477 const int asid = 0;
478 const ThreadID tid = 0;
479 const Addr pc = thread->instAddr();
480 unsigned block_size = cacheLineSize();
481 BaseTLB::Mode mode = BaseTLB::Write;
482
483 if (traceData) {
484 traceData->setAddr(addr);
485 }
486
487 RequestPtr req = new Request(asid, addr, size,
488 flags, dataMasterId(), pc, _cpuId, tid);
489
490 req->taskId(taskId());

--- 446 unchanged lines hidden ---