From b9d8700a38ccecfbe97c152bc9fc3b7c3b09e9a2 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Fri, 25 Aug 2017 17:39:18 -0700 Subject: stats: Get rid of some kernel stats related cruft. The kernel stat mechanism should really be refactored and moved somewhere else, but in the mean time there's some old cruft that can be cleared away. Change-Id: I21e725de590dda0d20bf3bc675bbe976c7b1bd86 Reviewed-on: https://gem5-review.googlesource.com/4600 Reviewed-by: Jason Lowe-Power Reviewed-by: Andreas Sandberg Maintainer: Andreas Sandberg --- src/arch/x86/kernel_stats.hh | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) (limited to 'src/arch/x86/kernel_stats.hh') diff --git a/src/arch/x86/kernel_stats.hh b/src/arch/x86/kernel_stats.hh index e5b9a0c95..1a821a0e9 100644 --- a/src/arch/x86/kernel_stats.hh +++ b/src/arch/x86/kernel_stats.hh @@ -45,24 +45,10 @@ namespace X86ISA { namespace Kernel { -enum cpu_mode { - ring0, - ring1, - ring2, - ring3, - kernel = ring0, - user = ring3, - idle, - //What is this next one for? - cpu_mode_num -}; - -extern const char *modestr[]; - class Statistics : public ::Kernel::Statistics { public: - Statistics(System * system) : ::Kernel::Statistics(system) + Statistics() : ::Kernel::Statistics() {} }; -- cgit v1.2.3