More work on Kernel class, syscalls

This commit is contained in:
Nathan Giddings
2020-12-11 09:19:29 -06:00
parent e8c3de4a63
commit 69c3c8a847
34 changed files with 390 additions and 121 deletions

View File

@@ -2,20 +2,27 @@
#define PROCESS_H
#include <stddef.h>
#include "map.hpp"
namespace kernel
namespace kernelns
{
class Process
{
public:
Process();
size_t priority;
void* stack;
Process();
bool hasSharedBlock(unsigned int blockID) const;
private:
Map<unsigned int, MemoryBlock&> m_sharedBlocks;
};
}