From c66e75aa0018b99e77aba105159d75b075998e5a Mon Sep 17 00:00:00 2001 From: schulz Date: Sun, 12 Feb 2017 19:23:01 +0000 Subject: [PATCH] *enable* interrupts before waiting for hlt instruction... git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@53608 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- arch/all-pc/exec/exec_idle.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/arch/all-pc/exec/exec_idle.c b/arch/all-pc/exec/exec_idle.c index 9e3371815f..06d323f3cc 100644 --- a/arch/all-pc/exec/exec_idle.c +++ b/arch/all-pc/exec/exec_idle.c @@ -15,7 +15,7 @@ void sleep_function() { - asm volatile ("cli; hlt;"); + asm volatile ("sti; hlt;"); } void IdleTask(struct ExecBase *SysBase) -- 2.11.4.GIT