exec_context.hh (3454:26850ac19a39) | exec_context.hh (3468:cf23ad1ceef2) |
---|---|
1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 87 unchanged lines hidden (view full) --- 96 /** Sets the Next-NextPC. Only for architectures like SPARC or MIPS. */ 97 void setNextNPC(uint64_t val); 98 99 /** Reads a miscellaneous register. */ 100 MiscReg readMiscReg(int misc_reg); 101 102 /** Reads a miscellaneous register, handling any architectural 103 * side effects due to reading that register. */ | 1/* 2 * Copyright (c) 2002-2005 The Regents of The University of Michigan 3 * All rights reserved. 4 * 5 * Redistribution and use in source and binary forms, with or without 6 * modification, are permitted provided that the following conditions are 7 * met: redistributions of source code must retain the above copyright 8 * notice, this list of conditions and the following disclaimer; --- 87 unchanged lines hidden (view full) --- 96 /** Sets the Next-NextPC. Only for architectures like SPARC or MIPS. */ 97 void setNextNPC(uint64_t val); 98 99 /** Reads a miscellaneous register. */ 100 MiscReg readMiscReg(int misc_reg); 101 102 /** Reads a miscellaneous register, handling any architectural 103 * side effects due to reading that register. */ |
104 MiscReg readMiscRegWithEffect(int misc_reg, Fault &fault); | 104 MiscReg readMiscRegWithEffect(int misc_reg); |
105 106 /** Sets a miscellaneous register. */ | 105 106 /** Sets a miscellaneous register. */ |
107 Fault setMiscReg(int misc_reg, const MiscReg &val); | 107 void setMiscReg(int misc_reg, const MiscReg &val); |
108 109 /** Sets a miscellaneous register, handling any architectural 110 * side effects due to writing that register. */ | 108 109 /** Sets a miscellaneous register, handling any architectural 110 * side effects due to writing that register. */ |
111 Fault setMiscRegWithEffect(int misc_reg, const MiscReg &val); | 111 void setMiscRegWithEffect(int misc_reg, const MiscReg &val); |
112 113 /** Records the effective address of the instruction. Only valid 114 * for memory ops. */ 115 void setEA(Addr EA); 116 /** Returns the effective address of the instruction. Only valid 117 * for memory ops. */ 118 Addr getEA(); 119 --- 38 unchanged lines hidden --- | 112 113 /** Records the effective address of the instruction. Only valid 114 * for memory ops. */ 115 void setEA(Addr EA); 116 /** Returns the effective address of the instruction. Only valid 117 * for memory ops. */ 118 Addr getEA(); 119 --- 38 unchanged lines hidden --- |