annotate kernel/arch_arm.c3 @ 331:a78b41ff6ad2

Added better recipe files
author Windel Bouwman
date Fri, 07 Feb 2014 12:39:59 +0100
parents 158068af716c
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