From 49009f170a631eea259dc031b3ce4593f8783d19 Mon Sep 17 00:00:00 2001 From: Brandon Potter Date: Wed, 9 Nov 2016 14:27:41 -0600 Subject: syscall_emul: [patch 8/22] refactor process class Moves aux_vector into its own .hh and .cc files just to get it out of the already crowded Process files. Arguably, it could stay there, but it's probably better just to move it and give it files. The changeset looks ugly around the Process header file, but the goal here is to move methods and members around so that they're not defined randomly throughout the entire header file. I expect this is likely one of the reasons why I several unused variables related to this class. So, the methods are declared first followed by members. I've tried to aggregate them together so that similar entries reside near one another. There are other changes coming to this code so this is by no means the final product. --- src/arch/mips/process.cc | 1 + 1 file changed, 1 insertion(+) (limited to 'src/arch/mips') diff --git a/src/arch/mips/process.cc b/src/arch/mips/process.cc index 9abe410c7..c1943bf39 100644 --- a/src/arch/mips/process.cc +++ b/src/arch/mips/process.cc @@ -39,6 +39,7 @@ #include "cpu/thread_context.hh" #include "debug/Loader.hh" #include "mem/page_table.hh" +#include "sim/aux_vector.hh" #include "sim/process.hh" #include "sim/process_impl.hh" #include "sim/syscall_return.hh" -- cgit v1.2.3