summaryrefslogtreecommitdiff
path: root/code/fe310/eos/eos.c
blob: ad80a47fdd6f13fba2a35c02ad70ccadf017d97b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
#include "event.h"
#include "interrupt.h"
#include "timer.h"
#include "net.h"

#include "eos.h"

void eos_init(void) {
    eos_evtq_init();
    eos_intr_init();
    eos_timer_init();
    eos_net_init();
}

void eos_start(void) {
    eos_net_start(511);
}