diff options
author | Nathan Binkert <binkertn@umich.edu> | 2004-07-01 18:00:18 -0400 |
---|---|---|
committer | Nathan Binkert <binkertn@umich.edu> | 2004-07-01 18:00:18 -0400 |
commit | 671cff59372695309b62f2a4f6aa68269f56584a (patch) | |
tree | 57aeec43624eff8fa284d292877506c4ab9533e2 /kern | |
parent | 12e8ab2b64e12307c6550e20274e49f6092bf4f7 (diff) | |
download | gem5-671cff59372695309b62f2a4f6aa68269f56584a.tar.xz |
rename CopyData to CopyOut and implement CopyIn to copy data
from the simulator into the simulatee
kern/tru64/dump_mbuf.cc:
rename CopyData -> CopyOut
--HG--
extra : convert_revision : e3ef27a5762dfc495dcb84a372470464c27557d2
Diffstat (limited to 'kern')
-rw-r--r-- | kern/tru64/dump_mbuf.cc | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/kern/tru64/dump_mbuf.cc b/kern/tru64/dump_mbuf.cc index 42a2d719c..9121e823d 100644 --- a/kern/tru64/dump_mbuf.cc +++ b/kern/tru64/dump_mbuf.cc @@ -46,7 +46,7 @@ DumpMbuf(AlphaArguments args) Addr addr = (Addr)args; struct mbuf m; - CopyData(xc, &m, addr, sizeof(m)); + CopyOut(xc, &m, addr, sizeof(m)); int count = m.m_pkthdr.len; @@ -57,7 +57,7 @@ DumpMbuf(AlphaArguments args) ccprintf(DebugOut(), "m=%#lx, m->m_data=%#lx, m->m_len=%d\n", addr, m.m_data, m.m_len); char *buffer = new char[m.m_len]; - CopyData(xc, buffer, m.m_data, m.m_len); + CopyOut(xc, buffer, m.m_data, m.m_len); Trace::rawDump((uint8_t *)buffer, m.m_len); delete [] buffer; @@ -65,7 +65,7 @@ DumpMbuf(AlphaArguments args) if (!m.m_next) break; - CopyData(xc, &m, m.m_next, sizeof(m)); + CopyOut(xc, &m, m.m_next, sizeof(m)); } } |