| 1212 | |
| 1213 | #ifdef BOXEDWINE_HOST_EXCEPTIONS |
| 1214 | void* CPU::startException(U32 address, bool readAddress) { |
| 1215 | if (this->thread->terminating) { |
| 1216 | return this->thread->process->blockExit; |
| 1217 | } |
| 1218 | if (this->inException) { |
| 1219 | this->thread->seg_mapper(address, readAddress, !readAddress, false); |
| 1220 | this->nextOp = getNextOp(); |
| 1221 | } |
| 1222 | return 0; |
| 1223 | } |
| 1224 | |
| 1225 | void* CPU::handleAccessException(DecodedOp* op) { |
| 1226 | if (op->exceptionCount < MAX_OP_EXCEPTION_COUNT) { |
no test coverage detected