mirror of
https://git.savannah.gnu.org/git/grub.git
synced 2026-10-23 15:49:23 +00:00
* grub-core/video/i386/pc/vbe.c
(grub_video_vbe_print_adapter_specific_info): Replace division by shifts.
This commit is contained in:
1 parent
3f2b4d1a81
commit
21344ef620
2 files changed
+7
-1
No files matched your search
@@ -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 =
|
||||||
|
|||||||
Reference in new issue
Block a user