| * Definitions used by various bits of low-level assembly code on PowerPC. |
| * Copyright (C) 1995-1999 Gary Thomas, Paul Mackerras, Cort Dougan. |
| * This program is free software; you can redistribute it and/or |
| * modify it under the terms of the GNU General Public License |
| * as published by the Free Software Foundation; either version |
| * 2 of the License, or (at your option) any later version. |
| /* Condition Register Bit Fields */ |
| /* General Purpose Registers (GPRs) */ |
| tdi 0, 0, 0x48; /* Reverse endian of b . + 8 */ \ |
| b $+36; /* Skip trampoline if endian is good */ \ |
| .long 0x05009f42; /* bcl 20,31,$+4 */ \ |
| .long 0xa602487d; /* mflr r10 */ \ |
| .long 0x1c004a39; /* addi r10,r10,28 */ \ |
| .long 0xa600607d; /* mfmsr r11 */ \ |
| .long 0x01006b69; /* xori r11,r11,1 */ \ |
| .long 0xa6035a7d; /* mtsrr0 r10 */ \ |
| .long 0xa6037b7d; /* mtsrr1 r11 */ \ |
| .long 0x2400004c /* rfid */ |
| #endif /* _PPC64_PPC_ASM_H */ |