tlb.hh (5245:d94bb8af9f76) tlb.hh (5357:eecb5fd0be62)
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

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

85
86 class TLB : public SimObject
87 {
88 protected:
89 friend class FakeITLBFault;
90 friend class FakeDTLBFault;
91
92 bool _allowNX;
1/*
2 * Copyright (c) 2007 The Hewlett-Packard Development Company
3 * All rights reserved.
4 *
5 * Redistribution and use of this software in source and binary forms,
6 * with or without modification, are permitted provided that the
7 * following conditions are met:
8 *

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

85
86 class TLB : public SimObject
87 {
88 protected:
89 friend class FakeITLBFault;
90 friend class FakeDTLBFault;
91
92 bool _allowNX;
93 uint32_t configAddress;
93
94 public:
95 bool allowNX() const
96 {
97 return _allowNX;
98 }
99
100 typedef X86TLBParams Params;
101 TLB(const Params *p);
102
103 void dumpAll();
104
105 TlbEntry *lookup(Addr va, bool update_lru = true);
106
94
95 public:
96 bool allowNX() const
97 {
98 return _allowNX;
99 }
100
101 typedef X86TLBParams Params;
102 TLB(const Params *p);
103
104 void dumpAll();
105
106 TlbEntry *lookup(Addr va, bool update_lru = true);
107
108 void setConfigAddress(uint32_t addr);
109
107#if FULL_SYSTEM
108 protected:
109
110 Walker * walker;
111
112 void walk(ThreadContext * _tc, Addr vaddr);
113#endif
114

--- 64 unchanged lines hidden ---
110#if FULL_SYSTEM
111 protected:
112
113 Walker * walker;
114
115 void walk(ThreadContext * _tc, Addr vaddr);
116#endif
117

--- 64 unchanged lines hidden ---