Fix yeeloong compilation

This commit is contained in:
Vladimir 'phcoder' Serbinenko 2010-02-15 19:03:07 +01:00
parent 320dd174b5
commit 13b6d963ea

View file

@ -68,7 +68,7 @@ grub_machine_init (void)
{ {
grub_addr_t modend; grub_addr_t modend;
modend = grub_modules_get_end (); modend = grub_modules_get_end ();
grub_mm_init_region (modend, (grub_arch_memsize << 20) grub_mm_init_region ((void *) modend, (grub_arch_memsize << 20)
- (modend - GRUB_ARCH_LOWMEMVSTART)); - (modend - GRUB_ARCH_LOWMEMVSTART));
/* FIXME: use upper memory as well. */ /* FIXME: use upper memory as well. */
grub_install_get_time_ms (grub_rtc_get_time_ms); grub_install_get_time_ms (grub_rtc_get_time_ms);