kvm_patch_ins
kvm_patch_ins(inst, KVM_INST_STD | rt | (addr & 0x0000fffc));
kvm_patch_ins(inst, KVM_INST_STW | rt | ((addr + 4) & 0x0000fffc));
kvm_patch_ins(inst, KVM_INST_STW | rt | (addr & 0x0000fffc));
kvm_patch_ins(inst, KVM_INST_NOP);
kvm_patch_ins(inst, KVM_INST_B | (addr & KVM_INST_B_MASK));
kvm_patch_ins(inst, KVM_INST_LD | rt | (addr & 0x0000fffc));
kvm_patch_ins(inst, KVM_INST_LWZ | rt | (addr & 0x0000fffc));
kvm_patch_ins(inst, KVM_INST_LD | rt | (addr & 0x0000fffc));
kvm_patch_ins(inst, KVM_INST_LWZ | rt | ((addr + 4) & 0x0000fffc));
kvm_patch_ins(inst, KVM_INST_LWZ | rt | (addr & 0x0000ffff));