Changeset 46c20c8 in mainline for boot/arch/mips32/src/putchar.c


Ignore:
Timestamp:
2010-11-26T20:08:10Z (15 years ago)
Author:
Jiri Svoboda <jiri@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
45df59a
Parents:
fb150d78 (diff), ffdd2b9 (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.

File:
1 moved

Legend:

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

    rfb150d78 r46c20c8  
    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.