view kernel/arch/cortexm3.c3 @ 388:e07c2a9abac1

Enabled paging in kernel
author Windel Bouwman
date Fri, 02 May 2014 14:51:46 +0200
parents b8ad45b3a573
children
line wrap: on
line source

module arch;

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

function void putc(int c)
{
// TODO
}

function void halt()
{
}