From: arighi Date: Fri, 9 Apr 2010 16:29:53 +0000 (+0000) Subject: CM3: add missing include switch_ctx_cm3.h. X-Git-Tag: 2.5.0~495 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=18e0c85dd36e79298353d54ebf119f049bb4f43d;p=bertos.git CM3: add missing include switch_ctx_cm3.h. git-svn-id: https://src.develer.com/svnoss/bertos/trunk@3413 38d2e660-2303-0410-9eaa-f027e97ec537 --- 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 */