Go to the documentation of this file.
18 #ifndef __INTEL_PROCESS_H
19 #define __INTEL_PROCESS_H
21 #include <FreeNOS/Process.h>
Represents a process which may run on the host.
IntelProcess(ProcessID id, Address entry, bool privileged, const MemoryMap &map)
Constructor function.
#define PAGESIZE
ARM uses 4K pages.
u32 ProcessID
Process Identification Number.
unsigned long Address
A memory address.
virtual void reset(const Address entry)
Restart execution at the given entry point.
virtual Result initialize()
Initialize the Process.
virtual ~IntelProcess()
Destructor function.
Process which may execute on an Intel CPU.
virtual void execute(Process *previous)
Execute the process.
Describes virtual memory map layout.
unsigned int Size
Any sane size indicator cannot go negative.
Address m_kernelStackBase
Base kernel stack (fixed)
Address m_kernelStack
Current kernel stack address (changes during execution).
static const Size KernelStackSize
Size of the kernel stack.