From 11f7344cdc215e6950e54f53956e4298ed1fee2b Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Thu, 9 Jan 2020 02:46:30 -0800 Subject: arch: Get rid of the unused (and mostly undefined) zeroRegisters. Change-Id: Iadf56e4e742506af7ae4b617d2dc5a56439aa407 Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/24188 Reviewed-by: Giacomo Travaglini Reviewed-by: Jason Lowe-Power Maintainer: Giacomo Travaglini Tested-by: kokoro --- src/arch/sparc/utility.hh | 7 ------- 1 file changed, 7 deletions(-) (limited to 'src/arch/sparc') diff --git a/src/arch/sparc/utility.hh b/src/arch/sparc/utility.hh index ae5799699..48476cb04 100644 --- a/src/arch/sparc/utility.hh +++ b/src/arch/sparc/utility.hh @@ -62,13 +62,6 @@ inUserMode(ThreadContext *tc) return !(pstate.priv || hpstate.hpriv); } -/** - * Function to insure ISA semantics about 0 registers. - * @param tc The thread context. - */ -template -void zeroRegisters(TC *tc); - void initCPU(ThreadContext *tc, int cpuId); inline void -- cgit v1.2.3