Displaying 4 results from an estimated 4 matches for "max_inst_len".
Did you mean:
max_dest_len
2006 Apr 10
0
[PATCH] Fix maximum instruction length and minor code clean-up
The maximum instruction length for both x86-32 and
x86-64 is 15 bytes (including all prefixes, opcode,
ModRM, SIB, displacement, and immediate bytes).
This patch adjusts the MAX_INST_LEN to the correct
value. This should reduce the size of some variables
in the hypervisor code. This patch also does some
minor code clean-up in the vm exit handler for VMX.
This patch should apply cleanly to hg tip 9594.
Thanks.
Signed off by: Khoa Huynh (khoa@us.ibm.com)
(See attached file: max_...
2005 Nov 03
0
[PATCH] vmx-platform-vmread.patch
...S_SELECTOR, &cs);
- inst_addr = (cs << 4) + eip;
- } else
- inst_addr = eip;
+
+ vm86 = regs->eflags & X86_EFLAGS_VM;
+ if (vm86)
+ inst_addr = (regs->cs << 4) + regs->eip;
+ else
+ inst_addr = regs->eip;
memset(inst, 0, MAX_INST_LEN);
ret = inst_copy_from_guest(inst, inst_addr, inst_len);
@@ -756,7 +746,7 @@
init_instruction(&mmio_inst);
- if (vmx_decode(inst, &mmio_inst) == DECODE_failure) {
+ if (vmx_decode(vm86, inst, &mmio_inst) == DECODE_failure) {
printf("mmio opcode: va 0x%l...
2005 Apr 02
1
[PATCH] VMX support for MMIO/PIO in VM8086 mode
...ed long va, unsigned long gpa)
{
- unsigned long eip;
- unsigned long inst_len;
+ unsigned long eip, eflags, cs;
+ unsigned long inst_len, inst_addr;
struct mi_per_cpu_info *mpci_p;
struct xen_regs *inst_decoder_regs;
struct instruction mmio_inst;
unsigned char inst[MAX_INST_LEN];
- int ret;
+ int vm86, ret;
mpci_p = ¤t->arch.arch_vmx.vmx_platform.mpci;
inst_decoder_regs = mpci_p->inst_decoder_regs;
@@ -486,13 +534,30 @@
__vmread(GUEST_EIP, &eip);
__vmread(INSTRUCTION_LEN, &inst_len);
+ __vmread(GUEST_EFLAGS, &a...
2007 Mar 28
2
[PATCH 2/3] User-space grant table device - main driver
A character device for accessing (in user-space) pages that have been
granted by other domains.
Signed-off-by: Derek Murray <Derek.Murray@cl.cam.ac.uk>
_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xensource.com
http://lists.xensource.com/xen-devel