reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
939 writeBytesUnaligned(0xd2e00010, Addr, 4); // movz ip0, #:abs_g3:<addr> 940 writeBytesUnaligned(0xf2c00010, Addr+4, 4); // movk ip0, #:abs_g2_nc:<addr> 941 writeBytesUnaligned(0xf2a00010, Addr+8, 4); // movk ip0, #:abs_g1_nc:<addr> 942 writeBytesUnaligned(0xf2800010, Addr+12, 4); // movk ip0, #:abs_g0_nc:<addr> 943 writeBytesUnaligned(0xd61f0200, Addr+16, 4); // br ip0 945 return Addr; 949 writeBytesUnaligned(0xe51ff004, Addr, 4); // ldr pc, [pc, #-4] 950 return Addr + 4; 963 writeBytesUnaligned(LuiT9Instr, Addr, 4); 964 writeBytesUnaligned(AdduiT9Instr, Addr + 4, 4); 965 writeBytesUnaligned(JrT9Instr, Addr + 8, 4); 966 writeBytesUnaligned(NopInstr, Addr + 12, 4); 967 return Addr; 984 writeBytesUnaligned(LuiT9Instr, Addr, 4); 985 writeBytesUnaligned(DaddiuT9Instr, Addr + 4, 4); 986 writeBytesUnaligned(DsllT9Instr, Addr + 8, 4); 987 writeBytesUnaligned(DaddiuT9Instr, Addr + 12, 4); 988 writeBytesUnaligned(DsllT9Instr, Addr + 16, 4); 989 writeBytesUnaligned(DaddiuT9Instr, Addr + 20, 4); 990 writeBytesUnaligned(JrT9Instr, Addr + 24, 4); 991 writeBytesUnaligned(NopInstr, Addr + 28, 4); 992 return Addr; 997 writeInt32BE(Addr, 0x3D800000); // lis r12, highest(addr) 998 writeInt32BE(Addr+4, 0x618C0000); // ori r12, higher(addr) 999 writeInt32BE(Addr+8, 0x798C07C6); // sldi r12, r12, 32 1000 writeInt32BE(Addr+12, 0x658C0000); // oris r12, r12, h(addr) 1001 writeInt32BE(Addr+16, 0x618C0000); // ori r12, r12, l(addr) 1005 writeInt32BE(Addr+20, 0xF8410018); // std r2, 24(r1) 1006 writeInt32BE(Addr+24, 0x7D8903A6); // mtctr r12 1007 writeInt32BE(Addr+28, 0x4E800420); // bctr 1012 writeInt32BE(Addr+20, 0xF8410028); // std r2, 40(r1) 1013 writeInt32BE(Addr+24, 0xE96C0000); // ld r11, 0(r12) 1014 writeInt32BE(Addr+28, 0xE84C0008); // ld r2, 0(r12) 1015 writeInt32BE(Addr+32, 0x7D6903A6); // mtctr r11 1016 writeInt32BE(Addr+36, 0xE96C0010); // ld r11, 16(r2) 1017 writeInt32BE(Addr+40, 0x4E800420); // bctr 1019 return Addr; 1021 writeInt16BE(Addr, 0xC418); // lgrl %r1,.+8 1022 writeInt16BE(Addr+2, 0x0000); 1023 writeInt16BE(Addr+4, 0x0004); 1024 writeInt16BE(Addr+6, 0x07F1); // brc 15,%r1 1026 return Addr; 1028 *Addr = 0xFF; // jmp 1029 *(Addr+1) = 0x25; // rip 1032 *Addr = 0xE9; // 32-bit pc-relative jump. 1034 return Addr;