view kernel/arch/vexpressA9.c3 @ 354:5477e499b039

Added some sort of string functionality
author Windel Bouwman
date Thu, 13 Mar 2014 18:59:06 +0100
parents b8ad45b3a573
children c05ab629976a
line wrap: on
line source

module arch;

function void init()
{
    // putc(65)
}

function void putc(int c)
{
    var int *UART0DR;
    UART0DR = cast<int*>(0x10009000); // UART0 DR register
    *UART0DR = c;
}

function void halt()
{
}