Go to the documentation of this file.
18 #ifndef __KERNEL_ARM_ARMPROCESS_H
19 #define __KERNEL_ARM_ARMPROCESS_H
21 #include <FreeNOS/Process.h>
Represents a process which may run on the host.
virtual ~ARMProcess()
Destructor function.
CPUState m_cpuState
Contains all the CPU registers for this task.
u32 ProcessID
Process Identification Number.
unsigned long Address
A memory address.
unsigned int uint
Unsigned integer number.
virtual void execute(Process *previous)
Allow the Process to run on the CPU.
Describes virtual memory map layout.
virtual Result join(const uint result)
Complete waiting for another Process.
ARM specific process implementation.
Contains all the CPU registers.
ARMProcess(ProcessID id, Address entry, bool privileged, const MemoryMap &map)
Constructor function.
virtual Result initialize()
Initialize the Process.
virtual void reset(const Address entry)
Restart execution at the given entry point.
void setCpuState(const CPUState *cpuState)
Overwrite the saved CPU registers for this task.
const CPUState * cpuState() const
Retrieve saved CPU state.