20 #ifndef KERNEL_PROCESSOR_MIPS_COMMON_PROCESSORINFORMATION_H 21 #define KERNEL_PROCESSOR_MIPS_COMMON_PROCESSORINFORMATION_H 23 #include "pedigree/kernel/process/Thread.h" 24 #include "pedigree/kernel/processor/VirtualAddressSpace.h" 25 #include "pedigree/kernel/processor/types.h" 49 inline uintptr_t getKernelStack()
const;
50 inline void setKernelStack(uintptr_t stack);
51 inline Thread *getCurrentThread()
const 55 inline void setCurrentThread(
Thread *pThread)
96 extern "C" uint32_t kernel_stack;
100 uintptr_t PPCCommonProcessorInformation::getKernelStack()
const 104 void PPCCommonProcessorInformation::setKernelStack(uintptr_t stack)
106 kernel_stack = stack;
The exception was caused by a hardware task switch.