Added key systems to kernel state

This commit is contained in:
2020-08-02 15:03:35 -05:00
parent 0b32783a2c
commit 50816a3b6d
5 changed files with 44 additions and 14 deletions

View File

@@ -1,9 +1,10 @@
#ifndef KERNELSTATE_H
#define KERNELSTATE_H
#include <stddef.h>
#include "process.hpp"
#include "pageallocator.hpp"
#include "allocator.hpp"
#include "interrupts.hpp"
#include "scheduler.hpp"
namespace kernel
{
@@ -12,7 +13,15 @@ class State
{
public:
static const size_t MAX_PROCESSES = 2048;
static const unsigned int MAX_PROCESSES = 2048;
static BuddyAllocator pageAllocator;
static Allocator allocator;
static Interrupts interrupts;
static ProcessQueue processQueue;
};