1,6 → 1,5 |
/* |
* Copyright (c) 2007 Michal Kebrt |
* Copyright (c) 2009 Vineeth Pillai |
* All rights reserved. |
* |
* Redistribution and use in source and binary forms, with or without |
32,7 → 31,7 |
* @{ |
*/ |
/** @file |
* @brief bootloader output logic |
* @brief GXemul specific code. |
*/ |
|
|
40,15 → 39,9 |
|
|
/** Address where characters to be printed are expected. */ |
#ifdef MACHINE_GXEMUL_TESTARM |
#define PUTC_ADDRESS 0x10000000 |
#endif |
#ifdef MACHINE_ICP |
#define PUTC_ADDRESS 0x16000000 |
#endif |
|
|
|
/** Prints a character to the console. |
* |
* @param ch Character to be printed. |
55,8 → 48,6 |
*/ |
static void putc(char ch) |
{ |
if (ch == '\n') |
*((volatile char *) PUTC_ADDRESS) = '\r'; |
*((volatile char *) PUTC_ADDRESS) = ch; |
} |
|
Property changes: |
Deleted: svn:mergeinfo |