annotate kernel/arch_arm.c3 @ 341:4d204f6f7d4e devel

Rewrite of assembler parts
author Windel Bouwman
date Fri, 28 Feb 2014 18:07:14 +0100
parents a78b41ff6ad2
children
rev   line source
300
Windel Bouwman
parents:
diff changeset
1 module arch;
Windel Bouwman
parents:
diff changeset
2
Windel Bouwman
parents:
diff changeset
3 function void init()
Windel Bouwman
parents:
diff changeset
4 {
331
a78b41ff6ad2 Added better recipe files
Windel Bouwman
parents: 300
diff changeset
5 var int *UART0DR;
a78b41ff6ad2 Added better recipe files
Windel Bouwman
parents: 300
diff changeset
6 UART0DR = cast<int*>(0x10009000);
a78b41ff6ad2 Added better recipe files
Windel Bouwman
parents: 300
diff changeset
7 *UART0DR = 0x65;
300
Windel Bouwman
parents:
diff changeset
8 }
Windel Bouwman
parents:
diff changeset
9
Windel Bouwman
parents:
diff changeset
10 function void halt()
Windel Bouwman
parents:
diff changeset
11 {
Windel Bouwman
parents:
diff changeset
12 }
Windel Bouwman
parents:
diff changeset
13