os-k/kaleid/kernel/init/table.c

24 lines
966 B
C
Raw Normal View History

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