summaryrefslogtreecommitdiff
path: root/include/arch/arm/cortex_m/scb.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/arch/arm/cortex_m/scb.h')
-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 df9e3a88d..d5358aa3c 100644
--- a/include/arch/arm/cortex_m/scb.h
+++ b/include/arch/arm/cortex_m/scb.h
@@ -53,21 +53,6 @@ extern "C" {
/**
*
- * @brief Find out if running in thread mode
- *
- * This routine determines if the current mode is thread mode.
- *
- * @return 1 if in thread mode, 0 otherwise
- */
-
-static inline int _ScbIsInThreadMode(void)
-{
- /* 0 == thread mode */
- return !__scs.scb.icsr.bit.vectactive;
-}
-
-/**
- *
* @brief Obtain the currently executing vector
*
* If currently handling an exception/interrupt, return the executing vector