summaryrefslogtreecommitdiff
path: root/src/arch
diff options
context:
space:
mode:
authorGabe Black <gblack@eecs.umich.edu>2011-03-24 14:39:00 -0400
committerGabe Black <gblack@eecs.umich.edu>2011-03-24 14:39:00 -0400
commit475685df499ab40a4b5f61a4c930ff3ebc12c089 (patch)
treea4fa5fb6b599ac1464e462e1ec74c7d8c6ef25d7 /src/arch
parent5d09a78dceffb87adadf6e7f1bc3ff631abca546 (diff)
downloadgem5-475685df499ab40a4b5f61a4c930ff3ebc12c089.tar.xz
Arm: Get rid of unused and incomplete setCp15Register and readCp15Register.
Diffstat (limited to 'src/arch')
-rw-r--r--src/arch/arm/utility.cc15
-rw-r--r--src/arch/arm/utility.hh3
2 files changed, 0 insertions, 18 deletions
diff --git a/src/arch/arm/utility.cc b/src/arch/arm/utility.cc
index 47e13bdea..0d91c9f90 100644
--- a/src/arch/arm/utility.cc
+++ b/src/arch/arm/utility.cc
@@ -112,21 +112,6 @@ getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp)
#endif
}
-Fault
-setCp15Register(uint32_t &Rd, int CRn, int opc1, int CRm, int opc2)
-{
- return new UnimpFault(csprintf("MCR CP15: CRn: %d opc1: %d CRm: %d opc1: %d\n",
- CRn, opc1, CRm, opc2));
-}
-
-Fault
-readCp15Register(uint32_t &Rd, int CRn, int opc1, int CRm, int opc2)
-{
- return new UnimpFault(csprintf("MRC CP15: CRn: %d opc1: %d CRm: %d opc1: %d\n",
- CRn, opc1, CRm, opc2));
-
-}
-
void
skipFunction(ThreadContext *tc)
{
diff --git a/src/arch/arm/utility.hh b/src/arch/arm/utility.hh
index 17a9a6c5f..0fea44695 100644
--- a/src/arch/arm/utility.hh
+++ b/src/arch/arm/utility.hh
@@ -156,9 +156,6 @@ neonEnabled(CPACR cpacr, CPSR cpsr, FPEXC fpexc)
}
uint64_t getArgument(ThreadContext *tc, int &number, uint16_t size, bool fp);
-
-Fault setCp15Register(uint32_t &Rd, int CRn, int opc1, int CRm, int opc2);
-Fault readCp15Register(uint32_t &Rd, int CRn, int opc1, int CRm, int opc2);
void skipFunction(ThreadContext *tc);