Changeset a33f0a6 in mainline for boot/arch/mips64/src/putchar.c


Ignore:
Timestamp:
2011-08-03T17:34:57Z (14 years ago)
Author:
Oleg Romanenko <romanenko.oleg@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
1940326
Parents:
52a79081 (diff), 3fab770 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge from mainline

File:
1 moved

Legend:

Unmodified
Added
Removed
  • boot/arch/mips64/src/putchar.c

    r52a79081 ra33f0a6  
    11/*
    2  * Copyright (c) 2009 Martin Decky
     2 * Copyright (c) 2006 Martin Decky
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 #include <test.h>
     29#include <typedefs.h>
     30#include <arch/arch.h>
     31#include <putchar.h>
     32#include <str.h>
    3033
    31 const char *test_fpu1(void)
     34void putchar(const wchar_t ch)
    3235{
    33         return NULL;
     36        if (ascii_check(ch))
     37                *((char *) MSIM_VIDEORAM_ADDRESS) = ch;
     38        else
     39                *((char *) MSIM_VIDEORAM_ADDRESS) = U_SPECIAL;
    3440}
Note: See TracChangeset for help on using the changeset viewer.