Deleted Added
sdiff udiff text old ( 14011:faf0a568ba6b ) new ( 14012:1bdf42ed6add )
full compact
1/*
2 * Copyright (c) 2011-2013, 2018 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

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

54 * CPU, e.g. for threads) and thus are transparent to a potentially
55 * distributed memory and automatically adhere to the memory map of
56 * the system.
57 */
58
59#ifndef __MEM_PORT_PROXY_HH__
60#define __MEM_PORT_PROXY_HH__
61
62#include "mem/port.hh"
63#include "sim/byteswap.hh"
64
65/**
66 * This object is a proxy for a structural port, to be used for debug
67 * accesses.
68 *
69 * This proxy object is used when non structural entities

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

237 * Same as tryReadString, but insists on success.
238 */
239 void
240 readString(std::string &str, Addr addr) const
241 {
242 if (!tryReadString(str, addr))
243 fatal("readString(%#x, ...) failed", addr);
244 }
245};
246
247
248template <typename T>
249T
250PortProxy::read(Addr address) const
251{
252 T data;

--- 29 unchanged lines hidden ---