Changeset 04803bf in mainline for boot/arch/mips32/src/putchar.c


Ignore:
Timestamp:
2011-03-21T22:00:17Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
143932e3
Parents:
b50b5af2 (diff), 7308e84 (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 mainline changes (needs fixes).

File:
1 moved

Legend:

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

    rb50b5af2 r04803bf  
    11/*
    2  * Copyright (c) 2005 Jakub Vana
     2 * Copyright (c) 2006 Martin Decky
    33 * All rights reserved.
    44 *
     
    2727 */
    2828
    29 #include <print.h>
    30 #include <debug.h>
     29#include <typedefs.h>
     30#include <arch/arch.h>
     31#include <putchar.h>
     32#include <str.h>
    3133
    32 #include <test.h>
    33 #include <sysinfo/sysinfo.h>
    34 
    35 char *test_sysinfo1(void)
     34void putchar(const wchar_t ch)
    3635{
    37         if (!test_quiet)
    38                 sysinfo_dump(NULL, 0);
    39         return NULL;
     36        if (ascii_check(ch))
     37                *((char *) MSIM_VIDEORAM_ADDRESS) = ch;
     38        else
     39                *((char *) MSIM_VIDEORAM_ADDRESS) = U_SPECIAL;
    4040}
Note: See TracChangeset for help on using the changeset viewer.