Changeset 5d684e4 in mainline for kernel/arch/sparc64/src/console.c


Ignore:
Timestamp:
2006-09-23T13:12:10Z (18 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ff1f1e
Parents:
28ecadb
Message:

Convert sparc64 framebuffer code to configure from the OpenFirmware device tree memory representation.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • kernel/arch/sparc64/src/console.c

    r28ecadb r5d684e4  
    3636#include <arch/types.h>
    3737#include <typedefs.h>
    38 #include <genarch/fb/fb.h>
    39 #include <arch/drivers/fb.h>
    4038
     39#include <arch/drivers/scr.h>
    4140#include <arch/drivers/kbd.h>
     41
    4242#ifdef CONFIG_Z8530
    4343#include <genarch/kbd/z8530.h>
     
    5353#include <proc/thread.h>
    5454#include <arch/mm/tlb.h>
    55 #include <arch/boot/boot.h>
    5655#include <genarch/ofw/ofw_tree.h>
    5756#include <arch.h>
     
    8483                panic("Can't find %s\n", prop->value);
    8584
    86         fb_init(bootinfo.screen.addr, bootinfo.screen.width, bootinfo.screen.height,
    87                 bootinfo.screen.bpp, bootinfo.screen.scanline, true);
    88        
     85        scr_init(screen);
     86
    8987        prop = ofw_tree_getprop(aliases, "keyboard");
    9088        if (!prop)
Note: See TracChangeset for help on using the changeset viewer.