From 40b0db4162eea647af7315d2946fdfc170819cca Mon Sep 17 00:00:00 2001 From: OBattler Date: Mon, 7 Jun 2021 00:07:27 +0200 Subject: [PATCH] And another CPU change. --- src/cpu/x86_ops_misc.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/src/cpu/x86_ops_misc.h b/src/cpu/x86_ops_misc.h index a64a3edbb..a6e7e9193 100644 --- a/src/cpu/x86_ops_misc.h +++ b/src/cpu/x86_ops_misc.h @@ -627,6 +627,9 @@ static int opHLT(uint32_t fetchdat) CPU_BLOCK_END(); PREFETCH_RUN(100, 1, -1, 0,0,0,0, 0); + if (hlt_reset_pending) + softresetx86(); + return 0; }