-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.c
60 lines (38 loc) · 825 Bytes
/
main.c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
#include "kernel.h"
#include "interrupts.h"
#include "uart.h"
#include "msg_queue.h"
#include "ui_mgr.h"
#include "util.h"
void
start_shell();
void
start_life();
void
start_breakout();
void
start_waba();
void
start_stats();
void
asm_thread_switch(void* new_thread_stack);
//---------------------------------------------------------------------
void
start_up() {
threads_init();
init_uart();
init_uimgr();
interrupts_init();
start_shell();
start_waba("ImageView/ImageView");
//start_waba(NULL);
//start_waba("Lines/Lines");
//start_waba("CoreTest/CoreTest");
//start_waba("Controls/Controls");
//start_waba("ImageSplit/ImageSplit");
start_life();
start_breakout();
//start_life();
start_stats();
asm_thread_switch(kern_threads[0].stack);
}