isa.hh (6313:95f69a436c82) | isa.hh (6331:d947798df4a1) |
---|---|
1/* 2 * Copyright (c) 2009 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; --- 31 unchanged lines hidden (view full) --- 40namespace SparcISA 41{ 42 class ISA 43 { 44 protected: 45 MiscRegFile miscRegFile; 46 47 public: | 1/* 2 * Copyright (c) 2009 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; --- 31 unchanged lines hidden (view full) --- 40namespace SparcISA 41{ 42 class ISA 43 { 44 protected: 45 MiscRegFile miscRegFile; 46 47 public: |
48 49 int instAsid() 50 { 51 return miscRegFile.getInstAsid(); 52 } 53 54 int dataAsid() 55 { 56 return miscRegFile.getDataAsid(); 57 } 58 | |
59 void clear(); 60 61 MiscReg readMiscRegNoEffect(int miscReg); 62 MiscReg readMiscReg(int miscReg, ThreadContext *tc); 63 64 void setMiscRegNoEffect(int miscReg, const MiscReg val); 65 void setMiscReg(int miscReg, const MiscReg val, 66 ThreadContext *tc); --- 21 unchanged lines hidden --- | 48 void clear(); 49 50 MiscReg readMiscRegNoEffect(int miscReg); 51 MiscReg readMiscReg(int miscReg, ThreadContext *tc); 52 53 void setMiscRegNoEffect(int miscReg, const MiscReg val); 54 void setMiscReg(int miscReg, const MiscReg val, 55 ThreadContext *tc); --- 21 unchanged lines hidden --- |