diff options
author | Ali Saidi <saidi@eecs.umich.edu> | 2007-02-18 19:57:58 -0500 |
---|---|---|
committer | Ali Saidi <saidi@eecs.umich.edu> | 2007-02-18 19:57:58 -0500 |
commit | 9062525c239ba94083d6517ebff0aa88ab82be92 (patch) | |
tree | 903ab0819ef4ee8689043edc457a722f0c1316d4 /src/mem/vport.hh | |
parent | 4e7f8c088522dbf512ae02780f53cdccadb2474a (diff) | |
parent | bd367d4825e26ab3f8e01f3b4bdb914bb0ef756a (diff) | |
download | gem5-9062525c239ba94083d6517ebff0aa88ab82be92.tar.xz |
Merge zizzer:/bk/newmem
into zeep.pool:/z/saidi/work/m5.newmem
--HG--
extra : convert_revision : 10d4dc08411c7a433a7194e94f69ca1d639a1ce7
Diffstat (limited to 'src/mem/vport.hh')
-rw-r--r-- | src/mem/vport.hh | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/mem/vport.hh b/src/mem/vport.hh index c83836258..a8ceaa9fc 100644 --- a/src/mem/vport.hh +++ b/src/mem/vport.hh @@ -49,6 +49,7 @@ * simple address masking operation (such as alpha super page accesses). */ + class VirtualPort : public FunctionalPort { private: @@ -75,5 +76,11 @@ class VirtualPort : public FunctionalPort virtual void writeBlob(Addr addr, uint8_t *p, int size); }; + +void CopyOut(ThreadContext *tc, void *dest, Addr src, size_t cplen); +void CopyIn(ThreadContext *tc, Addr dest, void *source, size_t cplen); +void CopyStringOut(ThreadContext *tc, char *dst, Addr vaddr, size_t maxlen); +void CopyStringIn(ThreadContext *tc, char *src, Addr vaddr); + #endif //__MEM_VPORT_HH__ |