[coreboot-gerrit] New patch to review for coreboot: 9a1df0a YABEL: Initialize global `biosmem` pointer for VBE
Nico Huber (nico.h@gmx.de)
gerrit at coreboot.org
Thu Jul 10 10:23:44 CEST 2014
Nico Huber (nico.h at gmx.de) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/6250
-gerrit
commit 9a1df0ae1e093a5b43a9298eeecda9f462db1798
Author: Nico Huber <nico.huber at secunet.com>
Date: Tue Jul 8 15:32:02 2014 +0200
YABEL: Initialize global `biosmem` pointer for VBE
The global pointer `biosmem` defined in vbe.c was never set. Thus, VBE
calls didn't work within YABEL.
Change-Id: I63c1c77755f9c442cfec227a495332595ce2b70c
Signed-off-by: Nico Huber <nico.huber at secunet.com>
---
src/device/oprom/yabel/compat/functions.c | 3 +++
1 file changed, 3 insertions(+)
diff --git a/src/device/oprom/yabel/compat/functions.c b/src/device/oprom/yabel/compat/functions.c
index 2c3dc33..27d0413 100644
--- a/src/device/oprom/yabel/compat/functions.c
+++ b/src/device/oprom/yabel/compat/functions.c
@@ -33,8 +33,11 @@ u8* vmem = (u8 *) (16*1024*1024); /* default to 16MB */
u8* vmem = NULL;
#endif
+extern u8 *biosmem;
+
void run_bios(struct device * dev, unsigned long addr)
{
+ biosmem = vmem;
biosemu(vmem, VMEM_SIZE, dev, addr);
More information about the coreboot-gerrit
mailing list