|
|
|
|
|
|
|
|
|
|
xen-ppc-devel
[XenPPC] [xenppc-unstable] [SVM] Remove redundant MAX_INST_SIZE definiti
# HG changeset patch
# User kfraser@xxxxxxxxxxxxxxxxxxxxxxx
# Node ID 254d5baba42c0fd3c5cb1a86207d46d3f22681e7
# Parent 94947f282fa27edb6f04252ebe547804a9fbe8e1
[SVM] Remove redundant MAX_INST_SIZE definition.
Signed off by: Mats Petersson <mats.petersson@xxxxxxx>
---
xen/arch/x86/hvm/svm/svm.c | 5 +----
1 files changed, 1 insertion(+), 4 deletions(-)
diff -r 94947f282fa2 -r 254d5baba42c xen/arch/x86/hvm/svm/svm.c
--- a/xen/arch/x86/hvm/svm/svm.c Wed May 31 13:26:10 2006 +0100
+++ b/xen/arch/x86/hvm/svm/svm.c Wed May 31 14:23:00 2006 +0100
@@ -50,9 +50,6 @@
#include <public/hvm/ioreq.h>
#define SVM_EXTRA_DEBUG
-
-/* Useful define */
-#define MAX_INST_SIZE 15
#define set_segment_register(name, value) \
__asm__ __volatile__ ( "movw %%ax ,%%" STR(name) "" : : "a" (value) )
@@ -2155,7 +2152,7 @@ void svm_handle_invlpg(const short invlp
void svm_handle_invlpg(const short invlpga, struct cpu_user_regs *regs)
{
struct vcpu *v = current;
- u8 opcode[MAX_INST_SIZE], prefix, length = MAX_INST_SIZE;
+ u8 opcode[MAX_INST_LEN], prefix, length = MAX_INST_LEN;
unsigned long g_vaddr;
int inst_len;
struct vmcb_struct *vmcb = v->arch.hvm_svm.vmcb;
_______________________________________________
Xen-ppc-devel mailing list
Xen-ppc-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-ppc-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [XenPPC] [xenppc-unstable] [SVM] Remove redundant MAX_INST_SIZE definition.,
Xen patchbot-xenppc-unstable <=
|
|
|
|
|