tlb.hh (10905:a6ca6831e775) | tlb.hh (11168:f98eb2da15a4) |
---|---|
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 --- 134 unchanged lines hidden (view full) --- 143 * @return A fault on failure, NoFault otherwise. 144 */ 145 Fault finalizePhysical(RequestPtr req, ThreadContext *tc, 146 Mode mode) const; 147 148 TlbEntry * insert(Addr vpn, TlbEntry &entry); 149 150 // Checkpointing | 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 --- 134 unchanged lines hidden (view full) --- 143 * @return A fault on failure, NoFault otherwise. 144 */ 145 Fault finalizePhysical(RequestPtr req, ThreadContext *tc, 146 Mode mode) const; 147 148 TlbEntry * insert(Addr vpn, TlbEntry &entry); 149 150 // Checkpointing |
151 void serialize(CheckpointOut &cp) const M5_ATTR_OVERRIDE; 152 void unserialize(CheckpointIn &cp) M5_ATTR_OVERRIDE; | 151 void serialize(CheckpointOut &cp) const override; 152 void unserialize(CheckpointIn &cp) override; |
153 154 /** 155 * Get the table walker master port. This is used for 156 * migrating port connections during a CPU takeOverFrom() 157 * call. For architectures that do not have a table walker, 158 * NULL is returned, hence the use of a pointer rather than a 159 * reference. For X86 this method will always return a valid 160 * port pointer. 161 * 162 * @return A pointer to the walker master port 163 */ 164 virtual BaseMasterPort *getMasterPort(); 165 }; 166} 167 168#endif // __ARCH_X86_TLB_HH__ | 153 154 /** 155 * Get the table walker master port. This is used for 156 * migrating port connections during a CPU takeOverFrom() 157 * call. For architectures that do not have a table walker, 158 * NULL is returned, hence the use of a pointer rather than a 159 * reference. For X86 this method will always return a valid 160 * port pointer. 161 * 162 * @return A pointer to the walker master port 163 */ 164 virtual BaseMasterPort *getMasterPort(); 165 }; 166} 167 168#endif // __ARCH_X86_TLB_HH__ |