timing.cc (12284:b91c036913da) timing.cc (12355:568ec3a0c614)
1/*
2 * Copyright 2014 Google, Inc.
3 * Copyright (c) 2010-2013,2015,2017 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

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

505
506 uint8_t *newData = new uint8_t[size];
507 const int asid = 0;
508 const Addr pc = thread->instAddr();
509 unsigned block_size = cacheLineSize();
510 BaseTLB::Mode mode = BaseTLB::Write;
511
512 if (data == NULL) {
1/*
2 * Copyright 2014 Google, Inc.
3 * Copyright (c) 2010-2013,2015,2017 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

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

505
506 uint8_t *newData = new uint8_t[size];
507 const int asid = 0;
508 const Addr pc = thread->instAddr();
509 unsigned block_size = cacheLineSize();
510 BaseTLB::Mode mode = BaseTLB::Write;
511
512 if (data == NULL) {
513 assert(flags & Request::CACHE_BLOCK_ZERO);
513 assert(flags & Request::STORE_NO_DATA);
514 // This must be a cache block cleaning request
515 memset(newData, 0, size);
516 } else {
517 memcpy(newData, data, size);
518 }
519
520 if (traceData)
521 traceData->setMem(addr, size, flags);

--- 503 unchanged lines hidden ---
514 // This must be a cache block cleaning request
515 memset(newData, 0, size);
516 } else {
517 memcpy(newData, data, size);
518 }
519
520 if (traceData)
521 traceData->setMem(addr, size, flags);

--- 503 unchanged lines hidden ---