ipr.hh (3459:dd091092c8bb) | ipr.hh (3462:ad2989480f70) |
---|---|
1/* 2 * Copyright (c) 2003-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; --- 204 unchanged lines hidden (view full) --- 213 IPR_DC_TEST_TAG, 214 IPR_DC_TEST_TAG_TEMP, 215 IPR_DC_MODE, 216 IPR_MAF_MODE, 217 218 NumInternalProcRegs // number of IPR registers 219 }; 220 | 1/* 2 * Copyright (c) 2003-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; --- 204 unchanged lines hidden (view full) --- 213 IPR_DC_TEST_TAG, 214 IPR_DC_TEST_TAG_TEMP, 215 IPR_DC_MODE, 216 IPR_MAF_MODE, 217 218 NumInternalProcRegs // number of IPR registers 219 }; 220 |
221 inline bool IprIsWritable(int index) 222 { 223 return index < minReadOnlyIpr || index > maxReadOnlyIpr; 224 } |
|
221 | 225 |
226 inline bool IprIsReadable(int index) 227 { 228 return index < minWriteOnlyIpr || index > maxWriteOnlyIpr; 229 } 230 |
|
222 extern md_ipr_names MiscRegIndexToIpr[NumInternalProcRegs]; 223 extern int IprToMiscRegIndex[MaxInternalProcRegs]; 224 225 void initializeIprTable(); 226} 227 228#endif | 231 extern md_ipr_names MiscRegIndexToIpr[NumInternalProcRegs]; 232 extern int IprToMiscRegIndex[MaxInternalProcRegs]; 233 234 void initializeIprTable(); 235} 236 237#endif |