Changeset 91825d90 in mainline


Ignore:
Timestamp:
2009-02-19T22:21:58Z (16 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
d1eece6
Parents:
4544884
Message:

Kill arch/drivers/ega.h. Provide one-stop shopping
place for architectures with ia32 legacy I/O space.

Location:
kernel
Files:
1 deleted
4 edited
1 moved

Legend:

Unmodified
Added
Removed
  • kernel/arch/amd64/src/amd64.c

    r4544884 r91825d90  
    4040
    4141#include <proc/thread.h>
    42 #include <arch/drivers/ega.h>
     42#include <genarch/drivers/legacy/ia32/io.h>
    4343#include <genarch/drivers/ega/ega.h>
    4444#include <arch/drivers/vesa.h>
  • kernel/arch/ia32/src/ia32.c

    r4544884 r91825d90  
    3939#include <arch/pm.h>
    4040
    41 #include <arch/drivers/ega.h>
     41#include <genarch/drivers/legacy/ia32/io.h>
    4242#include <genarch/drivers/ega/ega.h>
    4343#include <arch/drivers/vesa.h>
  • kernel/arch/ia64/src/ia64.c

    r4544884 r91825d90  
    5353#include <ddi/device.h>
    5454#include <arch/bootinfo.h>
    55 #include <arch/drivers/ega.h>
     55#include <genarch/drivers/legacy/ia32/io.h>
    5656#include <genarch/drivers/ega/ega.h>
    5757#include <genarch/kbd/i8042.h>
  • kernel/genarch/include/drivers/legacy/ia32/io.h

    r4544884 r91825d90  
    11/*
    2  * Copyright (c) 2008 Jakub Jermar
     2 * Copyright (c) 2009 Jakub Jermar
    33 * All rights reserved.
    44 *
     
    3131 */
    3232/** @file
     33 * @brief       This file contains definitions used by architectures with the
     34 *              ia32 legacy I/O space (i.e. ia32, amd64 and ia64).
    3335 */
    3436
    35 #ifndef KERN_ia32_EGA_H
    36 #define KERN_ia32_EGA_H
     37#ifndef KERN_LEGACY_IA32_IO_H
     38#define KERN_LEGACY_IA32_IO_H
     39
     40#include <arch/types.h>
     41
     42#define i8042_BASE      ((ioport8_t *)0x60)
    3743
    3844#define EGA_VIDEORAM    0xb8000
  • kernel/genarch/src/kbd/i8042.c

    r4544884 r91825d90  
    4242#include <genarch/kbd/scanc.h>
    4343#include <genarch/kbd/scanc_pc.h>
     44#include <genarch/drivers/legacy/ia32/io.h>
    4445#include <cpu.h>
    4546#include <arch/asm.h>
     
    5253
    5354i8042_instance_t lgcy_i8042_instance = {
    54         .i8042 = (i8042_t *) 0x60,
     55        .i8042 = (i8042_t *) i8042_BASE,
    5556};
    5657
Note: See TracChangeset for help on using the changeset viewer.