projects
/
seabios.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0214515
)
vga: fix bochs lfb size display
author
Gerd Hoffmann
<kraxel@redhat.com>
Mon, 6 Feb 2012 14:51:43 +0000
(15:51 +0100)
committer
Kevin O'Connor
<kevin@koconnor.net>
Tue, 7 Feb 2012 00:14:41 +0000
(19:14 -0500)
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
vgasrc/bochsvga.c
patch
|
blob
|
history
diff --git
a/vgasrc/bochsvga.c
b/vgasrc/bochsvga.c
index 957bde2929615b9f443edc9934b8b114f8b04be4..2a8aeb1865951970c86a81e7dcb264fc1eedb0e9 100644
(file)
--- a/
vgasrc/bochsvga.c
+++ b/
vgasrc/bochsvga.c
@@
-367,7
+367,7
@@
bochsvga_init(void)
SET_VGA(VBE_capabilities, VBE_CAPABILITY_8BIT_DAC);
dprintf(1, "VBE DISPI: lfb_addr=%x, size %d MB\n",
- lfb_addr, totalmem
/ 16
);
+ lfb_addr, totalmem
>> 20
);
// Validate modes
u16 en = dispi_read(VBE_DISPI_INDEX_ENABLE);