diff options
author | Steve Reinhardt <stever@eecs.umich.edu> | 2006-03-12 16:38:16 -0500 |
---|---|---|
committer | Steve Reinhardt <stever@eecs.umich.edu> | 2006-03-12 16:38:16 -0500 |
commit | 2d9c9dba37499d87ee599388aca5502279ce953a (patch) | |
tree | 263847b0bc4a20d0b138bcb51066c82f6f58f8bb /sim/process.cc | |
parent | 159cee171976019badb17336eff5b69df3c89528 (diff) | |
download | gem5-2d9c9dba37499d87ee599388aca5502279ce953a.tar.xz |
Get rid of "Functional" suffix from (read|write)(Blob|String) functions.
--HG--
extra : convert_revision : 1456308af0fd686dff53ec1baddd7747354e1c0a
Diffstat (limited to 'sim/process.cc')
-rw-r--r-- | sim/process.cc | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/sim/process.cc b/sim/process.cc index c8c4d0ba6..2eeb87234 100644 --- a/sim/process.cc +++ b/sim/process.cc @@ -245,15 +245,15 @@ copyStringArray(vector<string> &strings, Addr array_ptr, Addr data_ptr, Addr data_ptr_swap; for (int i = 0; i < strings.size(); ++i) { data_ptr_swap = htog(data_ptr); - memPort->writeBlobFunctional(array_ptr, (uint8_t*)&data_ptr_swap, sizeof(Addr)); - memPort->writeStringFunctional(data_ptr, strings[i].c_str()); + memPort->writeBlob(array_ptr, (uint8_t*)&data_ptr_swap, sizeof(Addr)); + memPort->writeString(data_ptr, strings[i].c_str()); array_ptr += sizeof(Addr); data_ptr += strings[i].size() + 1; } // add NULL terminator data_ptr = 0; - memPort->writeBlobFunctional(array_ptr, (uint8_t*)&data_ptr, sizeof(Addr)); + memPort->writeBlob(array_ptr, (uint8_t*)&data_ptr, sizeof(Addr)); } LiveProcess::LiveProcess(const string &nm, ObjectFile *_objFile, @@ -336,7 +336,7 @@ LiveProcess::startup() // write contents to stack uint64_t argc = argv.size(); argc = htog(argc); - initVirtMem->writeBlobFunctional(stack_min, (uint8_t*)&argc, sizeof(uint64_t)); + initVirtMem->writeBlob(stack_min, (uint8_t*)&argc, sizeof(uint64_t)); copyStringArray(argv, argv_array_base, arg_data_base, initVirtMem); copyStringArray(envp, envp_array_base, env_data_base, initVirtMem); |