* grub-core/video/i386/pc/vbe.c
(grub_video_vbe_print_adapter_specific_info): Replace division by shifts.
This commit is contained in:
parent
3f2b4d1a81
commit
21344ef620
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
||||||
|
2013-03-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
|
* grub-core/video/i386/pc/vbe.c
|
||||||
|
(grub_video_vbe_print_adapter_specific_info): Replace division by
|
||||||
|
shifts.
|
||||||
|
|
||||||
2013-03-10 Vladimir Serbinenko <phcoder@gmail.com>
|
2013-03-10 Vladimir Serbinenko <phcoder@gmail.com>
|
||||||
|
|
||||||
Adjust types in gdb module to have intended unsigned shifts rather than
|
Adjust types in gdb module to have intended unsigned shifts rather than
|
||||||
|
|
|
@ -1197,7 +1197,7 @@ grub_video_vbe_print_adapter_specific_info (void)
|
||||||
|
|
||||||
/* The total_memory field is in 64 KiB units. */
|
/* The total_memory field is in 64 KiB units. */
|
||||||
grub_printf_ (N_(" total memory: %d KiB\n"),
|
grub_printf_ (N_(" total memory: %d KiB\n"),
|
||||||
(controller_info.total_memory << 16) / 1024);
|
(controller_info.total_memory << 6));
|
||||||
}
|
}
|
||||||
|
|
||||||
static struct grub_video_adapter grub_video_vbe_adapter =
|
static struct grub_video_adapter grub_video_vbe_adapter =
|
||||||
|
|
Loading…
Reference in a new issue