search for: host_idt

Displaying 4 results from an estimated 4 matches for "host_idt".

Did you mean: host_id
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 05/13] asm-offsets update
...) + ENTRY(vcpu); + ENTRY(debug); + ENTRY(magic); + ENTRY(guest_syscall); + ENTRY(host_stack); + ENTRY(host_cr3); + ENTRY(host_gs_a); + ENTRY(host_gs_d); + ENTRY(host_proc_gs_a); + ENTRY(host_proc_gs_d); + ENTRY(guest_gs_a); + ENTRY(guest_gs_d); + ENTRY(gdt); + ENTRY(idt); + ENTRY(host_gdt); + ENTRY(host_idt); + ENTRY(host_gdt_ptr); + ENTRY(gdt_table); + DEFINE(LGUEST_VCPU_trapnum, offsetof(struct lguest_vcpu, regs.trapnum)); + DEFINE(LGUEST_VCPU_errcode, offsetof(struct lguest_vcpu, regs.errcode)); + DEFINE(LGUEST_VCPU_rflags, offsetof(struct lguest_vcpu, regs.rflags)); + DEFINE(LGUEST_VCPU_host_idt_a...
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 05/13] asm-offsets update
...) + ENTRY(vcpu); + ENTRY(debug); + ENTRY(magic); + ENTRY(guest_syscall); + ENTRY(host_stack); + ENTRY(host_cr3); + ENTRY(host_gs_a); + ENTRY(host_gs_d); + ENTRY(host_proc_gs_a); + ENTRY(host_proc_gs_d); + ENTRY(guest_gs_a); + ENTRY(guest_gs_d); + ENTRY(gdt); + ENTRY(idt); + ENTRY(host_gdt); + ENTRY(host_idt); + ENTRY(host_gdt_ptr); + ENTRY(gdt_table); + DEFINE(LGUEST_VCPU_trapnum, offsetof(struct lguest_vcpu, regs.trapnum)); + DEFINE(LGUEST_VCPU_errcode, offsetof(struct lguest_vcpu, regs.errcode)); + DEFINE(LGUEST_VCPU_rflags, offsetof(struct lguest_vcpu, regs.rflags)); + DEFINE(LGUEST_VCPU_host_idt_a...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...* keep a pointer to the host GDT tss address. + * Do this after disabling interrupts to make sure we + * are on the same CPU. + */ + gdt_table = cpu_gdt(smp_processor_id()); + vcpu->host_gdt_ptr = (unsigned long)gdt_table; + asm volatile ("sidt %0" : "=m"(vcpu->host_idt)); + + /* Even if *we* don't want FPU trap, guest might... */ + if (vcpu->ts) + stts(); + + run_guest_once(vcpu); + + if (regs->trapnum == 14) { + SAVE_CR2(cr2); + lgdebug_print("faulting cr2: %lx\n",cr2); + } + + else if (regs->trapnum == 7) + math_state_restor...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...* keep a pointer to the host GDT tss address. + * Do this after disabling interrupts to make sure we + * are on the same CPU. + */ + gdt_table = cpu_gdt(smp_processor_id()); + vcpu->host_gdt_ptr = (unsigned long)gdt_table; + asm volatile ("sidt %0" : "=m"(vcpu->host_idt)); + + /* Even if *we* don't want FPU trap, guest might... */ + if (vcpu->ts) + stts(); + + run_guest_once(vcpu); + + if (regs->trapnum == 14) { + SAVE_CR2(cr2); + lgdebug_print("faulting cr2: %lx\n",cr2); + } + + else if (regs->trapnum == 7) + math_state_restor...