summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-03-24 14:00:15 -0400
committerGabe Black <gblack@eecs.umich.edu>2011-03-24 14:00:15 -0400
commit5d09a78dceffb87adadf6e7f1bc3ff631abca546 (patch)
treeebb61e33f41b33048ce0d085102bcdfb86ef625c /src/arch
parent57ed5e77fe8366d680768189f8d3c67f8413879a (diff)
downloadgem5-5d09a78dceffb87adadf6e7f1bc3ff631abca546.tar.xz
Arm: Get rid of the unused copyStringArray32 method from Arm process classes.
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arm/process.cc20
-rw-r--r--src/arch/arm/process.hh4
2 files changed, 0 insertions, 24 deletions
diff --git a/src/arch/arm/process.cc b/src/arch/arm/process.cc
index a5460ac19..829911a7c 100644
--- a/src/arch/arm/process.cc
+++ b/src/arch/arm/process.cc
@@ -94,26 +94,6 @@ ArmLiveProcess::startup()
}
void
-ArmLiveProcess::copyStringArray32(std::vector<std::string> &strings,
- Addr array_ptr, Addr data_ptr,
- TranslatingPort* memPort)
-{
- Addr data_ptr_swap;
- for (int i = 0; i < strings.size(); ++i) {
- data_ptr_swap = htog(data_ptr);
- memPort->writeBlob(array_ptr, (uint8_t*)&data_ptr_swap,
- sizeof(uint32_t));
- memPort->writeString(data_ptr, strings[i].c_str());
- array_ptr += sizeof(uint32_t);
- data_ptr += strings[i].size() + 1;
- }
- // add NULL terminator
- data_ptr = 0;
-
- memPort->writeBlob(array_ptr, (uint8_t*)&data_ptr, sizeof(uint32_t));
-}
-
-void
ArmLiveProcess::argsInit(int intSize, int pageSize)
{
typedef AuxVector<uint32_t> auxv_t;
diff --git a/src/arch/arm/process.hh b/src/arch/arm/process.hh
index 3f7af2c9b..6017f7649 100644
--- a/src/arch/arm/process.hh
+++ b/src/arch/arm/process.hh
@@ -49,10 +49,6 @@ class ArmLiveProcess : public LiveProcess
void startup();
- void copyStringArray32(std::vector<std::string> &strings,
- Addr array_ptr, Addr data_ptr,
- TranslatingPort* memPort);
-
public:
void argsInit(int intSize, int pageSize);