X-Git-Url: http://v3vee.org/palacios/gitweb/gitweb.cgi?a=blobdiff_plain;f=palacios%2Finclude%2Fpalacios%2Fvmm_instr_decoder.h;h=6ed6ba0232a7d6b70b9820534f84a94351dfea83;hb=7d80144eeb8dc7f5bb48975a7d7ab0d3b126d795;hp=d690af9ccbaa0ce59e8cfa853f7bb7cdebb3c8fd;hpb=3db6f4c76bd6412d0154b7693c1516d792486b13;p=palacios-OLD.git diff --git a/palacios/include/palacios/vmm_instr_decoder.h b/palacios/include/palacios/vmm_instr_decoder.h index d690af9..6ed6ba0 100644 --- a/palacios/include/palacios/vmm_instr_decoder.h +++ b/palacios/include/palacios/vmm_instr_decoder.h @@ -28,7 +28,7 @@ typedef enum { SMSW, CLTS, INVLPG, - INT, // KCH: adding software interrupts + INT, MOV_CR2, MOV_2CR, @@ -311,7 +311,7 @@ static int get_operand_width(struct guest_info * info, struct x86_instr * instr, return -1; } - case INT: // KCH + case INT: case MOV_DR2: case MOV_2DR: case MOV_CR2: @@ -1332,10 +1332,9 @@ static op_form_t op_code_to_form(uint8_t * instr, int * length) { case 0xf4: return HLT; - - // KCH - case 0xcd: - return INT; + + case 0xcd: + return INT; case 0xf6: { struct modrm_byte * modrm = (struct modrm_byte *)&(instr[1]); @@ -1498,7 +1497,7 @@ static char * op_form_to_str(op_form_t form) { case SETO: return "SETO"; case STOS_8: return "STOS_8"; case STOS: return "STOS"; - case INT: return "INT"; // KCH + case INT: return "INT"; case INVALID_INSTR: default: