Changeset f245145 in mainline for kernel/arch/amd64


Ignore:
Timestamp:
2009-01-04T14:07:27Z (17 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a45752d
Parents:
44ff4fb
Message:

Only one kernel EGA driver to rule them all.

Location:
kernel/arch/amd64
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/Makefile.inc

    r44ff4fb rf245145  
    7676DEFS += -DCONFIG_I8042
    7777
     78## Compile with EGA support
     79#
     80
     81CONFIG_EGA = y
     82DEFS += -DCONFIG_EGA
     83
    7884## Accepted configuration directives
    7985#
     
    97103        arch/$(ARCH)/src/context.S \
    98104        arch/$(ARCH)/src/ddi/ddi.c \
    99         arch/$(ARCH)/src/drivers/ega.c \
    100105        arch/$(ARCH)/src/drivers/vesa.c \
    101106        arch/$(ARCH)/src/drivers/i8254.c \
  • kernel/arch/amd64/include/types.h

    r44ff4fb rf245145  
    5858typedef int64_t native_t;
    5959
     60typedef uintptr_t ioport_t;
     61
    6062/**< Formats for uintptr_t, size_t, count_t and index_t */
    6163#define PRIp "llx"
  • kernel/arch/amd64/src/amd64.c

    r44ff4fb rf245145  
    4141#include <proc/thread.h>
    4242#include <arch/drivers/ega.h>
     43#include <genarch/drivers/ega/ega.h>
    4344#include <arch/drivers/vesa.h>
    4445#include <genarch/kbd/i8042.h>
     
    140141                else
    141142#endif
    142                         ega_init();     /* video */
     143                        ega_init(EGA_BASE, EGA_VIDEORAM);       /* video */
    143144               
    144145                /* Enable debugger */
Note: See TracChangeset for help on using the changeset viewer.