|
|
|
@ -7,7 +7,7 @@
|
|
|
|
#include "../../sync/ticketlock.h"
|
|
|
|
#include "../../sync/ticketlock.h"
|
|
|
|
#include "../../arch/core.h"
|
|
|
|
#include "../../arch/core.h"
|
|
|
|
#include "../../interrupt/guard.h"
|
|
|
|
#include "../../interrupt/guard.h"
|
|
|
|
|
|
|
|
#include "../../debug/output.h"
|
|
|
|
char text[] = "Ich mag\n\
|
|
|
|
char text[] = "Ich mag\n\
|
|
|
|
Saftige Pflaumen voller Aroma\n\
|
|
|
|
Saftige Pflaumen voller Aroma\n\
|
|
|
|
Ich knuddel jede Oma ins Koma\n\
|
|
|
|
Ich knuddel jede Oma ins Koma\n\
|
|
|
|
@ -40,14 +40,14 @@ void Application::action() { // NOLINT
|
|
|
|
Guarded g = Guard::enter();
|
|
|
|
Guarded g = Guard::enter();
|
|
|
|
//g.vault();
|
|
|
|
//g.vault();
|
|
|
|
while(text[cnt++] != '\n'){
|
|
|
|
while(text[cnt++] != '\n'){
|
|
|
|
g.vault().kout << cnt;
|
|
|
|
DBG << cnt;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
//g.vault().kout << endl << flush;
|
|
|
|
//g.vault().kout << endl << flush;
|
|
|
|
//Guard::leave();
|
|
|
|
//Guard::leave();
|
|
|
|
//koutlock.unlock();
|
|
|
|
//koutlock.unlock();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
Core::pause();
|
|
|
|
Core::pause();
|
|
|
|
activeWaitDelay(1000000000);
|
|
|
|
activeWaitDelay(100000000);
|
|
|
|
if(cnt >= sizeof(text)-1)
|
|
|
|
if(cnt >= sizeof(text)-1)
|
|
|
|
cnt=0;
|
|
|
|
cnt=0;
|
|
|
|
|
|
|
|
|
|
|
|
|