summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorKumar Gala <kumar.gala@linaro.org>2017-01-25 08:24:57 -0600
committerKumar Gala <kumar.gala@linaro.org>2017-01-30 11:02:39 -0600
commit5068e9657f170340d66abb759907b32f6cad1093 (patch)
tree62e2f58276d56506952862cbe408d48fda9d5fd8 /include
parent434fad045ab61f6ba06068c391faaef186302c04 (diff)
arm: cmsis: Convert _ScbPendsvSet to use direct CMSIS register access
Jira: ZEP-1568 Change-Id: I25653d8fbe3842fbfa79191d388c6f6693fca39c Signed-off-by: Kumar Gala <kumar.gala@linaro.org>
Diffstat (limited to 'include')
-rw-r--r--include/arch/arm/cortex_m/scb.h15
1 files changed, 0 insertions, 15 deletions
diff --git a/include/arch/arm/cortex_m/scb.h b/include/arch/arm/cortex_m/scb.h
index 967b492b2..df9e3a88d 100644
--- a/include/arch/arm/cortex_m/scb.h
+++ b/include/arch/arm/cortex_m/scb.h
@@ -53,21 +53,6 @@ extern "C" {
/**
*
- * @brief Set the PendSV exception
- *
- * Set the PendSV exception: it will be handled when the last nested exception
- * returns, or immediately if running in thread mode.
- *
- * @return N/A
- */
-
-static inline void _ScbPendsvSet(void)
-{
- __scs.scb.icsr.bit.pendsvset = 1;
-}
-
-/**
- *
* @brief Find out if running in thread mode
*
* This routine determines if the current mode is thread mode.