gem5
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Classes | Functions
fs_translating_port_proxy.hh File Reference

TranslatingPortProxy Object Declaration for FS. More...

#include "mem/port_proxy.hh"

Go to the source code of this file.

Classes

class  FSTranslatingPortProxy
 A TranslatingPortProxy in FS mode translates a virtual address to a physical address and then calls the read/write functions of the port. More...
 

Functions

void CopyOut (ThreadContext *tc, void *dest, Addr src, size_t cplen)
 
void CopyIn (ThreadContext *tc, Addr dest, const void *source, size_t cplen)
 
void CopyStringOut (ThreadContext *tc, char *dst, Addr vaddr, size_t maxlen)
 
void CopyStringIn (ThreadContext *tc, const char *src, Addr vaddr)
 

Detailed Description

TranslatingPortProxy Object Declaration for FS.

Port proxies are used when non structural entities need access to the memory system. 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 and thus are transparent to a potentially distributed memory and automatically adhere to the memory map of the system.

Definition in file fs_translating_port_proxy.hh.

Function Documentation

void CopyIn ( ThreadContext tc,
Addr  dest,
const void *  source,
size_t  cplen 
)
void CopyOut ( ThreadContext tc,
void *  dest,
Addr  src,
size_t  cplen 
)
void CopyStringIn ( ThreadContext tc,
const char *  src,
Addr  vaddr 
)
void CopyStringOut ( ThreadContext tc,
char *  dst,
Addr  vaddr,
size_t  maxlen 
)

Generated on Fri Jun 9 2017 13:03:58 for gem5 by doxygen 1.8.6