2022-09-05 14:13:51 +00:00
|
|
|
#pragma once
|
2022-09-20 15:16:07 +00:00
|
|
|
#include "interrupts/SavedContext.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();
|
|
|
|
void return_from_handler(SavedContext* context);
|
2022-09-05 14:13:51 +00:00
|
|
|
}
|