More work on Kernel class, syscalls
This commit is contained in:
@@ -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;
|
||||
|
||||
};
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user