From 4da4ab63c0ff0b306a625a5cfb7e0814c1e0a717 Mon Sep 17 00:00:00 2001 From: Kevin Lange Date: Tue, 16 Oct 2012 23:31:55 -0700 Subject: [PATCH] [debug] warn if vid mem can't be located --- kernel/video/lfb.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/kernel/video/lfb.c b/kernel/video/lfb.c index 64728f01..cee009d3 100644 --- a/kernel/video/lfb.c +++ b/kernel/video/lfb.c @@ -124,6 +124,8 @@ void graphics_install_preset(uint16_t w, uint16_t h) { } } + debug_print(WARNING, "Failed to locate video memory. This could end poorly."); + mem_found: finalize_graphics(w,h,b);