Signed-off-by: Helge Deller <[email protected]>
---
 src/fw/shadow.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/fw/shadow.c b/src/fw/shadow.c
index 4c627a8..2ea7205 100644
--- a/src/fw/shadow.c
+++ b/src/fw/shadow.c
@@ -204,5 +204,7 @@ qemu_reboot(void)
     outb(0x06, PORT_PCI_REBOOT);

     // Next try triple faulting the CPU to force a reset
+#if CONFIG_X86
     asm volatile("int3");
+#endif
 }
--
2.29.2
_______________________________________________
SeaBIOS mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to