2020-05-24 23:30:55 +03:00
|
|
|
// SPDX-License-Identifier: GPL-2.0
|
|
|
|
#ifndef INTERRUPT_H
|
|
|
|
#define INTERRUPT_H
|
2022-02-19 19:17:40 +03:00
|
|
|
/**
|
|
|
|
* \file
|
|
|
|
*
|
2020-05-24 23:30:55 +03:00
|
|
|
* Provides the interrupt handler.
|
|
|
|
*
|
2022-02-19 22:56:55 +03:00
|
|
|
*//*
|
2022-02-19 19:17:40 +03:00
|
|
|
* Copyright (C) 2020-2022 Martin Whitaker.
|
2020-05-24 23:30:55 +03:00
|
|
|
*/
|
|
|
|
|
|
|
|
struct trap_regs;
|
|
|
|
|
2022-02-19 19:17:40 +03:00
|
|
|
/**
|
2020-05-24 23:30:55 +03:00
|
|
|
* Handles an interrupt.
|
|
|
|
*/
|
|
|
|
void interrupt(struct trap_regs *trap_regs);
|
|
|
|
|
|
|
|
#endif // INTERRUPT_H
|