[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [PATCH] Fix maximum instruction length and minor code clean-up


  • To: <xen-devel@xxxxxxxxxxxxxxxxxxx>
  • From: Khoa Huynh <khoa@xxxxxxxxxx>
  • Date: Mon, 10 Apr 2006 18:34:38 -0400
  • Delivery-date: Mon, 10 Apr 2006 15:35:32 -0700
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

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@xxxxxxxxxx)

(See attached file: max_inst_len.patch)

Regards,
Khoa

Attachment: max_inst_len.patch
Description: Binary data

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.