search for: idtr_limit

Displaying 12 results from an estimated 12 matches for "idtr_limit".

Did you mean: gdtr_limit
2007 Jan 11
6
[PATCH 4/8] HVM save restore: vcpu context support
...3; + c->cr4 = v->arch.hvm_vmx.cpu_shadow_cr4; + +#ifdef HVM_DEBUG_SUSPEND + printk("vmx_vmcs_save: cr3=0x%"PRIx64", cr0=0x%"PRIx64", cr4=0x%"PRIx64".\n", + c->cr3, + c->cr0, + c->cr4); +#endif + + c->idtr_limit = __vmread(GUEST_IDTR_LIMIT); + c->idtr_base = __vmread(GUEST_IDTR_BASE); + + c->gdtr_limit = __vmread(GUEST_GDTR_LIMIT); + c->gdtr_base = __vmread(GUEST_GDTR_BASE); + + c->cs_sel = __vmread(GUEST_CS_SELECTOR); + c->cs_limit = __vmread(GUEST_CS_LIMIT); + c->cs_ba...
2005 Apr 19
0
[PATCH][1/5] x86-64-eax.patch
...error |= __vmwrite(HOST_GS_BASE, host_env->ds_base); /* Debug */ - __asm__ __volatile__ ("sidt (%%eax) \n" :: "a"(&desc) : "memory"); + __asm__ __volatile__ ("sidt (%0) \n" :: "a"(&desc) : "memory"); host_env->idtr_limit = desc.size; host_env->idtr_base = desc.address; error |= __vmwrite(HOST_IDTR_BASE, host_env->idtr_base); _______________________________________________ Xen-devel mailing list Xen-devel@lists.xensource.com http://lists.xensource.com/xen-devel
2007 Apr 18
4
[RFC, PATCH 3/24] i386 Vmi interface definition
...T32 esp; + VMI_UINT32 ebp; + VMI_UINT32 esi; + VMI_UINT32 edi; + VMI_UINT16 cs; + VMI_UINT16 ss; + VMI_UINT16 ds; + VMI_UINT16 es; + VMI_UINT16 fs; + VMI_UINT16 gs; + VMI_UINT16 ldtr; + + VMI_UINT16 gdtr_limit; + VMI_UINT32 gdtr_base; + VMI_UINT32 idtr_base; + VMI_UINT16 idtr_limit; +} APState; + +// Historical 3.X revisions +//#define MIN_VMI_API_REV_MINOR 1 /* GetFlags_CLI is used */ +//#define MIN_VMI_API_REV_MINOR 2 /* STI_SYSEXIT is used */ +//#define MIN_VMI_API_REV_MINOR 3 /* IN/OUT are used */ +//#define MIN_VMI_API_REV_MINOR 4 /* Defer...
2007 Apr 18
4
[RFC, PATCH 3/24] i386 Vmi interface definition
...T32 esp; + VMI_UINT32 ebp; + VMI_UINT32 esi; + VMI_UINT32 edi; + VMI_UINT16 cs; + VMI_UINT16 ss; + VMI_UINT16 ds; + VMI_UINT16 es; + VMI_UINT16 fs; + VMI_UINT16 gs; + VMI_UINT16 ldtr; + + VMI_UINT16 gdtr_limit; + VMI_UINT32 gdtr_base; + VMI_UINT32 idtr_base; + VMI_UINT16 idtr_limit; +} APState; + +// Historical 3.X revisions +//#define MIN_VMI_API_REV_MINOR 1 /* GetFlags_CLI is used */ +//#define MIN_VMI_API_REV_MINOR 2 /* STI_SYSEXIT is used */ +//#define MIN_VMI_API_REV_MINOR 3 /* IN/OUT are used */ +//#define MIN_VMI_API_REV_MINOR 4 /* Defer...
2007 Apr 18
2
[RFC, PATCH 9/24] i386 Vmi smp support
...up AP's per-cpu GDT. */ + memcpy(get_cpu_gdt_table(phys_apicid), cpu_gdt_table, + GDT_SIZE); + ap.gdtr_limit = GDT_SIZE - 1; + ap.gdtr_base = (unsigned long) get_cpu_gdt_table(phys_apicid); + + ap.idtr_limit = IDT_ENTRIES * 8 - 1; + ap.idtr_base = (unsigned long) idt_table; + + ap.ldtr = 0; + + ap.cs = __KERNEL_CS; + ap.eip = (unsigned long) start_eip; + ap.ss = __KERNEL_DS; + ap.esp = (unsigned lo...
2007 Apr 18
2
[RFC, PATCH 9/24] i386 Vmi smp support
...up AP's per-cpu GDT. */ + memcpy(get_cpu_gdt_table(phys_apicid), cpu_gdt_table, + GDT_SIZE); + ap.gdtr_limit = GDT_SIZE - 1; + ap.gdtr_base = (unsigned long) get_cpu_gdt_table(phys_apicid); + + ap.idtr_limit = IDT_ENTRIES * 8 - 1; + ap.idtr_base = (unsigned long) idt_table; + + ap.ldtr = 0; + + ap.cs = __KERNEL_CS; + ap.eip = (unsigned long) start_eip; + ap.ss = __KERNEL_DS; + ap.esp = (unsigned lo...
2007 Apr 18
0
[PATCH 4/5] Vmi.patch
...nt phys_apicid, unsigned long start_eip, + unsigned long start_esp) +{ + /* Default everything to zero. This is fine for most GPRs. */ + memset(&ap, 0, sizeof(struct vmi_ap_state)); + + ap.gdtr_limit = GDT_SIZE - 1; + ap.gdtr_base = (unsigned long) get_cpu_gdt_table(phys_apicid); + + ap.idtr_limit = IDT_ENTRIES * 8 - 1; + ap.idtr_base = (unsigned long) idt_table; + + ap.ldtr = 0; + + ap.cs = __KERNEL_CS; + ap.eip = (unsigned long) start_eip; + ap.ss = __KERNEL_DS; + ap.esp = (unsigned long) start_esp; + + ap.ds = __USER_DS; + ap.es = __USER_DS; + ap.fs = 0; + ap.gs = __KERNEL_PDA; + + ap....
2007 Apr 18
0
[PATCH 4/5] Vmi.patch
...nt phys_apicid, unsigned long start_eip, + unsigned long start_esp) +{ + /* Default everything to zero. This is fine for most GPRs. */ + memset(&ap, 0, sizeof(struct vmi_ap_state)); + + ap.gdtr_limit = GDT_SIZE - 1; + ap.gdtr_base = (unsigned long) get_cpu_gdt_table(phys_apicid); + + ap.idtr_limit = IDT_ENTRIES * 8 - 1; + ap.idtr_base = (unsigned long) idt_table; + + ap.ldtr = 0; + + ap.cs = __KERNEL_CS; + ap.eip = (unsigned long) start_eip; + ap.ss = __KERNEL_DS; + ap.esp = (unsigned long) start_esp; + + ap.ds = __USER_DS; + ap.es = __USER_DS; + ap.fs = 0; + ap.gs = __KERNEL_PDA; + + ap....
2007 Apr 18
0
[PATCH 5/6] VMI backend for paravirt-ops
...nt phys_apicid, unsigned long start_eip, + unsigned long start_esp) +{ + /* Default everything to zero. This is fine for most GPRs. */ + memset(&ap, 0, sizeof(struct vmi_ap_state)); + + ap.gdtr_limit = GDT_SIZE - 1; + ap.gdtr_base = (unsigned long) get_cpu_gdt_table(phys_apicid); + + ap.idtr_limit = IDT_ENTRIES * 8 - 1; + ap.idtr_base = (unsigned long) idt_table; + + ap.ldtr = 0; + + ap.cs = __KERNEL_CS; + ap.eip = (unsigned long) start_eip; + ap.ss = __KERNEL_DS; + ap.esp = (unsigned long) start_esp; + + ap.ds = __USER_DS; + ap.es = __USER_DS; + ap.fs = 0; + ap.gs = __KERNEL_PDA; + + ap....
2007 Apr 18
0
[PATCH 5/6] VMI backend for paravirt-ops
...nt phys_apicid, unsigned long start_eip, + unsigned long start_esp) +{ + /* Default everything to zero. This is fine for most GPRs. */ + memset(&ap, 0, sizeof(struct vmi_ap_state)); + + ap.gdtr_limit = GDT_SIZE - 1; + ap.gdtr_base = (unsigned long) get_cpu_gdt_table(phys_apicid); + + ap.idtr_limit = IDT_ENTRIES * 8 - 1; + ap.idtr_base = (unsigned long) idt_table; + + ap.ldtr = 0; + + ap.cs = __KERNEL_CS; + ap.eip = (unsigned long) start_eip; + ap.ss = __KERNEL_DS; + ap.esp = (unsigned long) start_esp; + + ap.ds = __USER_DS; + ap.es = __USER_DS; + ap.fs = 0; + ap.gs = __KERNEL_PDA; + + ap....
2010 Aug 23
1
Removing VMI kernel support from 2.6.37
...cr0; - u32 cr2; - u32 cr3; - u32 cr4; - - u64 efer; - - u32 eip; - u32 eflags; - u32 eax; - u32 ebx; - u32 ecx; - u32 edx; - u32 esp; - u32 ebp; - u32 esi; - u32 edi; - u16 cs; - u16 ss; - u16 ds; - u16 es; - u16 fs; - u16 gs; - u16 ldtr; - - u16 gdtr_limit; - u32 gdtr_base; - u32 idtr_base; - u16 idtr_limit; -}; - -#endif Index: linux-tip-master/arch/x86/include/asm/vmi_time.h =================================================================== --- linux-tip-master.orig/arch/x86/include/asm/vmi_time.h 2009-09-21 14:50:04.000000000 -0700 +++ /dev/null 1970-01-01 00:00:00.000000000 +0000 @@ -1,98 +0,0 @@...
2010 Aug 23
1
Removing VMI kernel support from 2.6.37
...cr0; - u32 cr2; - u32 cr3; - u32 cr4; - - u64 efer; - - u32 eip; - u32 eflags; - u32 eax; - u32 ebx; - u32 ecx; - u32 edx; - u32 esp; - u32 ebp; - u32 esi; - u32 edi; - u16 cs; - u16 ss; - u16 ds; - u16 es; - u16 fs; - u16 gs; - u16 ldtr; - - u16 gdtr_limit; - u32 gdtr_base; - u32 idtr_base; - u16 idtr_limit; -}; - -#endif Index: linux-tip-master/arch/x86/include/asm/vmi_time.h =================================================================== --- linux-tip-master.orig/arch/x86/include/asm/vmi_time.h 2009-09-21 14:50:04.000000000 -0700 +++ /dev/null 1970-01-01 00:00:00.000000000 +0000 @@ -1,98 +0,0 @@...