atomic.cc (14085:0075b0d29d55) atomic.cc (14219:64ff727176ba)
1/*
2 * Copyright 2014 Google, Inc.
1/*
2 * Copyright 2014 Google, Inc.
3 * Copyright (c) 2012-2013,2015,2017-2018 ARM Limited
3 * Copyright (c) 2012-2013,2015,2017-2019 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
9 * to a hardware implementation of the functionality of the software
10 * licensed hereunder. You may use the software subject to the license
11 * terms below provided that you ensure that this notice is replicated

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

357 inst_addr);
358 req->setByteEnable(std::vector<bool>(it_start, it_end));
359 } else {
360 predicate = false;
361 }
362 } else {
363 req->setVirt(0, frag_addr, frag_size, flags, dataMasterId(),
364 inst_addr);
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
9 * to a hardware implementation of the functionality of the software
10 * licensed hereunder. You may use the software subject to the license
11 * terms below provided that you ensure that this notice is replicated

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

357 inst_addr);
358 req->setByteEnable(std::vector<bool>(it_start, it_end));
359 } else {
360 predicate = false;
361 }
362 } else {
363 req->setVirt(0, frag_addr, frag_size, flags, dataMasterId(),
364 inst_addr);
365 req->setByteEnable(std::vector<bool>());
365 }
366
367 return predicate;
368}
369
370Fault
371AtomicSimpleCPU::readMem(Addr addr, uint8_t * data, unsigned size,
372 Request::Flags flags,

--- 421 unchanged lines hidden ---
366 }
367
368 return predicate;
369}
370
371Fault
372AtomicSimpleCPU::readMem(Addr addr, uint8_t * data, unsigned size,
373 Request::Flags flags,

--- 421 unchanged lines hidden ---