annotate kernel/arch_arm.c3 @ 337:b00219172a42

Added cool lm3s811 qemu project
author Windel Bouwman
date Thu, 20 Feb 2014 20:04:52 +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