20#ifndef KERNEL_CORE_PROCESSOR_NMFAULTHANDLER_H_
21#define KERNEL_CORE_PROCESSOR_NMFAULTHANDLER_H_
23#include "pedigree/kernel/compiler.h"
24#include "pedigree/kernel/processor/InterruptHandler.h"
25#include "pedigree/kernel/processor/state_forward.h"
26#include "pedigree/kernel/processor/types.h"
62 virtual void interrupt(
size_t interruptNumber, InterruptState& state);
65 void threadTerminated(
class Thread*);
Abstract base class for interrupt-handlers.
NMFaultHandler() INITIALISATION_ONLY
static EXPORTED_PUBLIC bool saveCurrentThreadFpuState(void *buffer, bool resetForSignalHandler)
static NMFaultHandler & instance()
static NMFaultHandler m_Instance
static bool inheritCurrentThreadFpuState(class Thread *thread)
static EXPORTED_PUBLIC bool restoreCurrentThreadFpuState(const void *buffer)
bool initialiseProcessor()
#define INITIALISATION_ONLY