summaryrefslogtreecommitdiffstats
path: root/asm.h
diff options
context:
space:
mode:
Diffstat (limited to 'asm.h')
-rw-r--r--asm.h24
1 files changed, 21 insertions, 3 deletions
diff --git a/asm.h b/asm.h
index f638d58..63310b5 100644
--- a/asm.h
+++ b/asm.h
@@ -1,5 +1,23 @@
-#ifndef ASM_H
-#define ASM_H
+/*
+ * asm.h -- ARM thumb assembly instructions
+ *
+ * Copyright (C) 2016-2017 Tomasz Kramkowski <tk@the-tk.com>
+ *
+ * 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 <http://www.gnu.org/licenses/>.
+ */
+#ifndef FMK_ASM_H
+#define FMK_ASM_H
#include <stdint.h>
@@ -21,4 +39,4 @@ static inline void set_BASEPRI(uint32_t p)
__asm__ volatile ("msr basepri, %0" ::"r"(p));
}
-#endif /* ASM_H */
+#endif /* FMK_ASM_H */