Changeset 6d37d27 in mainline for boot/arch/ppc32/loader/ofwarch.c


Ignore:
Timestamp:
2008-09-05T11:24:28Z (17 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
a9ddab2
Parents:
6745592
Message:

ppc32 updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • boot/arch/ppc32/loader/ofwarch.c

    r6745592 r6d37d27  
    4040void write(const char *str, const int len)
    4141{
    42         ofw_write(str, len);
     42        int i;
     43       
     44        for (i = 0; i < len; i++) {
     45                if (str[i] == '\n')
     46                        ofw_write("\r", 1);
     47                ofw_write(&str[i], 1);
     48        }
    4349}
    4450
Note: See TracChangeset for help on using the changeset viewer.