|
|
|
|
@ -22,6 +22,7 @@
|
|
|
|
|
|
|
|
|
|
///TextStream kout = TextStream(0, 80, 0, 10, true);
|
|
|
|
|
Ticketlock koutlock;
|
|
|
|
|
Scheduler sch;
|
|
|
|
|
|
|
|
|
|
//TextStream dout[8] = {
|
|
|
|
|
// TextStream(0 ,20,12,25,false),
|
|
|
|
|
@ -71,9 +72,9 @@ OutputStream* copyout[Core::MAX]{
|
|
|
|
|
unsigned int testx, testy;
|
|
|
|
|
|
|
|
|
|
Context test1;
|
|
|
|
|
uint8_t test1_stack[256];
|
|
|
|
|
uint8_t test1_stack[1024];
|
|
|
|
|
//Thread test1_thread = Thread(&test1_stack[sizeof(test1_stack)-1]);
|
|
|
|
|
Application application = Application(test1_stack);
|
|
|
|
|
Application application = Application(&test1_stack[sizeof(test1_stack)-1]);
|
|
|
|
|
|
|
|
|
|
//Context test2;
|
|
|
|
|
//uint8_t test2_stack[256];
|
|
|
|
|
@ -126,7 +127,6 @@ extern "C" int main() {
|
|
|
|
|
|
|
|
|
|
DBG << "Main CPU " << static_cast<int>(LAPIC::getID()) << endl << flush;
|
|
|
|
|
|
|
|
|
|
Scheduler sch;
|
|
|
|
|
sch.ready(&application);
|
|
|
|
|
sch.schedule();
|
|
|
|
|
|
|
|
|
|
|