aboutsummaryrefslogtreecommitdiff
path: root/estorm/main.c
blob: 34a99db33234ebb85b9a2eb498f2747e27a27a11 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
/* Electric storm main code.
 *
 * This gets called as the payload of the crt0.
 */

#include "at91sam7s256.h"
#include "crt0.h"

#include "sys_timer.h"

/*
 * This is the first function to get executed after the bootstrapper
 * does the bare metal board initialization. We arrive in this routine
 * with interrupts disabled, so we're free to do all the setup we
 * like.
 */
void kernel_main(void) {
  sys_timer_init();
}