Skip to content

Commit

Permalink
Update oscore.h
Browse files Browse the repository at this point in the history
  • Loading branch information
Rajmund Szymanski committed Nov 16, 2018
1 parent 1932b3e commit 987172b
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions StateOS/port/.cortexm/inc/oscore.h
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
@file StateOS: oscore.h
@author Rajmund Szymanski
@date 12.11.2018
@date 17.11.2018
@brief StateOS port file for ARM Cotrex-M uC.
******************************************************************************
Expand Down Expand Up @@ -145,15 +145,6 @@ void port_ctx_init( ctx_t *ctx, fun_t *pc )
ctx->hwx.cc = 0x01000000;
}

/* -------------------------------------------------------------------------- */

#if defined(__CSMC__)

#define __get_BASEPRI() __ASM("mrs r0,basepri")
#define __set_BASEPRI(val) __ASM("msr basepri,r0", val)

#endif

/* -------------------------------------------------------------------------- */
// is procedure inside ISR?

Expand Down

0 comments on commit 987172b

Please sign in to comment.