misc: Rename misc.(hh|cc) to logging.(hh|cc)
These files aren't a collection of miscellaneous stuff, they're the definition of the Logger interface, and a few utility macros for calling into that interface (panic, warn, etc.). Change-Id: I84267ac3f45896a83c0ef027f8f19c5e9a5667d1 Reviewed-on: https://gem5-review.googlesource.com/6226 Reviewed-by: Brandon Potter <Brandon.Potter@amd.com> Maintainer: Gabe Black <gabeblack@google.com>
This commit is contained in:
@@ -32,7 +32,7 @@
|
||||
|
||||
#include <cassert>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "cpu/thread_context.hh"
|
||||
#include "params/AlphaISA.hh"
|
||||
#include "sim/serialize.hh"
|
||||
|
||||
@@ -58,7 +58,7 @@
|
||||
*/
|
||||
|
||||
#include "arch/alpha/registers.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "mem/packet.hh"
|
||||
#include "mem/request.hh"
|
||||
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
#include "arch/isa_traits.hh"
|
||||
#include "base/bitfield.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/trace.hh"
|
||||
|
||||
namespace AlphaISA
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include "arch/alpha/isa_traits.hh"
|
||||
#include "base/loader/elf_object.hh"
|
||||
#include "base/loader/object_file.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "cpu/thread_context.hh"
|
||||
#include "debug/Loader.hh"
|
||||
#include "mem/page_table.hh"
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#define __ARCH_ALPHA_PSEUDO_INST_HH__
|
||||
|
||||
#include "arch/generic/pseudo_inst.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
class ThreadContext;
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#include "arch/alpha/isa_traits.hh"
|
||||
#include "arch/alpha/registers.hh"
|
||||
#include "arch/alpha/types.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "cpu/static_inst.hh"
|
||||
#include "cpu/thread_context.hh"
|
||||
#include "arch/alpha/ev5.hh"
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
#include "arch/arm/miscregs.hh"
|
||||
#include "arch/arm/pagetable.hh"
|
||||
#include "arch/arm/types.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "sim/faults.hh"
|
||||
#include "sim/full_system.hh"
|
||||
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
|
||||
#include "arch/arm/isa_device.hh"
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
namespace ArmISA
|
||||
{
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#include <tuple>
|
||||
|
||||
#include "arch/arm/isa.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "cpu/thread_context.hh"
|
||||
#include "sim/full_system.hh"
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
#include "arch/arm/types.hh"
|
||||
#include "base/loader/elf_object.hh"
|
||||
#include "base/loader/object_file.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "cpu/thread_context.hh"
|
||||
#include "debug/Stack.hh"
|
||||
#include "mem/page_table.hh"
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#define __ARCH_ARM_PSEUDO_INST_HH__
|
||||
|
||||
#include "arch/generic/pseudo_inst.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
class ThreadContext;
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
|
||||
#include "arch/generic/types.hh"
|
||||
#include "base/bitunion.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/types.hh"
|
||||
#include "debug/Decoder.hh"
|
||||
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
#include "arch/arm/isa_traits.hh"
|
||||
#include "arch/arm/miscregs.hh"
|
||||
#include "arch/arm/types.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "base/types.hh"
|
||||
#include "cpu/static_inst.hh"
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
#include <string>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "sim/faults.hh"
|
||||
|
||||
namespace GenericISA
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
#include "arch/generic/pseudo_inst.hh"
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
class ThreadContext;
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
#ifndef __ARCH_GENERIC_TLB_HH__
|
||||
#define __ARCH_GENERIC_TLB_HH__
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "mem/request.hh"
|
||||
#include "sim/sim_object.hh"
|
||||
|
||||
|
||||
@@ -152,7 +152,7 @@
|
||||
#include <vector>
|
||||
|
||||
#include "base/cprintf.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
template <size_t Sz>
|
||||
class VecRegContainer;
|
||||
|
||||
@@ -39,7 +39,7 @@
|
||||
#include <cstdint>
|
||||
|
||||
#include "arch/hsail/gpu_types.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "gpu-compute/misc.hh"
|
||||
|
||||
namespace HsailISA
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "arch/generic/decode_cache.hh"
|
||||
#include "arch/mips/types.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/types.hh"
|
||||
#include "cpu/static_inst.hh"
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
#include "arch/mips/isa_traits.hh"
|
||||
#include "base/bitfield.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "cpu/static_inst.hh"
|
||||
#include "sim/serialize.hh"
|
||||
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#include "arch/mips/isa_traits.hh"
|
||||
#include "arch/mips/types.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/types.hh"
|
||||
|
||||
class ThreadContext;
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
#include "arch/mips/faults.hh"
|
||||
#include "base/compiler.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "params/MipsInterrupts.hh"
|
||||
#include "sim/serialize.hh"
|
||||
#include "sim/sim_object.hh"
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
*/
|
||||
|
||||
#include "arch/registers.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "debug/LLSC.hh"
|
||||
#include "mem/packet.hh"
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
#include "arch/mips/pra_constants.hh"
|
||||
#include "arch/mips/registers.hh"
|
||||
#include "base/bitfield.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/trace.hh"
|
||||
|
||||
namespace MipsISA
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#ifndef __ARCH_MIPS_PAGETABLE_H__
|
||||
#define __ARCH_MIPS_PAGETABLE_H__
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/types.hh"
|
||||
#include "sim/serialize.hh"
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#include "arch/mips/isa_traits.hh"
|
||||
#include "base/loader/elf_object.hh"
|
||||
#include "base/loader/object_file.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "cpu/thread_context.hh"
|
||||
#include "debug/Loader.hh"
|
||||
#include "mem/page_table.hh"
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#define __ARCH_MIPS_PSEUDO_INST_HH__
|
||||
|
||||
#include "arch/generic/pseudo_inst.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
class ThreadContext;
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
#include "arch/generic/vec_reg.hh"
|
||||
#include "arch/mips/generated/max_inst_regs.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/types.hh"
|
||||
|
||||
class ThreadContext;
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include "arch/mips/registers.hh"
|
||||
#include "arch/mips/vtophys.hh"
|
||||
#include "base/bitfield.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "cpu/static_inst.hh"
|
||||
#include "cpu/thread_context.hh"
|
||||
#include "mem/fs_translating_port_proxy.hh"
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#define __ARCH_MIPS_UTILITY_HH__
|
||||
#include "arch/mips/isa_traits.hh"
|
||||
#include "arch/mips/types.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/types.hh"
|
||||
#include "cpu/static_inst.hh"
|
||||
#include "cpu/thread_context.hh"
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#ifndef __ARCH_POWER_INTERRUPT_HH__
|
||||
#define __ARCH_POWER_INTERRUPT_HH__
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "params/PowerInterrupts.hh"
|
||||
#include "sim/sim_object.hh"
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
#include "arch/power/registers.hh"
|
||||
#include "arch/power/types.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "cpu/reg_class.hh"
|
||||
#include "sim/sim_object.hh"
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include "arch/power/types.hh"
|
||||
#include "base/loader/elf_object.hh"
|
||||
#include "base/loader/object_file.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "cpu/thread_context.hh"
|
||||
#include "debug/Stack.hh"
|
||||
#include "mem/page_table.hh"
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#define __ARCH_POWER_PSEUDO_INST_HH__
|
||||
|
||||
#include "arch/generic/pseudo_inst.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
class ThreadContext;
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
#include "arch/power/utility.hh"
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
namespace PowerISA {
|
||||
|
||||
|
||||
@@ -36,7 +36,7 @@
|
||||
#include "arch/generic/decode_cache.hh"
|
||||
#include "arch/riscv/isa_traits.hh"
|
||||
#include "arch/riscv/types.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/types.hh"
|
||||
#include "cpu/static_inst.hh"
|
||||
#include "debug/Decode.hh"
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#ifndef __ARCH_RISCV_INTERRUPT_HH__
|
||||
#define __ARCH_RISCV_INTERRUPT_HH__
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "params/RiscvInterrupts.hh"
|
||||
#include "sim/sim_object.hh"
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
|
||||
#include "arch/riscv/registers.hh"
|
||||
#include "arch/riscv/types.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "cpu/reg_class.hh"
|
||||
#include "sim/sim_object.hh"
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@
|
||||
#include <stack>
|
||||
|
||||
#include "arch/registers.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "debug/LLSC.hh"
|
||||
#include "mem/packet.hh"
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#ifndef __ARCH_RISCV_PAGETABLE_H__
|
||||
#define __ARCH_RISCV_PAGETABLE_H__
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/types.hh"
|
||||
#include "sim/serialize.hh"
|
||||
|
||||
|
||||
@@ -43,7 +43,7 @@
|
||||
#include "arch/riscv/isa_traits.hh"
|
||||
#include "base/loader/elf_object.hh"
|
||||
#include "base/loader/object_file.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "cpu/thread_context.hh"
|
||||
#include "debug/Stack.hh"
|
||||
#include "mem/page_table.hh"
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#define __ARCH_RISCV_PSEUDO_INST_HH__
|
||||
|
||||
#include "arch/generic/pseudo_inst.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
class ThreadContext;
|
||||
|
||||
|
||||
@@ -53,7 +53,7 @@ output header {{
|
||||
#include "arch/sparc/isa_traits.hh"
|
||||
#include "arch/sparc/registers.hh"
|
||||
#include "base/condcodes.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "cpu/static_inst.hh"
|
||||
#include "mem/packet.hh"
|
||||
#include "mem/request.hh" // some constructors use MemReq flags
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
#include "arch/isa_traits.hh"
|
||||
#include "base/bitfield.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/trace.hh"
|
||||
|
||||
namespace SparcISA
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
|
||||
#include "arch/sparc/isa_traits.hh"
|
||||
#include "base/bitfield.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
class Checkpoint;
|
||||
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#include "arch/sparc/types.hh"
|
||||
#include "base/loader/elf_object.hh"
|
||||
#include "base/loader/object_file.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "cpu/thread_context.hh"
|
||||
#include "debug/Stack.hh"
|
||||
#include "mem/page_table.hh"
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#define __ARCH_SPARC_PSEUDO_INST_HH__
|
||||
|
||||
#include "arch/generic/pseudo_inst.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
class ThreadContext;
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include "arch/generic/tlb.hh"
|
||||
#include "arch/sparc/asi.hh"
|
||||
#include "arch/sparc/tlb_map.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "mem/request.hh"
|
||||
#include "params/SparcTLB.hh"
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#include "arch/sparc/registers.hh"
|
||||
#include "arch/sparc/tlb.hh"
|
||||
#include "base/bitfield.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "cpu/static_inst.hh"
|
||||
#include "cpu/thread_context.hh"
|
||||
#include "sim/full_system.hh"
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#include "arch/x86/bios/intelmp.hh"
|
||||
|
||||
#include "arch/x86/isa_traits.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/types.hh"
|
||||
#include "mem/port_proxy.hh"
|
||||
#include "sim/byteswap.hh"
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "arch/x86/decoder.hh"
|
||||
|
||||
#include "arch/x86/regs/misc.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "base/types.hh"
|
||||
#include "debug/Decoder.hh"
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
#include "arch/x86/regs/misc.hh"
|
||||
#include "arch/x86/types.hh"
|
||||
#include "base/bitfield.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "base/types.hh"
|
||||
#include "cpu/decode_cache.hh"
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
|
||||
#include <cassert>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
using namespace X86ISA;
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
#include "arch/x86/tlb.hh"
|
||||
#include "base/bitunion.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "sim/faults.hh"
|
||||
|
||||
namespace X86ISA
|
||||
|
||||
@@ -66,7 +66,7 @@ output header {{
|
||||
#include "arch/x86/registers.hh"
|
||||
#include "arch/x86/types.hh"
|
||||
#include "arch/x86/utility.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "cpu/static_inst.hh"
|
||||
#include "mem/packet.hh"
|
||||
#include "sim/faults.hh"
|
||||
@@ -84,7 +84,7 @@ output decoder {{
|
||||
#include "arch/x86/tlb.hh"
|
||||
#include "base/loader/symtab.hh"
|
||||
#include "base/cprintf.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "cpu/thread_context.hh" // for Jump::branchTarget()
|
||||
#include "mem/packet.hh"
|
||||
#include "sim/full_system.hh"
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
#include "arch/x86/types.hh"
|
||||
#include "base/loader/elf_object.hh"
|
||||
#include "base/loader/object_file.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "cpu/thread_context.hh"
|
||||
#include "debug/Stack.hh"
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
|
||||
#include "arch/x86/x86_traits.hh"
|
||||
#include "base/bitunion.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "sim/core.hh"
|
||||
|
||||
namespace X86ISA
|
||||
|
||||
@@ -51,8 +51,8 @@ Source('hostinfo.cc')
|
||||
Source('inet.cc')
|
||||
Source('inifile.cc')
|
||||
Source('intmath.cc')
|
||||
Source('logging.cc')
|
||||
Source('match.cc')
|
||||
Source('misc.cc')
|
||||
Source('output.cc')
|
||||
Source('pollevent.cc')
|
||||
Source('random.cc')
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
|
||||
#include "base/bitfield.hh"
|
||||
#include "base/cprintf.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/types.hh"
|
||||
|
||||
/**
|
||||
|
||||
@@ -30,7 +30,7 @@
|
||||
|
||||
#include <iostream>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/types.hh"
|
||||
|
||||
#ifndef __BASE_BIGINT_HH__
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
|
||||
#include <cassert>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
const char* BmpWriter::_imgExtension = "bmp";
|
||||
|
||||
|
||||
@@ -44,7 +44,7 @@
|
||||
#include <cassert>
|
||||
#include <vector>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "sim/serialize.hh"
|
||||
|
||||
/**
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
#include <csignal>
|
||||
|
||||
#include "base/cprintf.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
@@ -47,7 +47,7 @@
|
||||
#include <cstring>
|
||||
#include <string>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/str.hh"
|
||||
#include "base/types.hh"
|
||||
|
||||
|
||||
@@ -38,13 +38,14 @@
|
||||
*/
|
||||
|
||||
#include "base/imgwriter.hh"
|
||||
#include "base/bmpwriter.hh"
|
||||
#include "base/misc.hh"
|
||||
|
||||
#include "base/bmpwriter.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "config/use_png.hh"
|
||||
|
||||
#if USE_PNG
|
||||
#include "base/pngwriter.hh"
|
||||
|
||||
#endif
|
||||
|
||||
std::unique_ptr<ImgWriter>
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
|
||||
#include <cassert>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/types.hh"
|
||||
|
||||
// Returns the prime number one less than n.
|
||||
|
||||
@@ -33,7 +33,7 @@
|
||||
#include <string>
|
||||
|
||||
#include "base/loader/symtab.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "base/types.hh"
|
||||
#include "debug/Loader.hh"
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
|
||||
#include "base/bitfield.hh"
|
||||
#include "base/loader/symtab.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "debug/Loader.hh"
|
||||
#include "gelf.h"
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#include <limits>
|
||||
#include <string>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/types.hh"
|
||||
|
||||
class PortProxy;
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#include <string>
|
||||
#include <vector>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/str.hh"
|
||||
#include "base/types.hh"
|
||||
#include "sim/serialize.hh"
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
* Andreas Sandberg
|
||||
*/
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
#include <array>
|
||||
|
||||
@@ -42,8 +42,8 @@
|
||||
* Andreas Sandberg
|
||||
*/
|
||||
|
||||
#ifndef __BASE_MISC_HH__
|
||||
#define __BASE_MISC_HH__
|
||||
#ifndef __BASE_LOGGING_HH__
|
||||
#define __BASE_LOGGING_HH__
|
||||
|
||||
#include <cassert>
|
||||
#include <cstdlib>
|
||||
@@ -236,8 +236,8 @@ class Logger
|
||||
} while (0)
|
||||
|
||||
/**
|
||||
* The chatty assert macro will function like a normal assert, but will allow the
|
||||
* specification of additional, helpful material to aid debugging why the
|
||||
* The chatty assert macro will function like a normal assert, but will allow
|
||||
* the specification of additional, helpful material to aid debugging why the
|
||||
* assertion actually failed. Like the normal assertion, the chatty_assert
|
||||
* will not be active in fast builds.
|
||||
*
|
||||
@@ -253,4 +253,4 @@ class Logger
|
||||
panic("assert(" # cond ") failed: %s", csprintf(__VA_ARGS__)); \
|
||||
} while (0)
|
||||
#endif // NDEBUG
|
||||
#endif // __BASE_MISC_HH__
|
||||
#endif // __BASE_LOGGING_HH__
|
||||
@@ -58,7 +58,7 @@
|
||||
#include <cstdlib>
|
||||
#include <fstream>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
@@ -51,7 +51,7 @@ extern "C"
|
||||
#include <cstdio>
|
||||
#include <cstdlib>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
const char* PngWriter::_imgExtension = "png";
|
||||
|
||||
|
||||
@@ -45,7 +45,7 @@
|
||||
#include <csignal>
|
||||
#include <cstring>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/types.hh"
|
||||
#include "sim/async.hh"
|
||||
#include "sim/core.hh"
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
#include <sstream>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "sim/serialize.hh"
|
||||
|
||||
Random::Random()
|
||||
|
||||
@@ -38,7 +38,7 @@
|
||||
|
||||
#include <cerrno>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/types.hh"
|
||||
#include "sim/byteswap.hh"
|
||||
|
||||
|
||||
@@ -40,7 +40,7 @@
|
||||
#include "base/cprintf.hh"
|
||||
#include "base/debug.hh"
|
||||
#include "base/hostinfo.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/str.hh"
|
||||
#include "base/time.hh"
|
||||
#include "base/trace.hh"
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
#include <string>
|
||||
|
||||
#include "base/cast.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/stats/info.hh"
|
||||
#include "base/str.hh"
|
||||
|
||||
|
||||
@@ -35,7 +35,7 @@
|
||||
#include <iostream>
|
||||
#include <sstream>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "config/use_posix_clock.hh"
|
||||
#include "sim/core.hh"
|
||||
#include "sim/serialize.hh"
|
||||
|
||||
@@ -42,7 +42,7 @@
|
||||
#include <string>
|
||||
|
||||
#include "base/debug.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/output.hh"
|
||||
#include "base/str.hh"
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
#include <cassert>
|
||||
|
||||
#include "base/cprintf.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/types.hh"
|
||||
|
||||
// Key has to be an integral type.
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
|
||||
#include <sys/types.h>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/output.hh"
|
||||
|
||||
#include "base/trace.hh"
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
#include <cstdio>
|
||||
|
||||
#include "base/atomicio.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/output.hh"
|
||||
#include "base/socket.hh"
|
||||
#include "base/trace.hh"
|
||||
|
||||
@@ -54,7 +54,7 @@
|
||||
#include "arch/tlb.hh"
|
||||
#include "base/cprintf.hh"
|
||||
#include "base/loader/symtab.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/output.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "cpu/checker/cpu.hh"
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
|
||||
#include <sstream>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
using namespace std;
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "params/IntrControl.hh"
|
||||
#include "sim/sim_object.hh"
|
||||
#include "sim/system.hh"
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <cassert>
|
||||
#include <cerrno>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
|
||||
KvmDevice::KvmDevice(int _fd)
|
||||
: fd(_fd)
|
||||
|
||||
@@ -50,7 +50,7 @@
|
||||
#include <csignal>
|
||||
#include <cstring>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "perfevent.hh"
|
||||
|
||||
PerfKvmCounterConfig::PerfKvmCounterConfig(uint32_t type, uint64_t config)
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
#include <csignal>
|
||||
#include <ctime>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "debug/KvmTimer.hh"
|
||||
|
||||
|
||||
@@ -50,9 +50,9 @@
|
||||
#include <queue>
|
||||
#include <sstream>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "cpu/minor/trace.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "cpu/activity.hh"
|
||||
#include "cpu/minor/trace.hh"
|
||||
#include "cpu/timebuf.hh"
|
||||
|
||||
namespace Minor
|
||||
|
||||
@@ -48,7 +48,7 @@
|
||||
#include <queue>
|
||||
#include <vector>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "cpu/o3/comm.hh"
|
||||
#include "cpu/o3/regfile.hh"
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "cpu/o3/store_set.hh"
|
||||
|
||||
#include "base/intmath.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "debug/StoreSet.hh"
|
||||
|
||||
|
||||
@@ -34,7 +34,7 @@
|
||||
|
||||
#include <vector>
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/types.hh"
|
||||
|
||||
class ThreadContext;
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#include "cpu/pred/2bit_local.hh"
|
||||
|
||||
#include "base/intmath.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "debug/Fetch.hh"
|
||||
|
||||
|
||||
@@ -32,7 +32,7 @@
|
||||
#define __CPU_PRED_BTB_HH__
|
||||
|
||||
#include "arch/types.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/types.hh"
|
||||
#include "config/the_isa.hh"
|
||||
|
||||
|
||||
@@ -41,7 +41,7 @@
|
||||
#include "cpu/pred/ltage.hh"
|
||||
|
||||
#include "base/intmath.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/random.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "debug/Fetch.hh"
|
||||
|
||||
@@ -31,7 +31,7 @@
|
||||
#ifndef __CPU_PRED_SAT_COUNTER_HH__
|
||||
#define __CPU_PRED_SAT_COUNTER_HH__
|
||||
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/types.hh"
|
||||
|
||||
/**
|
||||
|
||||
@@ -52,7 +52,7 @@
|
||||
#include "base/cprintf.hh"
|
||||
#include "base/inifile.hh"
|
||||
#include "base/loader/symtab.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/pollevent.hh"
|
||||
#include "base/trace.hh"
|
||||
#include "base/types.hh"
|
||||
|
||||
@@ -37,7 +37,7 @@
|
||||
|
||||
#include "arch/registers.hh"
|
||||
#include "arch/types.hh"
|
||||
#include "base/misc.hh"
|
||||
#include "base/logging.hh"
|
||||
#include "base/refcnt.hh"
|
||||
#include "base/types.hh"
|
||||
#include "config/the_isa.hh"
|
||||
|
||||
Some files were not shown because too many files have changed in this diff Show More
Reference in New Issue
Block a user