Set EFI ticks to 1000Hz simplifying much of the code and avoiding cotsly division
This commit is contained in:
parent
a988e7aa63
commit
7216a1bff3
3 changed files with 12 additions and 8 deletions
|
@ -21,8 +21,7 @@
|
|||
|
||||
#include <grub/symbol.h>
|
||||
|
||||
/* This is destined to overflow when one hour passes by. */
|
||||
#define GRUB_TICKS_PER_SECOND ((1UL << 31) / 60 / 60 * 2)
|
||||
#define GRUB_TICKS_PER_SECOND 1000
|
||||
|
||||
/* Return the real time in ticks. */
|
||||
grub_uint32_t EXPORT_FUNC (grub_get_rtc) (void);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue