| /************************************** |
| * copyright @ Motorola, 1999 |
| * This file contains two commonly used |
| * lower level utility routines. |
| * The utility routines are also in other |
| * Kahlua device driver libraries. The |
| * need to be linked in only once. |
| **************************************/ |
| /********************************************************** |
| * function: load_runtime_reg |
| * input: r3 - value of eumbbar |
| * r4 - register offset in embedded utility space |
| * output: r3 - register content |
| **********************************************************/ |
| or r5,r5,r3 /* save eumbbar */ |
| /**************************************************************** |
| * function: store_runtime_reg |
| * input: r3 - value of eumbbar |
| * r4 - register offset in embedded utility space |
| * r5 - new value to be stored |
| ****************************************************************/ |
| .global store_runtime_reg |