commit | ad21b8d1f11dec2e8107f19798cdc18e96f1b36e | [log] [tgz] |
---|---|---|
author | Corey Tabaka <corey.tabaka@gmail.com> | Fri Apr 03 15:34:38 2009 -0400 |
committer | Ajay Dudani <adudani@codeaurora.org> | Thu Jul 28 12:04:09 2011 -0700 |
tree | c54118f1956c3188c43383f001b826f035e17f33 | |
parent | b0bd183e7f2a5bb4afb645abc138bf04564977c3 [diff] [blame] |
Minor cleanup and a hack to idle the cpu in getc loops.
diff --git a/arch/x86/ops.S b/arch/x86/ops.S index 17c08ae..9a97948 100644 --- a/arch/x86/ops.S +++ b/arch/x86/ops.S
@@ -80,7 +80,13 @@ /* void arch_idle(); */ FUNCTION(arch_idle) + pushf + popl %eax + andl $0x200, %eax + test %eax, %eax + je 1f /* don't halt if local interrupts are disabled */ hlt +1: ret /* void arch_switch_stacks_and_call(addr_t call, addr_t stack) */