From 475685df499ab40a4b5f61a4c930ff3ebc12c089 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 24 Mar 2011 14:39:00 -0400 Subject: [PATCH] Arm: Get rid of unused and incomplete setCp15Register and readCp15Register. --- src/arch/arm/utility.cc | 15 --------------- src/arch/arm/utility.hh | 3 --- 2 files changed, 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); -- 2.30.2