Changeset f245145 in mainline for kernel/arch/ia64


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/ia64
Files:
1 deleted
6 edited

Legend:

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

    r44ff4fb rf245145  
    6060CONFIG_ASID_FIFO = y
    6161
    62 
    6362## Compile with support for software integer division.
    6463#
     
    9392
    9493ifeq ($(MACHINE),i460GX)
    95         ARCH_SOURCES += arch/$(ARCH)/src/drivers/ega.c
    9694        CONFIG_I8042 = y
    97         DEFS += -DI460GX -DCONFIG_I8042
     95        CONFIG_EGA = y
     96        DEFS += -DI460GX -DCONFIG_I8042 -DCONFIG_EGA
    9897        BFD = binary
    9998endif
  • kernel/arch/ia64/include/asm.h

    r44ff4fb rf245145  
    4040#include <arch/register.h>
    4141
    42 typedef uint64_t ioport_t;
    43 
    4442#define IA64_IOSPACE_ADDRESS 0xE001000000000000ULL
    4543
  • kernel/arch/ia64/include/drivers/ega.h

    r44ff4fb rf245145  
    11/*
    2  * Copyright (c) 2001-2004 Jakub Jermar
    3  * 2007 Jakub Vana
     2 * Copyright (c) 2008 Jakub Jermar
    43 * All rights reserved.
    54 *
     
    2827 */
    2928
    30 /** @addtogroup ia32   
     29/** @addtogroup ia64
    3130 * @{
    3231 */
     
    3736#define KERN_ia64_EGA_H
    3837
    39 #define VIDEORAM (0xe0020000000B8000LL)
    40 
    41 #define ROW             80
    42 #define ROWS            25
    43 #define SCREEN          (ROW * ROWS)
    44 
    45 extern void ega_init(void);
     38#define EGA_VIDEORAM    0xb8000
     39#define EGA_BASE        0x3d4
    4640
    4741#endif
  • kernel/arch/ia64/include/types.h

    r44ff4fb rf245145  
    6666typedef int64_t native_t;
    6767
     68typedef uintptr_t ioport_t;
     69
    6870#define PRIp "lx"       /**< Format for uintptr_t. */
    6971#define PRIs "lu"       /**< Format for size_t. */
  • kernel/arch/ia64/src/asm.S

    r44ff4fb rf245145  
    129129        br _memsetb
    130130
     131.global memsetw
     132memsetw:
     133        br _memsetw
     134
    131135.global cpu_halt
    132136cpu_halt:
  • kernel/arch/ia64/src/ia64.c

    r44ff4fb rf245145  
    5252#include <ddi/irq.h>
    5353#include <ddi/device.h>
     54#include <arch/bootinfo.h>
    5455#include <arch/drivers/ega.h>
    55 #include <arch/bootinfo.h>
     56#include <genarch/drivers/ega/ega.h>
    5657#include <genarch/kbd/i8042.h>
    5758#include <genarch/kbd/ns16550.h>
     
    133134                ski_init_console();
    134135#else   
    135                 ega_init();
     136                ega_init(EGA_BASE, EGA_VIDEORAM);
    136137#endif 
    137138        }
Note: See TracChangeset for help on using the changeset viewer.