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:
parent
f6e1cbec2a
commit
2b2f849b53
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue