From: Gabe Black Date: Thu, 24 Mar 2011 18:39:00 +0000 (-0400) Subject: Arm: Get rid of unused and incomplete setCp15Register and readCp15Register. X-Git-Tag: stable_2012_02_02~446 X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=475685df499ab40a4b5f61a4c930ff3ebc12c089;p=gem5.git Arm: Get rid of unused and incomplete setCp15Register and readCp15Register. --- 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);