remove crap
This commit is contained in:
26
main.cc
26
main.cc
@@ -76,37 +76,13 @@ uint8_t test2_stack[1024];
|
|||||||
uint8_t test3_stack[1024];
|
uint8_t test3_stack[1024];
|
||||||
uint8_t test4_stack[1024];
|
uint8_t test4_stack[1024];
|
||||||
uint8_t test5_stack[1024];
|
uint8_t test5_stack[1024];
|
||||||
//Thread test1_thread = Thread(&test1_stack[sizeof(test1_stack)-1]);
|
|
||||||
Application application1 = Application(&test1_stack[sizeof(test1_stack)-1]);
|
Application application1 = Application(&test1_stack[sizeof(test1_stack)-1]);
|
||||||
Application application2 = Application(&test2_stack[sizeof(test2_stack)-1]);
|
Application application2 = Application(&test2_stack[sizeof(test2_stack)-1]);
|
||||||
Application application3 = Application(&test3_stack[sizeof(test3_stack)-1]);
|
Application application3 = Application(&test3_stack[sizeof(test3_stack)-1]);
|
||||||
Application application4 = Application(&test4_stack[sizeof(test4_stack)-1]);
|
Application application4 = Application(&test4_stack[sizeof(test4_stack)-1]);
|
||||||
Application application5 = Application(&test5_stack[sizeof(test5_stack)-1]);
|
Application application5 = Application(&test5_stack[sizeof(test5_stack)-1]);
|
||||||
|
|
||||||
//Context test2;
|
|
||||||
//uint8_t test2_stack[256];
|
|
||||||
//Thread test2_thread = Thread(&test2_stack[sizeof(test2_stack)-1]);
|
|
||||||
|
|
||||||
//void test_func1(){
|
|
||||||
// while(1){
|
|
||||||
// {
|
|
||||||
// Guarded g = Guard::enter();
|
|
||||||
// g.vault().kout << "test 1\n" << flush;
|
|
||||||
// }
|
|
||||||
// context_switch(&test2, &test1);
|
|
||||||
// }
|
|
||||||
//}
|
|
||||||
//
|
|
||||||
//void test_func2(){
|
|
||||||
// while(1){
|
|
||||||
// {
|
|
||||||
// Guarded g = Guard::enter();
|
|
||||||
// g.vault().kout << "test 2\n" << flush;
|
|
||||||
// }
|
|
||||||
// context_switch(&test1, &test2);
|
|
||||||
// }
|
|
||||||
//}
|
|
||||||
|
|
||||||
|
|
||||||
// Main function
|
// Main function
|
||||||
// (the bootstrap processor starts here)}
|
// (the bootstrap processor starts here)}
|
||||||
|
|||||||
Reference in New Issue
Block a user