summaryrefslogtreecommitdiff
path: root/core/cortex-m0/panic-internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'core/cortex-m0/panic-internal.h')
-rw-r--r--core/cortex-m0/panic-internal.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/core/cortex-m0/panic-internal.h b/core/cortex-m0/panic-internal.h
new file mode 100644
index 0000000000..cd30849f53
--- /dev/null
+++ b/core/cortex-m0/panic-internal.h
@@ -0,0 +1,11 @@
+/* Copyright (c) 2018 The Chromium OS Authors. All rights reserved.
+ * Use of this source code is governed by a BSD-style license that can be
+ * found in the LICENSE file.
+ */
+
+#ifndef __CROS_EC_PANIC_INTERNAL_H
+#define __CROS_EC_PANIC_INTERNAL_H
+
+void exception_panic(void) __attribute__((noreturn, naked));
+
+#endif /* __CROS_EC_PANIC_INTERNAL_H */