Luna/kernel/include/interrupts/Interrupts.h

12 lines
211 B
C++

#pragma once
#include "interrupts/Context.h"
namespace Interrupts
{
void enable();
void disable();
bool is_in_handler();
void ensure_handler();
void return_from_handler(Context* context);
}