Changeset 24241cf in mainline for arch/mips/src/console.c


Ignore:
Timestamp:
2005-09-10T17:30:56Z (20 years ago)
Author:
Ondrej Palkovsky <ondrap@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a1493d9
Parents:
9060bd1
Message:

Basic changes to boot it on SGI Indy.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • arch/mips/src/console.c

    r9060bd1 r24241cf  
    3131#include <arch/cp0.h>
    3232#include <arch/console.h>
     33#include <arch.h>
     34
     35static void arc_putchar(const char ch)
     36{
     37        int cnt;
     38        pri_t pri;
     39
     40        /* TODO: Should be spinlock? */
     41        pri = cpu_priority_high();
     42        bios_write(1, &ch, 1, &cnt);
     43        cpu_priority_restore(pri);
     44       
     45}
    3346
    3447static void cons_putchar(const char ch)
Note: See TracChangeset for help on using the changeset viewer.