gpu_tlb.hh (13784:1941dc118243) gpu_tlb.hh (13892:0182a0601f66)
1/*
2 * Copyright (c) 2011-2015 Advanced Micro Devices, Inc.
3 * All rights reserved.
4 *
5 * For use for simulation and test purposes only
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are met:

--- 36 unchanged lines hidden (view full) ---

45#include "arch/generic/tlb.hh"
46#include "arch/x86/pagetable.hh"
47#include "arch/x86/pagetable_walker.hh"
48#include "arch/x86/regs/segment.hh"
49#include "base/callback.hh"
50#include "base/logging.hh"
51#include "base/statistics.hh"
52#include "gpu-compute/compute_unit.hh"
1/*
2 * Copyright (c) 2011-2015 Advanced Micro Devices, Inc.
3 * All rights reserved.
4 *
5 * For use for simulation and test purposes only
6 *
7 * Redistribution and use in source and binary forms, with or without
8 * modification, are permitted provided that the following conditions are met:

--- 36 unchanged lines hidden (view full) ---

45#include "arch/generic/tlb.hh"
46#include "arch/x86/pagetable.hh"
47#include "arch/x86/pagetable_walker.hh"
48#include "arch/x86/regs/segment.hh"
49#include "base/callback.hh"
50#include "base/logging.hh"
51#include "base/statistics.hh"
52#include "gpu-compute/compute_unit.hh"
53#include "mem/mem_object.hh"
54#include "mem/port.hh"
55#include "mem/request.hh"
56#include "params/X86GPUTLB.hh"
53#include "mem/port.hh"
54#include "mem/request.hh"
55#include "params/X86GPUTLB.hh"
56#include "sim/clocked_object.hh"
57#include "sim/sim_object.hh"
58
59class BaseTLB;
60class Packet;
61class ThreadContext;
62
63namespace X86ISA
64{
57#include "sim/sim_object.hh"
58
59class BaseTLB;
60class Packet;
61class ThreadContext;
62
63namespace X86ISA
64{
65 class GpuTLB : public MemObject
65 class GpuTLB : public ClockedObject
66 {
67 protected:
68 friend class Walker;
69
70 typedef std::list<TlbEntry*> EntryList;
71
72 uint32_t configAddress;
73

--- 379 unchanged lines hidden ---
66 {
67 protected:
68 friend class Walker;
69
70 typedef std::list<TlbEntry*> EntryList;
71
72 uint32_t configAddress;
73

--- 379 unchanged lines hidden ---