Lines Matching +full:0 +full:x03c00000
29 #define KVM_INST_LWZ 0x80000000
30 #define KVM_INST_STW 0x90000000
31 #define KVM_INST_LD 0xe8000000
32 #define KVM_INST_STD 0xf8000000
33 #define KVM_INST_NOP 0x60000000
34 #define KVM_INST_B 0x48000000
35 #define KVM_INST_B_MASK 0x03ffffff
36 #define KVM_INST_B_MAX 0x01ffffff
37 #define KVM_INST_LI 0x38000000
39 #define KVM_MASK_RT 0x03e00000
40 #define KVM_RT_30 0x03c00000
41 #define KVM_MASK_RB 0x0000f800
42 #define KVM_INST_MFMSR 0x7c0000a6
44 #define SPR_FROM 0
45 #define SPR_TO 0x100
47 #define KVM_INST_SPR(sprn, moveto) (0x7c0002a6 | \
48 (((sprn) & 0x1f) << 16) | \
49 (((sprn) & 0x3e0) << 6) | \
55 #define KVM_INST_TLBSYNC 0x7c00046c
56 #define KVM_INST_MTMSRD_L0 0x7c000164
57 #define KVM_INST_MTMSRD_L1 0x7c010164
58 #define KVM_INST_MTMSR 0x7c000124
60 #define KVM_INST_WRTEE 0x7c000106
61 #define KVM_INST_WRTEEI_0 0x7c000146
62 #define KVM_INST_WRTEEI_1 0x7c008146
64 #define KVM_INST_MTSRIN 0x7c0001e4
80 kvm_patch_ins(inst, KVM_INST_LD | rt | (addr & 0x0000fffc)); in kvm_patch_ins_ll()
82 kvm_patch_ins(inst, KVM_INST_LWZ | rt | (addr & 0x0000fffc)); in kvm_patch_ins_ll()
89 kvm_patch_ins(inst, KVM_INST_LD | rt | (addr & 0x0000fffc)); in kvm_patch_ins_ld()
91 kvm_patch_ins(inst, KVM_INST_LWZ | rt | ((addr + 4) & 0x0000fffc)); in kvm_patch_ins_ld()
97 kvm_patch_ins(inst, KVM_INST_LWZ | rt | (addr & 0x0000ffff)); in kvm_patch_ins_lwz()
103 kvm_patch_ins(inst, KVM_INST_STD | rt | (addr & 0x0000fffc)); in kvm_patch_ins_std()
105 kvm_patch_ins(inst, KVM_INST_STW | rt | ((addr + 4) & 0x0000fffc)); in kvm_patch_ins_std()
111 kvm_patch_ins(inst, KVM_INST_STW | rt | (addr & 0x0000fffc)); in kvm_patch_ins_stw()
407 ulong in[8] = {0}; in kvm_map_magic_page()
410 in[0] = KVM_MAGIC_PAGE; in kvm_map_magic_page()
415 *features = out[0]; in kvm_map_magic_page()
630 kvm_patch_ins_wrtee(inst, inst_rt, 0); in kvm_check_ins()
653 kvm_patch_ins_wrtee(inst, 0, 1); in kvm_check_ins()
707 return 0; in kvm_guest_init()
710 return 0; in kvm_guest_init()
720 return 0; in kvm_guest_init()