aboutsummaryrefslogtreecommitdiffstats
path: root/src/svc.c
diff options
context:
space:
mode:
authorClyne Sullivan <tullivan99@gmail.com>2018-04-24 14:11:01 -0400
committerClyne Sullivan <tullivan99@gmail.com>2018-04-24 14:11:01 -0400
commitc47485371ac69797b487f9549368fab62859de78 (patch)
treef10077a503379ada25c9f57622d9edd319c9c63d /src/svc.c
parent5df5c67397e2800182e5016ab89bbd17e4e67a5b (diff)
file cleanup, better text, documentation
Diffstat (limited to 'src/svc.c')
-rw-r--r--src/svc.c23
1 files changed, 22 insertions, 1 deletions
diff --git a/src/svc.c b/src/svc.c
index ad6e33f..d68fb72 100644
--- a/src/svc.c
+++ b/src/svc.c
@@ -1,7 +1,28 @@
+/**
+ * @file svc.c
+ * An unused handler for SVC calls
+ * TODO: use SVC calls, possibly allowing for switch to unprivileged mode?
+ *
+ * Copyright (C) 2018 Clyne Sullivan
+ *
+ * This program is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program. If not, see <https://www.gnu.org/licenses/>.
+ */
+
#include <stdint.h>
#include <gpio.h>
#include <clock.h>
-#include <lcd.h>
+//#include <lcd.h>
void SVC_Handler(void) {
uint32_t *stack;