Lines Matching defs:state
52 * - guest processor state (e.g. general purpose registers)
61 struct vmcb_state *state;
64 state = &vmcb->state;
68 seg = &state->cs;
72 seg = &state->ds;
76 seg = &state->es;
80 seg = &state->fs;
84 seg = &state->gs;
88 seg = &state->ss;
92 seg = &state->gdt;
96 seg = &state->idt;
100 seg = &state->ldt;
104 seg = &state->tr;
150 /* Invalidate all VMCB state cached by h/w. */
164 struct vmcb_state *state;
169 state = &vmcb->state;
177 *retval = state->cr0;
181 *retval = state->cr2;
185 *retval = state->cr3;
189 *retval = state->cr4;
193 *retval = state->dr6;
197 *retval = state->dr7;
201 *retval = state->efer;
205 *retval = state->rax;
209 *retval = state->rflags;
213 *retval = state->rip;
217 *retval = state->rsp;
254 struct vmcb_state *state;
259 state = &vmcb->state;
268 state->cr0 = val;
273 state->cr2 = val;
278 state->cr3 = val;
283 state->cr4 = val;
288 state->dr6 = val;
293 state->dr7 = val;
299 state->efer = val | EFER_SVM;
304 state->rax = val;
308 state->rflags = val;
312 state->rip = val;
316 state->rsp = val;