Lines Matching refs:input

72 	struct hv_enable_vp_vtl *input;
96 input = *this_cpu_ptr(hyperv_pcpu_input_arg);
97 memset(input, 0, sizeof(*input));
99 input->partition_id = HV_PARTITION_ID_SELF;
100 input->vp_index = target_vp_index;
101 input->target_vtl.target_vtl = HV_VTL_MGMT;
117 input->vp_context.rip = rip;
118 input->vp_context.rsp = rsp;
119 input->vp_context.rflags = 0x0000000000000002;
120 input->vp_context.efer = __rdmsr(MSR_EFER);
121 input->vp_context.cr0 = native_read_cr0();
122 input->vp_context.cr3 = __native_read_cr3();
123 input->vp_context.cr4 = native_read_cr4();
124 input->vp_context.msr_cr_pat = __rdmsr(MSR_IA32_CR_PAT);
125 input->vp_context.idtr.limit = idt_ptr.size;
126 input->vp_context.idtr.base = idt_ptr.address;
127 input->vp_context.gdtr.limit = gdt_ptr.size;
128 input->vp_context.gdtr.base = gdt_ptr.address;
131 input->vp_context.cs.selector = __KERNEL_CS;
132 input->vp_context.cs.base = 0;
133 input->vp_context.cs.limit = 0xffffffff;
134 input->vp_context.cs.attributes = 0xa09b;
136 input->vp_context.ss.selector = __KERNEL_DS;
137 input->vp_context.ss.base = 0;
138 input->vp_context.ss.limit = 0xffffffff;
139 input->vp_context.ss.attributes = 0xc093;
142 input->vp_context.ldtr.selector = GDT_ENTRY_LDT * 8;
143 input->vp_context.ldtr.base = hv_vtl_system_desc_base(ldt);
144 input->vp_context.ldtr.limit = hv_vtl_system_desc_limit(ldt);
145 input->vp_context.ldtr.attributes = 0x82;
148 input->vp_context.tr.selector = GDT_ENTRY_TSS * 8;
149 input->vp_context.tr.base = hv_vtl_system_desc_base(tss);
150 input->vp_context.tr.limit = hv_vtl_system_desc_limit(tss);
151 input->vp_context.tr.attributes = 0x8b;
153 status = hv_do_hypercall(HVCALL_ENABLE_VP_VTL, input, NULL);
163 status = hv_do_hypercall(HVCALL_START_VP, input, NULL);
182 struct hv_get_vp_from_apic_id_in *input;
187 input = *this_cpu_ptr(hyperv_pcpu_input_arg);
188 memset(input, 0, sizeof(*input));
189 input->partition_id = HV_PARTITION_ID_SELF;
190 input->apic_ids[0] = apic_id;
192 output = (u32 *)input;
195 status = hv_do_hypercall(control, input, output);