exec_context.hh (13557:fc33e6048b25) | exec_context.hh (13582:989577bf6abc) |
---|---|
1/* 2 * Copyright (c) 2014, 2016 ARM Limited 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 --- 168 unchanged lines hidden (view full) --- 177 /** @} */ 178 179 /** 180 * @{ 181 * @name Misc Register Interfaces 182 */ 183 virtual RegVal readMiscRegOperand(const StaticInst *si, int idx) = 0; 184 virtual void setMiscRegOperand(const StaticInst *si, | 1/* 2 * Copyright (c) 2014, 2016 ARM Limited 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 --- 168 unchanged lines hidden (view full) --- 177 /** @} */ 178 179 /** 180 * @{ 181 * @name Misc Register Interfaces 182 */ 183 virtual RegVal readMiscRegOperand(const StaticInst *si, int idx) = 0; 184 virtual void setMiscRegOperand(const StaticInst *si, |
185 int idx, const RegVal &val) = 0; | 185 int idx, RegVal val) = 0; |
186 187 /** 188 * Reads a miscellaneous register, handling any architectural 189 * side effects due to reading that register. 190 */ 191 virtual RegVal readMiscReg(int misc_reg) = 0; 192 193 /** 194 * Sets a miscellaneous register, handling any architectural 195 * side effects due to writing that register. 196 */ | 186 187 /** 188 * Reads a miscellaneous register, handling any architectural 189 * side effects due to reading that register. 190 */ 191 virtual RegVal readMiscReg(int misc_reg) = 0; 192 193 /** 194 * Sets a miscellaneous register, handling any architectural 195 * side effects due to writing that register. 196 */ |
197 virtual void setMiscReg(int misc_reg, const RegVal &val) = 0; | 197 virtual void setMiscReg(int misc_reg, RegVal val) = 0; |
198 199 /** @} */ 200 201 /** 202 * @{ 203 * @name PC Control 204 */ 205 virtual PCState pcState() const = 0; --- 128 unchanged lines hidden --- | 198 199 /** @} */ 200 201 /** 202 * @{ 203 * @name PC Control 204 */ 205 virtual PCState pcState() const = 0; --- 128 unchanged lines hidden --- |