* grub-core/loader/i386/xnu.c (grub_xnu_boot): Init fsbfreq to
sane value to avoid a spurious warning.
This commit is contained in:
parent
c4b7e58882
commit
595717e6d4
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
||||||
|
2012-02-29 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/loader/i386/xnu.c (grub_xnu_boot): Init fsbfreq to
|
||||||
|
sane value to avoid a spurious warning.
|
||||||
|
|
||||||
2012-02-29 Vladimir Serbinenko <phcoder@gmail.com>
|
2012-02-29 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
* include/grub/dl.h: Switch from APPLE_CC to __APPLE__.
|
* include/grub/dl.h: Switch from APPLE_CC to __APPLE__.
|
||||||
|
|
|
@ -969,7 +969,7 @@ grub_xnu_boot (void)
|
||||||
grub_size_t devtreelen;
|
grub_size_t devtreelen;
|
||||||
int i;
|
int i;
|
||||||
struct grub_relocator32_state state;
|
struct grub_relocator32_state state;
|
||||||
grub_uint64_t fsbfreq;
|
grub_uint64_t fsbfreq = 100000000;
|
||||||
int v2 = (grub_xnu_darwin_version >= 11);
|
int v2 = (grub_xnu_darwin_version >= 11);
|
||||||
grub_uint32_t efi_system_table = 0;
|
grub_uint32_t efi_system_table = 0;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue