Changeset 108


Ignore:
Timestamp:
Mar 8, 2010, 2:09:45 PM (4 years ago)
Author:
stepan
Message:

Set current cursor position in kernel header when VGA support was compiled
into libpayload so the kernel starts outputting it's messages at the right
position. The old code was actually working, but using the wrong
preprocessor define.

Signed-off-by: Mathias Krause <Mathias.Krause@…>
Acked-by: Stefan Reinauer <stepan@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/filo/i386/linux_load.c

    r98 r108  
    2727 
    2828#include <libpayload.h> 
     29#include <libpayload-config.h> 
    2930#include <config.h> 
    3031#include <fs.h> 
     
    586587    struct segment_desc *linux_gdt; 
    587588    struct context *ctx; 
    588 #ifdef CONFIG_VGA_CONSOLE 
     589#ifdef CONFIG_VGA_VIDEO_CONSOLE 
    589590    unsigned int cursor_x, cursor_y, cursor_en; 
    590591#endif 
     
    626627    printf("Jumping to entry point...\n"); 
    627628 
    628 #ifdef CONFIG_VGA_CONSOLE 
     629#ifdef CONFIG_VGA_VIDEO_CONSOLE 
    629630    /* Update VGA cursor position. 
    630631     * This must be here because the printf changes the value! */ 
Note: See TracChangeset for help on using the changeset viewer.