On Sunday 24 February 2008 16:25, Robert Millan wrote:
> On Wed, Feb 20, 2008 at 10:20:23PM +0100, Yoshinori K. Okuji wrote:
> > Anyway, I don't like the current implementation of sleep. Robert, are you
> > going to change it according to our discussion?
>
> Sorry, I was going to do that, then my t
On Wed, Feb 20, 2008 at 10:20:23PM +0100, Yoshinori K. Okuji wrote:
>
> Anyway, I don't like the current implementation of sleep. Robert, are you
> going to change it according to our discussion?
Sorry, I was going to do that, then my time completely disappeared with other
stuff. Please don't i
On Sunday 17 February 2008 15:18, Alexandre Boeglin wrote:
> I have a few issues with this on a EFI machine:
> - if I press any other key but ESC, the sleep command is not interruptible
> anymore
> - the keys I press are read when the command returns
>
> Does this happen on other machines as well
Le ven 08 fév 2008 à 17:15:35 +0100, Robert Millan a écrit :
> +static int
> +grub_interruptible_millisleep (grub_uint32_t ms)
> +{
> + grub_uint32_t end_at;
> +
> + end_at = grub_get_rtc () + grub_div_roundup (ms * GRUB_TICKS_PER_SECOND,
> 1000);
> +
> + while (grub_get_rtc () < end_at)
>
Committed.
--
Robert Millan
I know my rights; I want my phone call!
What use is a phone call… if you are unable to speak?
(as seen on /.)
___
Grub-devel mailing list
Grub-devel@gnu.org
http://lists.gnu.org/mailman/listinfo/grub-devel
A sleep command.
--
Robert Millan
I know my rights; I want my phone call!
What use is a phone call… if you are unable to speak?
(as seen on /.)
diff -x configure -x config.h.in -x CVS -x '*~' -x '*.mk' -urp -N ../grub2/commands/sleep.c ./commands/sleep.c
--- ../grub2/commands/sleep.c 1970-01-