33 lines
468 B
C++
33 lines
468 B
C++
#ifndef KERNELSTATE_H
|
|
#define KERNELSTATE_H
|
|
|
|
#include "pageallocator.hpp"
|
|
#include "allocator.hpp"
|
|
#include "interrupts.hpp"
|
|
#include "scheduler.hpp"
|
|
#include "systeminfo.hpp"
|
|
|
|
namespace kernelns
|
|
{
|
|
|
|
class State
|
|
{
|
|
public:
|
|
|
|
static const unsigned int MAX_PROCESSES = 2048;
|
|
|
|
static BuddyAllocator pageAllocator;
|
|
|
|
static Allocator allocator;
|
|
|
|
static Interrupts interrupts;
|
|
|
|
static ProcessQueue processQueue;
|
|
|
|
static SystemInfo config;
|
|
|
|
};
|
|
|
|
}
|
|
|
|
#endif |