gem5 v24.0.0.0
|
PortProxy Object Declaration. More...
#include <functional>
#include <limits>
#include "mem/protocol/functional.hh"
#include "sim/byteswap.hh"
Go to the source code of this file.
Classes | |
class | gem5::PortProxy |
This object is a proxy for a port or other object which implements the functional response protocol, to be used for debug accesses. More... | |
Namespaces | |
namespace | gem5 |
Copyright (c) 2024 - Pranith Kumar Copyright (c) 2020 Inria All rights reserved. | |
PortProxy Object Declaration.
Port proxies are used when non-structural entities need access to the memory system (or structural entities that want to peak into the memory system without making a real memory access).
Proxy objects replace the previous FunctionalPort, TranslatingPort and VirtualPort objects, which provided the same functionality as the proxies, but were instances of ports not corresponding to real structural ports of the simulated system. Via the port proxies all the accesses go through an actual port (either the system port, e.g. for processes or initialisation, or a the data port of the CPU, e.g. for threads) and thus are transparent to a potentially distributed memory and automatically adhere to the memory map of the system.
Definition in file port_proxy.hh.