summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/device/oprom/realmode/x86.c12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/device/oprom/realmode/x86.c b/src/device/oprom/realmode/x86.c
index 796c9fea93..b8f54f3039 100644
--- a/src/device/oprom/realmode/x86.c
+++ b/src/device/oprom/realmode/x86.c
@@ -316,6 +316,18 @@ void fill_lb_framebuffer(struct lb_framebuffer *framebuffer)
framebuffer->reserved_mask_pos = mode_info.vesa.reserved_mask_pos;
framebuffer->reserved_mask_size = mode_info.vesa.reserved_mask_size;
}
+
+#else
+
+int vbe_mode_info_valid(void)
+{
+ return 0;
+}
+
+void fill_lb_framebuffer(struct lb_framebuffer *framebuffer)
+{
+}
+
#endif
void run_bios(struct device *dev, unsigned long addr)