From 18e0c85dd36e79298353d54ebf119f049bb4f43d Mon Sep 17 00:00:00 2001 From: arighi Date: Fri, 9 Apr 2010 16:29:53 +0000 Subject: [PATCH] CM3: add missing include switch_ctx_cm3.h. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3413 38d2e660-2303-0410-9eaa-f027e97ec537 --- bertos/cpu/cortex-m3/hw/switch_ctx_cm3.h | 44 ++++++++++++++++++++++++ 1 file changed, 44 insertions(+) create mode 100644 bertos/cpu/cortex-m3/hw/switch_ctx_cm3.h diff --git a/bertos/cpu/cortex-m3/hw/switch_ctx_cm3.h b/bertos/cpu/cortex-m3/hw/switch_ctx_cm3.h new file mode 100644 index 00000000..24efcc28 --- /dev/null +++ b/bertos/cpu/cortex-m3/hw/switch_ctx_cm3.h @@ -0,0 +1,44 @@ +/** + * \file + * + * + * \brief Cortex-M3 context switch + */ + +#ifndef SWITCH_CTX_CM3_H +#define SWITCH_CTX_CM3_H + +#if CONFIG_KERN_PREEMPT +extern void svcall_handler(void); +extern void pendsv_handler(void); +#endif /* CONFIG_KERN_PREEMPT */ + +#endif /* SWITCH_CTX_CM3_H */ -- 2.25.1