intregs.hh (6724:70129fdded75) | intregs.hh (6726:a5322e816a2a) |
---|---|
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; --- 310 unchanged lines hidden (view full) --- 319 320static inline IntRegIndex 321INTREG_FIQ(unsigned index) 322{ 323 assert(index < NUM_ARCH_INTREGS); 324 return IntRegFiqMap[index]; 325} 326 | 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; --- 310 unchanged lines hidden (view full) --- 319 320static inline IntRegIndex 321INTREG_FIQ(unsigned index) 322{ 323 assert(index < NUM_ARCH_INTREGS); 324 return IntRegFiqMap[index]; 325} 326 |
327static inline IntRegIndex 328intRegForceUser(unsigned index) 329{ 330 assert(index < NUM_ARCH_INTREGS); 331 return (IntRegIndex)(index + NUM_INTREGS); |
|
327} 328 | 332} 333 |
334} 335 |
|
329#endif | 336#endif |