sew on side
This commit is contained in:
@@ -19,7 +19,7 @@ struct Vault {
|
|||||||
TextStream kout = TextStream(0, 80, 0, 17, true);
|
TextStream kout = TextStream(0, 80, 0, 17, true);
|
||||||
//TextStream dout = TextStream(0, 80, 17, 25);
|
//TextStream dout = TextStream(0, 80, 17, 25);
|
||||||
//SerialStream sout;
|
//SerialStream sout;
|
||||||
Scheduler scheduler;
|
alignas(16) Scheduler scheduler;
|
||||||
Bellringer bellringer;
|
Bellringer bellringer;
|
||||||
BBuffer<Key, 16> keys;
|
BBuffer<Key, 16> keys;
|
||||||
Semaphore keys_sem;
|
Semaphore keys_sem;
|
||||||
@@ -56,7 +56,7 @@ class Guarded {
|
|||||||
Guarded& operator=(const Guarded&) = delete;
|
Guarded& operator=(const Guarded&) = delete;
|
||||||
|
|
||||||
private:
|
private:
|
||||||
Vault& _vault;
|
alignas(16) Vault& _vault;
|
||||||
};
|
};
|
||||||
|
|
||||||
/*! \brief Synchronizes the kernel with interrupts using the Prologue/Epilogue
|
/*! \brief Synchronizes the kernel with interrupts using the Prologue/Epilogue
|
||||||
|
|||||||
@@ -40,7 +40,7 @@ class Scheduler {
|
|||||||
|
|
||||||
/*! \brief Idle thread
|
/*! \brief Idle thread
|
||||||
*/
|
*/
|
||||||
IdleThread idleThread;
|
alignas(16) IdleThread idleThread;
|
||||||
|
|
||||||
public:
|
public:
|
||||||
Scheduler();
|
Scheduler();
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
#include "../types.h"
|
#include "../types.h"
|
||||||
|
|
||||||
/// Stack size for each thread
|
/// Stack size for each thread
|
||||||
constexpr uint32_t STACK_SIZE = 3096;
|
constexpr uint32_t STACK_SIZE = 3072;
|
||||||
|
|
||||||
/*! \brief The Thread is an object used by the scheduler.
|
/*! \brief The Thread is an object used by the scheduler.
|
||||||
* \ingroup thread
|
* \ingroup thread
|
||||||
|
|||||||
Reference in New Issue
Block a user