X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Fsrc%2Fpalacios%2Fvmm_decoder.c;h=593b038ab3fc6ba2b142af8bfd880eeeb26ede56;hb=7cdedeb7a01b51c5242cce94924f2ea246008e7d;hp=10fb2dcf7c9df55093f1e228dfd7b62ffecfa6d3;hpb=a5c5675571882a9b8a7594ef07fe303b195ef9ae;p=palacios.git diff --git a/palacios/src/palacios/vmm_decoder.c b/palacios/src/palacios/vmm_decoder.c index 10fb2dc..593b038 100644 --- a/palacios/src/palacios/vmm_decoder.c +++ b/palacios/src/palacios/vmm_decoder.c @@ -1,7 +1,27 @@ +/* + * This file is part of the Palacios Virtual Machine Monitor developed + * by the V3VEE Project with funding from the United States National + * Science Foundation and the Department of Energy. + * + * The V3VEE Project is a joint project between Northwestern University + * and the University of New Mexico. You can find out more at + * http://www.v3vee.org + * + * Copyright (c) 2008, Jack Lange + * Copyright (c) 2008, The V3VEE Project + * All rights reserved. + * + * Author: Jack Lange + * + * This is free software. You are permitted to use, + * redistribute, and modify it as specified in the file "V3VEE_LICENSE". + */ + + #include -int opcode_cmp(const uchar_t * op1, const uchar_t * op2) { +int v3_opcode_cmp(const uchar_t * op1, const uchar_t * op2) { if (op1[0] != op2[0]) { return op1[0] - op2[0];; } else { @@ -10,7 +30,7 @@ int opcode_cmp(const uchar_t * op1, const uchar_t * op2) { } -void strip_rep_prefix(uchar_t * instr, int length) { +void v3_strip_rep_prefix(uchar_t * instr, int length) { int read_ctr = 0; int write_ctr = 0; int found = 0;