search for: host_gdt

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

Did you mean: boot_gdt
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 05/13] asm-offsets update
...lguest_vcpu, entry)) + 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(LGU...
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 05/13] asm-offsets update
...lguest_vcpu, entry)) + 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(LGU...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...pu); + + try_to_freeze(); + + if (linfo->dead) + return -1; + + + local_irq_disable(); + + /* + * 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_pri...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...pu); + + try_to_freeze(); + + if (linfo->dead) + return -1; + + + local_irq_disable(); + + /* + * 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_pri...