2018-12-20 18:03:39 +01:00
|
|
|
//----------------------------------------------------------------------------//
|
|
|
|
// GNU GPL OS/K //
|
|
|
|
// //
|
|
|
|
// Authors: spectral` //
|
|
|
|
// NeoX //
|
|
|
|
// //
|
2019-01-14 14:31:49 +01:00
|
|
|
// Desc: Global constants //
|
2018-12-20 18:03:39 +01:00
|
|
|
//----------------------------------------------------------------------------//
|
|
|
|
|
2019-01-14 14:31:49 +01:00
|
|
|
#include <kaleid.h>
|
2018-12-20 18:03:39 +01:00
|
|
|
|
2019-01-14 14:31:49 +01:00
|
|
|
CREATE_PER_CPU(PanicStr, const char *);
|
2018-12-20 18:03:39 +01:00
|
|
|
|
2019-01-14 14:31:49 +01:00
|
|
|
CREATE_PER_CPU(KernState, KernelState_t);
|
2018-12-20 18:03:39 +01:00
|
|
|
|
2019-01-14 14:31:49 +01:00
|
|
|
CREATE_PER_CPU(_StdOut, Terminal_t *);
|
|
|
|
CREATE_PER_CPU(_StdDbg, Terminal_t *);
|
2018-12-20 18:03:39 +01:00
|
|
|
|
2019-01-14 14:31:49 +01:00
|
|
|
CREATE_PER_CPU(CurProc, Process_t *);
|
|
|
|
CREATE_PER_CPU(CurThread, Thread_t *);
|
2018-12-20 18:03:39 +01:00
|
|
|
|
2019-02-06 14:07:38 +01:00
|
|
|
CREATE_PER_CPU(ReSchedFlag, bool);
|
|
|
|
|