From 620d1c6f72733e87062a51c5f9d3e7fd6324f543 Mon Sep 17 00:00:00 2001 From: Gabe Black Date: Sat, 13 Apr 2019 20:49:20 -0700 Subject: cpu: Eliminate the ProxyThreadContext class. Replace it with direct inheritance from the ThreadContext class in the SimpleThread class which was the only place it was used. Also take the opportunity to use some specialized types instead of ints, etc., add some consts, and fix some style issues. Change-Id: I5d2cfa87b20dc43615e33e6755c9d016564e9c0e Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/18048 Reviewed-by: Jason Lowe-Power Reviewed-by: Anthony Gutierrez Maintainer: Gabe Black Tested-by: kokoro --- src/cpu/thread_context.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/cpu/thread_context.cc') diff --git a/src/cpu/thread_context.cc b/src/cpu/thread_context.cc index d122dd612..35d96a4e7 100644 --- a/src/cpu/thread_context.cc +++ b/src/cpu/thread_context.cc @@ -163,7 +163,7 @@ ThreadContext::quiesceTick(Tick resume) } void -serialize(ThreadContext &tc, CheckpointOut &cp) +serialize(const ThreadContext &tc, CheckpointOut &cp) { using namespace TheISA; -- cgit v1.2.3