59 #ifndef __MEM_FS_PORT_PROXY_HH__
60 #define __MEM_FS_PORT_PROXY_HH__
105 #endif //__MEM_FS_PORT_PROXY_HH__
A MasterPort is a specialisation of a BaseMasterPort, which implements the default protocol for the t...
A TranslatingPortProxy in FS mode translates a virtual address to a physical address and then calls t...
virtual ~FSTranslatingPortProxy()
void CopyOut(ThreadContext *tc, void *dest, Addr src, size_t cplen)
ThreadContext is the external interface to all thread state for anything outside of the CPU...
virtual void readBlob(Addr addr, uint8_t *p, int size) const
Version of readblob that translates virt->phys and deals with page boundries.
void CopyStringOut(ThreadContext *tc, char *dst, Addr vaddr, size_t maxlen)
virtual void writeBlob(Addr addr, const uint8_t *p, int size) const
Version of writeBlob that translates virt->phys and deals with page boundries.
PortProxy Object Declaration.
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
void CopyIn(ThreadContext *tc, Addr dest, const void *source, size_t cplen)
FSTranslatingPortProxy(ThreadContext *tc)
This object is a proxy for a structural port, to be used for debug accesses.
virtual void memsetBlob(Addr address, uint8_t v, int size) const
Fill size bytes starting at addr with byte value val.
void CopyStringIn(ThreadContext *tc, const char *src, Addr vaddr)