Changeset 481c520 in mainline for arch/sparc64/src/sparc64.c


Ignore:
Timestamp:
2006-02-27T12:30:11Z (19 years ago)
Author:
Jakub Jermar <jakub@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
02f441c0
Parents:
4a2b52f
Message:

sparc64 work.
Revive OFW console code and use it before the kernel switches to standalone console.

ia32 + ia64 cosmetic changes.

File:
1 edited

Legend:

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

    r4a2b52f r481c520  
    3737{
    3838        interrupts_disable();
     39        ofw_sparc64_console_init();
    3940        trap_init();
    4041        tick_init();
     
    4344void arch_post_mm_init(void)
    4445{
    45         fb_sparc64_console_init();
     46        standalone_sparc64_console_init();
    4647}
    4748
     
    5253void arch_post_smp_init(void)
    5354{
     55        thread_t *t;
     56
     57        /*
     58         * Create thread that reads characters from OFW's input.
     59         */
     60        t = thread_create(kofwinput, NULL, TASK, 0);
     61        if (!t)
     62                panic("cannot create kofwinput\n");
     63        thread_ready(t);
    5464}
    5565
Note: See TracChangeset for help on using the changeset viewer.