Changeset 65fb232 in mainline for arch/sparc64/src/sparc64.c


Ignore:
Timestamp:
2005-12-30T22:38:23Z (20 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
6ccb238
Parents:
80bff342
Message:

sparc64 work.
kconsole support.
Add non-blocking ofw_getchar().

File:
1 edited

Legend:

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

    r80bff342 r65fb232  
    2828
    2929#include <arch.h>
    30 #include <print.h>
     30#include <debug.h>
    3131#include <arch/trap/trap.h>
    3232#include <arch/console.h>
    3333#include <arch/drivers/tick.h>
     34#include <proc/thread.h>
    3435
    3536void arch_pre_mm_init(void)
     
    5152void arch_post_smp_init(void)
    5253{
     54        thread_t *t;
     55       
     56        /*
     57         * Create thread that reads characters from OFW's input.
     58         */
     59        t = thread_create(kofwinput, NULL, TASK, 0);
     60        if (!t)
     61                panic("cannot create kofwinput\n");
     62        thread_ready(t);
    5363}
    5464
Note: See TracChangeset for help on using the changeset viewer.