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@secunet.com>
Reviewed-on: http://review.coreboot.org/6250
Tested-by: build bot (Jenkins)
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Patrick Georgi <patrick@georgi-clan.de>
This commit is contained in:
Nico Huber 2014-07-08 15:32:02 +02:00 committed by Patrick Georgi
parent f6e1cbec2a
commit 2b2f849b53
1 changed files with 3 additions and 0 deletions

View File

@ -33,8 +33,11 @@ u8* vmem = (u8 *) (16*1024*1024); /* default to 16MB */
u8* vmem = NULL; u8* vmem = NULL;
#endif #endif
extern u8 *biosmem;
void run_bios(struct device * dev, unsigned long addr) void run_bios(struct device * dev, unsigned long addr)
{ {
biosmem = vmem;
biosemu(vmem, VMEM_SIZE, dev, addr); biosemu(vmem, VMEM_SIZE, dev, addr);