[coreboot] New patch to review for coreboot: 3a1b28a oprom: fix compilation for Qemu target (and possibly others)

Stefan Reinauer (stefan.reinauer@coreboot.org) gerrit at coreboot.org
Fri Feb 8 03:21:24 CET 2013


Stefan Reinauer (stefan.reinauer at coreboot.org) just uploaded a new patch set to gerrit, which you can find at http://review.coreboot.org/2321

-gerrit

commit 3a1b28a5862e9fbe7369663a5867e5fddff0a2b3
Author: Stefan Reinauer <stefan.reinauer at coreboot.org>
Date:   Thu Feb 7 18:19:23 2013 -0800

    oprom: fix compilation for Qemu target (and possibly others)
    
    Not sure why this didn't bite us earlier..
    
    src/device/oprom/realmode/x86.c: In function 'fill_lb_framebuffer':
    src/device/oprom/realmode/x86.c:272:13: error: dereferencing pointer to incomplete type
    src/device/oprom/realmode/x86.c:274:13: error: dereferencing pointer to incomplete type
    src/device/oprom/realmode/x86.c:275:13: error: dereferencing pointer to incomplete type
    src/device/oprom/realmode/x86.c:276:13: error: dereferencing pointer to incomplete type
    src/device/oprom/realmode/x86.c:278:13: error: dereferencing pointer to incomplete type
    src/device/oprom/realmode/x86.c:280:13: error: dereferencing pointer to incomplete type
    src/device/oprom/realmode/x86.c:281:13: error: dereferencing pointer to incomplete type
    src/device/oprom/realmode/x86.c:283:13: error: dereferencing pointer to incomplete type
    src/device/oprom/realmode/x86.c:284:13: error: dereferencing pointer to incomplete type
    src/device/oprom/realmode/x86.c:286:13: error: dereferencing pointer to incomplete type
    src/device/oprom/realmode/x86.c:287:13: error: dereferencing pointer to incomplete type
    src/device/oprom/realmode/x86.c:289:13: error: dereferencing pointer to incomplete type
    src/device/oprom/realmode/x86.c:290:13: error: dereferencing pointer to incomplete type
    
    Change-Id: Ie3b0f731a7b995e954a26e745b07fc122088ca9f
    Signed-off-by: Stefan Reinauer <reinauer at google.com>
---
 src/device/oprom/realmode/x86.c | 1 +
 1 file changed, 1 insertion(+)

diff --git a/src/device/oprom/realmode/x86.c b/src/device/oprom/realmode/x86.c
index 07eff0d..6e76992 100644
--- a/src/device/oprom/realmode/x86.c
+++ b/src/device/oprom/realmode/x86.c
@@ -33,6 +33,7 @@
 #include <lib/jpeg.h>
 /* we use x86emu's register file representation */
 #include <x86emu/regs.h>
+#include <boot/coreboot_tables.h>
 
 /* to have a common register file for interrupt handlers */
 X86EMU_sysEnv _X86EMU_env;



More information about the coreboot mailing list