grub-devel
[Top][All Lists]
Advanced

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

Re: [PATCH] fix GRUB_TICKS_PER_SECOND in include/grub/efi/time.h


From: Alexandre Boeglin
Subject: Re: [PATCH] fix GRUB_TICKS_PER_SECOND in include/grub/efi/time.h
Date: Thu, 21 Feb 2008 19:53:48 +0100
User-agent: Mutt/1.5.17+20080114 (2008-01-14)

Le dim 17 fév 2008 à 15:55:14 +0100, Alexandre Boeglin a écrit :
> This one seems to work (returning unix time), but I don't know if it's
> acceptable.

Hi, here is the candidate for inclusion, including Changelog.

It has a resolution of 1 second, which is OK I think, as afaik grub_get_rtc is
only used to display timeout counters.

And my machine, for example, does not even report more precise information
(the struct returned by the EFI call has a nanosecond member, but it's content
is always 0) ...

And for more precise time related operations, EFI offers a stall() call, which
takes a number of microseconds as a parameters, IIRC.


Any objection ?

Alex

Attachment: grub2_efitime.patch
Description: Text Data


reply via email to

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