summaryrefslogtreecommitdiff
path: root/libcpu/mips/pic32
diff options
context:
space:
mode:
authorBernard Xiong <[email protected]>2019-07-27 14:51:10 +0800
committerBernard Xiong <[email protected]>2019-07-27 14:51:10 +0800
commit384f3909711e831ee6dfe9fce4de337e07b35319 (patch)
tree8616205b271393523c775bc653077769027c6882 /libcpu/mips/pic32
parent5e88ea520560126d03afa3b485633434f90badbf (diff)
parent5180262010f5ed76f757125a75d54d37c289d022 (diff)
Merge remote-tracking branch 'github/master'
Diffstat (limited to 'libcpu/mips/pic32')
-rw-r--r--libcpu/mips/pic32/context_gcc.S17
1 files changed, 16 insertions, 1 deletions
diff --git a/libcpu/mips/pic32/context_gcc.S b/libcpu/mips/pic32/context_gcc.S
index 3e820fb9d8..bd46dffdc7 100644
--- a/libcpu/mips/pic32/context_gcc.S
+++ b/libcpu/mips/pic32/context_gcc.S
@@ -1,5 +1,20 @@
+/*
+ * Copyright (c) 2006-2019, RT-Thread Development Team
+ *
+ * SPDX-License-Identifier: Apache-2.0
+ *
+ * Change Logs:
+ * Date Author Notes
+ * 2011-05-24 aozima first version
+ * 2019-07-19 Zhou Yanjie clean up code
+ */
+
+#ifndef __ASSEMBLY__
+#define __ASSEMBLY__
+#endif
+
#include <p32xxxx.h>
-#include "../common/mips.inc"
+#include "../common/mips_def.h"
#include "../common/stackframe.h"
.section ".text", "ax"