mirror of https://github.com/ARMmbed/mbed-os.git
RTX5: uVisor: Remove static from svcRtxKernelUnlock/Lock to support uVisor
parent
2f7a841e0e
commit
a1fb51c283
|
@ -293,7 +293,7 @@ static osStatus_t svcRtxKernelStart (void) {
|
||||||
|
|
||||||
/// Lock the RTOS Kernel scheduler.
|
/// Lock the RTOS Kernel scheduler.
|
||||||
/// \note API identical to osKernelLock
|
/// \note API identical to osKernelLock
|
||||||
static int32_t svcRtxKernelLock (void) {
|
int32_t svcRtxKernelLock (void) {
|
||||||
int32_t lock;
|
int32_t lock;
|
||||||
|
|
||||||
switch (osRtxInfo.kernel.state) {
|
switch (osRtxInfo.kernel.state) {
|
||||||
|
@ -316,7 +316,7 @@ static int32_t svcRtxKernelLock (void) {
|
||||||
|
|
||||||
/// Unlock the RTOS Kernel scheduler.
|
/// Unlock the RTOS Kernel scheduler.
|
||||||
/// \note API identical to osKernelUnlock
|
/// \note API identical to osKernelUnlock
|
||||||
static int32_t svcRtxKernelUnlock (void) {
|
int32_t svcRtxKernelUnlock (void) {
|
||||||
int32_t lock;
|
int32_t lock;
|
||||||
|
|
||||||
switch (osRtxInfo.kernel.state) {
|
switch (osRtxInfo.kernel.state) {
|
||||||
|
|
Loading…
Reference in New Issue