2022-09-05 14:13:51 +00:00
|
|
|
#pragma once
|
2022-09-20 17:56:43 +00:00
|
|
|
#include "interrupts/Context.h"
|
2022-09-05 14:13:51 +00:00
|
|
|
|
|
|
|
namespace Interrupts
|
|
|
|
{
|
|
|
|
void enable();
|
|
|
|
void disable();
|
2022-09-20 15:16:07 +00:00
|
|
|
|
|
|
|
bool is_in_handler();
|
2022-09-20 17:56:43 +00:00
|
|
|
void return_from_handler(Context* context);
|
2022-09-05 14:13:51 +00:00
|
|
|
}
|