Ignore:
Timestamp:
2009-07-28T12:47:31Z (16 years ago)
Author:
Vineeth Pillai <vineethrp@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
5e73815
Parents:
7038f55
Message:

ARM port for development board integratorcp(ARM926EJ core module).

File:
1 moved

Legend:

Unmodified
Added
Removed
  • boot/arch/arm32/loader/print/print.c

    r7038f55 r6ac14a70  
    11/*
    22 * Copyright (c) 2007 Michal Kebrt
     3 * Copyright (c) 2009 Vineeth Pillai
    34 * All rights reserved.
    45 *
     
    3233 */
    3334/** @file
    34  *  @brief GXemul specific code.
     35 *  @brief bootloader output logic
    3536 */
    3637
     
    4041
    4142/** Address where characters to be printed are expected. */
     43#ifdef MACHINE_GXEMUL_TESTARM
    4244#define PUTC_ADDRESS    0x10000000
     45#endif
     46#ifdef MACHINE_ICP
     47#define  PUTC_ADDRESS    0x16000000
     48#endif
     49
    4350
    4451
     
    4956static void putc(char ch)
    5057{
     58        if (ch == '\n')
     59                *((volatile char *) PUTC_ADDRESS) = '\r';
    5160        *((volatile char *) PUTC_ADDRESS) = ch;
    5261}
Note: See TracChangeset for help on using the changeset viewer.