JIT: Stub Break reasons 2, 3

This commit is contained in:
Stefanos Kornilios Mitsis Poiitidis committed 2021-05-03 05:42:46 +03:00
1 parent d6b7f32d33
commit 1d82e9e59e
2 files changed
+13 -1

No files matched your search

@@ -42,6 +42,12 @@ DEF_OP(Break) {
case 5: // Guest ud2
hlt(4);
break;
case 2: // overflow
hlt(4);
break;
case 3: // int 1
hlt(4);
break;
case 4: { // HLT
// Time to quit
// Set our stack to the starting stack location
@@ -37,6 +37,12 @@ DEF_OP(Break) {
case 5: // Guest ud2
ud2();
break;
case 2: // overflow
ud2();
break;
case 3: // int 1
ud2();
break;
case 4: { // HLT
// Time to quit
// Set our stack to the starting stack location
@@ -70,7 +76,7 @@ DEF_OP(Break) {
}
break;
}
//default: LOGMAN_MSG_A("Unknown Break reason: %d", Op->Reason);
default: LOGMAN_MSG_A("Unknown Break reason: %d", Op->Reason);
}
}