tlb.hh (9423:43caa4ca5979) | tlb.hh (9738:304a37519d11) |
---|---|
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 --- 115 unchanged lines hidden (view full) --- 124 Fault translateAtomic(RequestPtr req, ThreadContext *tc, Mode mode); 125 void translateTiming(RequestPtr req, ThreadContext *tc, 126 Translation *translation, Mode mode); 127 /** Stub function for compilation support of CheckerCPU. x86 ISA does 128 * not support Checker model at the moment 129 */ 130 Fault translateFunctional(RequestPtr req, ThreadContext *tc, Mode mode); 131 | 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 --- 115 unchanged lines hidden (view full) --- 124 Fault translateAtomic(RequestPtr req, ThreadContext *tc, Mode mode); 125 void translateTiming(RequestPtr req, ThreadContext *tc, 126 Translation *translation, Mode mode); 127 /** Stub function for compilation support of CheckerCPU. x86 ISA does 128 * not support Checker model at the moment 129 */ 130 Fault translateFunctional(RequestPtr req, ThreadContext *tc, Mode mode); 131 |
132 /** 133 * Do post-translation physical address finalization. 134 * 135 * Some addresses, for example requests going to the APIC, 136 * need post-translation updates. Such physical addresses are 137 * remapped into a "magic" part of the physical address space 138 * by this method. 139 * 140 * @param req Request to updated in-place. 141 * @param tc Thread context that created the request. 142 * @param mode Request type (read/write/execute). 143 * @return A fault on failure, NoFault otherwise. 144 */ 145 Fault finalizePhysical(RequestPtr req, ThreadContext *tc, 146 Mode mode) const; 147 |
|
132 TlbEntry * insert(Addr vpn, TlbEntry &entry); 133 134 // Checkpointing 135 virtual void serialize(std::ostream &os); 136 virtual void unserialize(Checkpoint *cp, const std::string §ion); 137 138 /** 139 * Get the table walker master port. This is used for --- 13 unchanged lines hidden --- | 148 TlbEntry * insert(Addr vpn, TlbEntry &entry); 149 150 // Checkpointing 151 virtual void serialize(std::ostream &os); 152 virtual void unserialize(Checkpoint *cp, const std::string §ion); 153 154 /** 155 * Get the table walker master port. This is used for --- 13 unchanged lines hidden --- |