grub-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [PATCH] Enable grub_cpu_idle for i386 to halt the CPU


From: Robert Millan
Subject: Re: [PATCH] Enable grub_cpu_idle for i386 to halt the CPU
Date: Sat, 16 Aug 2008 14:33:17 +0200
User-agent: Mutt/1.5.13 (2006-08-11)

On Fri, Aug 15, 2008 at 10:11:09PM -0500, David Fries wrote:
> [...].  Until I have an
> application for it, I'll have to let someone else implement support
> for grub_cpu_idle.

We have 4 ports on i386.  A proper implementation of grub_cpu_idle
should work fine on all of them.  When I say "proper" I mean that
'hlt' instruction should be usable without doing strange gimmicks.

Your patch simply works around the fact that 'hlt' is broken on 32-bit by
going back to i8086 mode in order to use it.

-- 
Robert Millan

  The DRM opt-in fallacy: "Your data belongs to us. We will decide when (and
  how) you may access your data; but nobody's threatening your freedom: we
  still allow you to remove your data and not access it at all."




reply via email to

[Prev in Thread] Current Thread [Next in Thread]