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); |
332} 333 |
334} 335 |
336#endif |