faults.cc (7720:65d338a8dba4) | faults.cc (8232:b28d06a175be) |
---|---|
1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 31 unchanged lines hidden (view full) --- 40 * Authors: Gabe Black 41 */ 42 43#include "arch/x86/decoder.hh" 44#include "arch/x86/faults.hh" 45#include "base/trace.hh" 46#include "config/full_system.hh" 47#include "cpu/thread_context.hh" | 1/* 2 * Copyright (c) 2007 The Hewlett-Packard Development Company 3 * All rights reserved. 4 * 5 * The license below extends only to copyright in the software and shall 6 * not be construed as granting a license to any other intellectual 7 * property including but not limited to intellectual property relating 8 * to a hardware implementation of the functionality of the software --- 31 unchanged lines hidden (view full) --- 40 * Authors: Gabe Black 41 */ 42 43#include "arch/x86/decoder.hh" 44#include "arch/x86/faults.hh" 45#include "base/trace.hh" 46#include "config/full_system.hh" 47#include "cpu/thread_context.hh" |
48 |
|
48#if !FULL_SYSTEM 49#include "arch/x86/isa_traits.hh" 50#include "mem/page_table.hh" 51#include "sim/process.hh" 52#else 53#include "arch/x86/tlb.hh" | 49#if !FULL_SYSTEM 50#include "arch/x86/isa_traits.hh" 51#include "mem/page_table.hh" 52#include "sim/process.hh" 53#else 54#include "arch/x86/tlb.hh" |
55#include "debug/Faults.hh" |
|
54#endif 55 56namespace X86ISA 57{ 58#if FULL_SYSTEM 59 void X86FaultBase::invoke(ThreadContext * tc, StaticInstPtr inst) 60 { 61 PCState pcState = tc->pcState(); --- 234 unchanged lines hidden --- | 56#endif 57 58namespace X86ISA 59{ 60#if FULL_SYSTEM 61 void X86FaultBase::invoke(ThreadContext * tc, StaticInstPtr inst) 62 { 63 PCState pcState = tc->pcState(); --- 234 unchanged lines hidden --- |