annotate kernel/arch_arm.c3 @ 348:442fb043d149

Added log option to zcc
author Windel Bouwman
date Sat, 08 Mar 2014 15:32:33 +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