Ignore:
Timestamp:
2018-11-12T20:20:36Z (5 years ago)
Author:
Jiří Zárevúcky <zarevucky.jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
08f1a6d
Parents:
15639ec
git-author:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-12 20:09:40)
git-committer:
Jiří Zárevúcky <zarevucky.jiri@…> (2018-11-12 20:20:36)
Message:

Remove realmode VESA code

This simply enables framebuffer setup via multiboot1
(multiboot2 already did it), and removes the obsolete code.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/genarch/include/genarch/multiboot/multiboot.h

    r15639ec r8781e9d  
    3939#include <genarch/multiboot/multiboot_info_struct.h>
    4040
    41 #define MULTIBOOT_HEADER_MAGIC  0x1badb002
    42 #define MULTIBOOT_HEADER_FLAGS  0x00010003
     41#define MULTIBOOT_HEADER_MAGIC       0x1badb002
     42#define MULTIBOOT_HEADER_FLAGS       0x00010007
     43#define MULTIBOOT_HEADER_FLAGS_NOFB  0x00010003
    4344
    4445#define MULTIBOOT_LOADER_MAGIC  0x2badb002
    4546
    46 #define MULTIBOOT_INFO_FLAGS_MEM        0x01
    47 #define MULTIBOOT_INFO_FLAGS_BOOT       0x02
    48 #define MULTIBOOT_INFO_FLAGS_CMDLINE    0x04
    49 #define MULTIBOOT_INFO_FLAGS_MODS       0x08
    50 #define MULTIBOOT_INFO_FLAGS_SYMS1      0x10
    51 #define MULTIBOOT_INFO_FLAGS_SYMS2      0x20
    52 #define MULTIBOOT_INFO_FLAGS_MMAP       0x40
     47#define MULTIBOOT_INFO_FLAGS_MEM               0x0001
     48#define MULTIBOOT_INFO_FLAGS_BOOT              0x0002
     49#define MULTIBOOT_INFO_FLAGS_CMDLINE           0x0004
     50#define MULTIBOOT_INFO_FLAGS_MODS              0x0008
     51#define MULTIBOOT_INFO_FLAGS_SYMS_AOUT         0x0010
     52#define MULTIBOOT_INFO_FLAGS_SYMS_ELF          0x0020
     53#define MULTIBOOT_INFO_FLAGS_MMAP              0x0040
     54#define MULTIBOOT_INFO_FLAGS_DRIVES            0x0080
     55#define MULTIBOOT_INFO_FLAGS_CONFIG_TABLE      0x0100
     56#define MULTIBOOT_INFO_FLAGS_BOOT_LOADER_NAME  0x0200
     57#define MULTIBOOT_INFO_FLAGS_APM               0x0400
     58#define MULTIBOOT_INFO_FLAGS_VBE               0x0800
     59#define MULTIBOOT_INFO_FLAGS_FB                0x1000
    5360
    5461#ifndef __ASSEMBLER__
Note: See TracChangeset for help on using the changeset viewer.