From c47485371ac69797b487f9549368fab62859de78 Mon Sep 17 00:00:00 2001 From: Clyne Sullivan Date: Tue, 24 Apr 2018 14:11:01 -0400 Subject: file cleanup, better text, documentation --- src/svc.c | 23 ++++++++++++++++++++++- 1 file changed, 22 insertions(+), 1 deletion(-) (limited to 'src/svc.c') 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 . + */ + #include #include #include -#include +//#include void SVC_Handler(void) { uint32_t *stack; -- cgit v1.2.3