abgabe
This commit is contained in:
@@ -10,6 +10,7 @@
|
||||
#include "../debug/output.h"
|
||||
#include "../object/bbuffer.h"
|
||||
#include "epilogues.h"
|
||||
#include "../debug/copystream.h"
|
||||
|
||||
//! \brief The protected data for the epilogue level
|
||||
static Vault global_vault;
|
||||
|
||||
@@ -12,17 +12,21 @@
|
||||
#include "../thread/scheduler.h"
|
||||
#include "../types.h"
|
||||
#include "./epilogues.h"
|
||||
#include "../device/serialstream.h"
|
||||
|
||||
//! \brief The epilogue vault contains the protected data for the epilogue level
|
||||
struct Vault {
|
||||
TextStream kout = TextStream(0, 80, 0, 17, true);
|
||||
//TextStream dout = TextStream(0, 80, 17, 25);
|
||||
//SerialStream sout;
|
||||
Scheduler scheduler;
|
||||
Bellringer bellringer;
|
||||
BBuffer<Key, 16> keys;
|
||||
Semaphore keys_sem;
|
||||
static constexpr int MAX_SEMS =32;
|
||||
|
||||
Semaphore sems[MAX_SEMS];
|
||||
static constexpr int MAX_SEMS =32;
|
||||
Semaphore sems[MAX_SEMS];
|
||||
|
||||
// Ignore this for now, this is for a bonus task
|
||||
Graphics graphics;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user