aboutsummaryrefslogtreecommitdiffstats
path: root/firmware/source/handlers.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'firmware/source/handlers.hpp')
-rw-r--r--firmware/source/handlers.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/firmware/source/handlers.hpp b/firmware/source/handlers.hpp
index fd7e10c..9aa87b5 100644
--- a/firmware/source/handlers.hpp
+++ b/firmware/source/handlers.hpp
@@ -2,7 +2,7 @@
* @file handlers.hpp
* @brief Interrupt service routine handlers.
*
- * Copyright (C) 2021 Clyne Sullivan
+ * Copyright (C) 2023 Clyne Sullivan
*
* Distributed under the GNU GPL v3 or later. You should have received a copy of
* the GNU General Public License along with this program.
@@ -16,12 +16,15 @@
extern "C" {
+// Service call handler ("svc" calls)
__attribute__((naked))
void port_syscall(struct port_extctx *ctxp, uint32_t n);
+// Handle memory faults possibly caused by the algorithm.
__attribute__((naked))
void MemManage_Handler();
+// Handle execution faults possibly caused by the algorithm.
__attribute__((naked))
void HardFault_Handler();