WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [PATCH]Remove duplicate constant for the instruction length.

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH]Remove duplicate constant for the instruction length.
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Wed, 31 May 2006 12:14:21 +0200
Delivery-date: Wed, 31 May 2006 03:23:20 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcaEmv3sjhZ///fKSZWKdK+yFWfPCA==
Thread-topic: [PATCH]Remove duplicate constant for the instruction length.
In svm.c there is a definition for the max size of x86 instructions
MAX_INST_SIZE - there's also one in io.h, called MAX_INST_LEN. They are
both defined to the same value, 15. This patch removes the local copy in
svm.c [it was only referenced twice anyways, everywhere else was using
the MAX_INST_LEN constant]. 

Signed off by: Mats Petersson <mats.petersson@xxxxxxx>

--
Mats

Attachment: patch.inst_size
Description: patch.inst_size

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [PATCH]Remove duplicate constant for the instruction length., Petersson, Mats <=