search for: host_gs_a

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

Did you mean: host_gs_d
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 05/13] asm-offsets update
...id) ENTRY(read_cr2); ENTRY(swapgs); #endif + +#ifdef CONFIG_LGUEST_GUEST +#undef ENTRY +#define ENTRY(entry) DEFINE(LGUEST_VCPU_ ##entry, offsetof(struct 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)); +...
2007 Apr 18
0
[RFC/PATCH LGUEST X86_64 05/13] asm-offsets update
...id) ENTRY(read_cr2); ENTRY(swapgs); #endif + +#ifdef CONFIG_LGUEST_GUEST +#undef ENTRY +#define ENTRY(entry) DEFINE(LGUEST_VCPU_ ##entry, offsetof(struct 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)); +...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...f signalizing we're + * running guest code */ + movq %rdi, %gs:pda_vcpu + + /* save this host's gdt and idt */ + sgdt LGUEST_VCPU_host_gdt(%rdi) + sidt LGUEST_VCPU_host_idt(%rdi) + + /* Save the gs base of the host (for nmi use) */ + movl $MSR_GS_BASE, %ecx + rdmsr + movq %rax, LGUEST_VCPU_host_gs_a(%rdi) + movq %rdx, LGUEST_VCPU_host_gs_d(%rdi) + + /* Save the host proc gs pointer */ + movl $MSR_KERNEL_GS_BASE, %ecx + rdmsr + movq %rax, LGUEST_VCPU_host_proc_gs_a(%rdi) + movq %rdx, LGUEST_VCPU_host_proc_gs_d(%rdi) + + /* save the hosts page tables */ + movq %cr3, %rax + movq %rax, LGUEST_VCPU...
2007 Apr 18
1
[RFC/PATCH LGUEST X86_64 03/13] lguest64 core
...f signalizing we're + * running guest code */ + movq %rdi, %gs:pda_vcpu + + /* save this host's gdt and idt */ + sgdt LGUEST_VCPU_host_gdt(%rdi) + sidt LGUEST_VCPU_host_idt(%rdi) + + /* Save the gs base of the host (for nmi use) */ + movl $MSR_GS_BASE, %ecx + rdmsr + movq %rax, LGUEST_VCPU_host_gs_a(%rdi) + movq %rdx, LGUEST_VCPU_host_gs_d(%rdi) + + /* Save the host proc gs pointer */ + movl $MSR_KERNEL_GS_BASE, %ecx + rdmsr + movq %rax, LGUEST_VCPU_host_proc_gs_a(%rdi) + movq %rdx, LGUEST_VCPU_host_proc_gs_d(%rdi) + + /* save the hosts page tables */ + movq %cr3, %rax + movq %rax, LGUEST_VCPU...