arch,cpu,kern,sim: Eliminate the utility.hh switching header.
This header is no longer used. Remove the places where it's included, and stop generating it. Also eliminate the now empty SPARC and Power versions of the header. Change-Id: I6ee66d39bc0218d1d9b9b7db3b350134ef03251d Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/39337 Maintainer: Gabe Black <gabe.black@gmail.com> Tested-by: kokoro <noreply+kokoro@google.com> Reviewed-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
This commit is contained in:
@@ -64,7 +64,6 @@ env.SwitchingHeaders(
|
||||
registers.hh
|
||||
remote_gdb.hh
|
||||
types.hh
|
||||
utility.hh
|
||||
'''),
|
||||
env.subst('${TARGET_ISA}'))
|
||||
|
||||
|
||||
@@ -56,7 +56,6 @@ output decoder {{
|
||||
#include "arch/power/decoder.hh"
|
||||
#include "arch/power/faults.hh"
|
||||
#include "arch/power/isa_traits.hh"
|
||||
#include "arch/power/utility.hh"
|
||||
#include "base/loader/symtab.hh"
|
||||
#include "base/cprintf.hh"
|
||||
#include "cpu/thread_context.hh"
|
||||
@@ -71,7 +70,6 @@ output exec {{
|
||||
#include "arch/power/faults.hh"
|
||||
#include "arch/power/isa_traits.hh"
|
||||
#include "arch/power/miscregs.hh"
|
||||
#include "arch/power/utility.hh"
|
||||
#include "base/condcodes.hh"
|
||||
#include "cpu/base.hh"
|
||||
#include "cpu/exetrace.hh"
|
||||
|
||||
@@ -33,7 +33,6 @@
|
||||
#define __ARCH_POWER_PAGETABLE_H__
|
||||
|
||||
#include "arch/power/isa_traits.hh"
|
||||
#include "arch/power/utility.hh"
|
||||
#include "sim/serialize.hh"
|
||||
|
||||
namespace PowerISA
|
||||
|
||||
@@ -36,7 +36,6 @@
|
||||
|
||||
#include "arch/power/faults.hh"
|
||||
#include "arch/power/pagetable.hh"
|
||||
#include "arch/power/utility.hh"
|
||||
#include "base/inifile.hh"
|
||||
#include "base/str.hh"
|
||||
#include "base/trace.hh"
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
#include "arch/generic/tlb.hh"
|
||||
#include "arch/power/isa_traits.hh"
|
||||
#include "arch/power/pagetable.hh"
|
||||
#include "arch/power/utility.hh"
|
||||
#include "base/statistics.hh"
|
||||
#include "mem/request.hh"
|
||||
#include "params/PowerTLB.hh"
|
||||
|
||||
@@ -1,34 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2003-2005 The Regents of The University of Michigan
|
||||
* Copyright (c) 2007-2008 The Florida State University
|
||||
* Copyright (c) 2009 The University of Edinburgh
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are
|
||||
* met: redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer;
|
||||
* redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution;
|
||||
* neither the name of the copyright holders nor the names of its
|
||||
* contributors may be used to endorse or promote products derived from
|
||||
* this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef __ARCH_POWER_UTILITY_HH__
|
||||
#define __ARCH_POWER_UTILITY_HH__
|
||||
|
||||
#endif // __ARCH_POWER_UTILITY_HH__
|
||||
@@ -31,7 +31,6 @@
|
||||
|
||||
#include "arch/sparc/asi.hh"
|
||||
#include "arch/sparc/miscregs.hh"
|
||||
#include "arch/sparc/utility.hh"
|
||||
#include "cpu/thread_context.hh"
|
||||
#include "kern/linux/linux.hh"
|
||||
|
||||
|
||||
@@ -1,32 +0,0 @@
|
||||
/*
|
||||
* Copyright (c) 2003-2005 The Regents of The University of Michigan
|
||||
* All rights reserved.
|
||||
*
|
||||
* Redistribution and use in source and binary forms, with or without
|
||||
* modification, are permitted provided that the following conditions are
|
||||
* met: redistributions of source code must retain the above copyright
|
||||
* notice, this list of conditions and the following disclaimer;
|
||||
* redistributions in binary form must reproduce the above copyright
|
||||
* notice, this list of conditions and the following disclaimer in the
|
||||
* documentation and/or other materials provided with the distribution;
|
||||
* neither the name of the copyright holders nor the names of its
|
||||
* contributors may be used to endorse or promote products derived from
|
||||
* this software without specific prior written permission.
|
||||
*
|
||||
* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
|
||||
* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
|
||||
* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
|
||||
* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
|
||||
* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
|
||||
* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
|
||||
* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
|
||||
* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
|
||||
* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
|
||||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifndef __ARCH_SPARC_UTILITY_HH__
|
||||
#define __ARCH_SPARC_UTILITY_HH__
|
||||
|
||||
#endif
|
||||
@@ -51,7 +51,6 @@
|
||||
#include <string>
|
||||
|
||||
#include "arch/generic/tlb.hh"
|
||||
#include "arch/utility.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "config/the_isa.hh"
|
||||
#include "cpu/checker/cpu.hh"
|
||||
|
||||
@@ -43,7 +43,6 @@
|
||||
#include <iomanip>
|
||||
#include <sstream>
|
||||
|
||||
#include "arch/utility.hh"
|
||||
#include "base/loader/symtab.hh"
|
||||
#include "config/the_isa.hh"
|
||||
#include "cpu/base.hh"
|
||||
|
||||
@@ -46,7 +46,6 @@
|
||||
#include <csignal>
|
||||
#include <ostream>
|
||||
|
||||
#include "arch/utility.hh"
|
||||
#include "debug/Checkpoint.hh"
|
||||
#include "debug/Drain.hh"
|
||||
#include "debug/Kvm.hh"
|
||||
|
||||
@@ -37,7 +37,6 @@
|
||||
|
||||
#include "cpu/minor/cpu.hh"
|
||||
|
||||
#include "arch/utility.hh"
|
||||
#include "cpu/minor/dyn_inst.hh"
|
||||
#include "cpu/minor/fetch1.hh"
|
||||
#include "cpu/minor/pipeline.hh"
|
||||
|
||||
@@ -40,7 +40,6 @@
|
||||
#include <string>
|
||||
|
||||
#include "arch/decoder.hh"
|
||||
#include "arch/utility.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "cpu/minor/pipeline.hh"
|
||||
|
||||
@@ -45,7 +45,6 @@
|
||||
#include <set>
|
||||
#include <string>
|
||||
|
||||
#include "arch/utility.hh"
|
||||
#include "base/loader/symtab.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "config/the_isa.hh"
|
||||
|
||||
@@ -42,7 +42,6 @@
|
||||
#define __CPU_O3_FETCH_HH__
|
||||
|
||||
#include "arch/decoder.hh"
|
||||
#include "arch/utility.hh"
|
||||
#include "base/statistics.hh"
|
||||
#include "config/the_isa.hh"
|
||||
#include "cpu/pc_event.hh"
|
||||
|
||||
@@ -49,7 +49,6 @@
|
||||
#include <queue>
|
||||
|
||||
#include "arch/generic/tlb.hh"
|
||||
#include "arch/utility.hh"
|
||||
#include "base/random.hh"
|
||||
#include "base/types.hh"
|
||||
#include "config/the_isa.hh"
|
||||
|
||||
@@ -48,7 +48,6 @@
|
||||
|
||||
#include <queue>
|
||||
|
||||
#include "arch/utility.hh"
|
||||
#include "config/the_isa.hh"
|
||||
#include "cpu/checker/cpu.hh"
|
||||
#include "cpu/o3/fu_pool.hh"
|
||||
|
||||
@@ -45,7 +45,6 @@
|
||||
#include <algorithm>
|
||||
|
||||
#include "arch/types.hh"
|
||||
#include "arch/utility.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "config/the_isa.hh"
|
||||
#include "debug/Branch.hh"
|
||||
|
||||
@@ -42,7 +42,6 @@
|
||||
#include "cpu/simple/atomic.hh"
|
||||
|
||||
#include "arch/locked_mem.hh"
|
||||
#include "arch/utility.hh"
|
||||
#include "base/output.hh"
|
||||
#include "config/the_isa.hh"
|
||||
#include "cpu/exetrace.hh"
|
||||
|
||||
@@ -42,7 +42,6 @@
|
||||
#include "cpu/simple/timing.hh"
|
||||
|
||||
#include "arch/locked_mem.hh"
|
||||
#include "arch/utility.hh"
|
||||
#include "config/the_isa.hh"
|
||||
#include "cpu/exetrace.hh"
|
||||
#include "debug/Config.hh"
|
||||
|
||||
@@ -42,7 +42,6 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "arch/utility.hh"
|
||||
#include "base/callback.hh"
|
||||
#include "base/compiler.hh"
|
||||
#include "base/cprintf.hh"
|
||||
|
||||
@@ -34,7 +34,6 @@
|
||||
|
||||
#include <sstream>
|
||||
|
||||
#include "arch/utility.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "cpu/thread_context.hh"
|
||||
#include "debug/DebugPrintf.hh"
|
||||
|
||||
@@ -42,7 +42,6 @@
|
||||
|
||||
#include <sstream>
|
||||
|
||||
#include "arch/utility.hh"
|
||||
#include "base/output.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "cpu/base.hh"
|
||||
|
||||
@@ -38,7 +38,6 @@
|
||||
#include <string>
|
||||
#include <unordered_map>
|
||||
|
||||
#include "arch/utility.hh"
|
||||
#include "base/chunk_generator.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "config/the_isa.hh"
|
||||
|
||||
@@ -86,7 +86,6 @@
|
||||
#include <string>
|
||||
|
||||
#include "arch/generic/tlb.hh"
|
||||
#include "arch/utility.hh"
|
||||
#include "base/intmath.hh"
|
||||
#include "base/loader/object_file.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
@@ -44,7 +44,6 @@
|
||||
#include <algorithm>
|
||||
|
||||
#include "arch/remote_gdb.hh"
|
||||
#include "arch/utility.hh"
|
||||
#include "base/compiler.hh"
|
||||
#include "base/loader/object_file.hh"
|
||||
#include "base/loader/symtab.hh"
|
||||
|
||||
Reference in New Issue
Block a user