Mercurial > lcfOS
view kernel/kernel.c3 @ 342:86b02c98a717 devel
Moved target directory
author | Windel Bouwman |
---|---|
date | Sat, 01 Mar 2014 15:40:31 +0100 |
parents | c7cc54c0dfdf |
children | 899ae3aea803 |
line wrap: on
line source
module kernel; import memory; import process; import scheduler; import arch; // Main entry point of the kernel: function void start() { var int* UART0DR; UART0DR = cast<int*>(0x10009000); // UART0 Data register *UART0DR = 72; process.init(); //memory:init(); //Process proc = new process:Process(); //scheduler:queue(proc); while(true) {} } function void panic() { arch.halt(); }