From 835954edca02c5457a8f73af77d8b8bc8d7ccd8b Mon Sep 17 00:00:00 2001 From: isiora Date: Fri, 19 Jan 2018 16:50:34 +0000 Subject: git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11356 35acf78f-673a-0410-8e92-d51de3d6d3f4 --- os/common/ports/ARMCAx-TZ/chsmc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'os/common/ports/ARMCAx-TZ/chsmc.c') diff --git a/os/common/ports/ARMCAx-TZ/chsmc.c b/os/common/ports/ARMCAx-TZ/chsmc.c index 8aead3865..f24a77716 100644 --- a/os/common/ports/ARMCAx-TZ/chsmc.c +++ b/os/common/ports/ARMCAx-TZ/chsmc.c @@ -99,6 +99,7 @@ void smcInit(void) { /** * @brief The trusted service call entry point. + * @pre The foreign interrupts are disabled. * @post A request is passed to the thread registered for the service. * @post The service thread is resumed. * @@ -184,7 +185,7 @@ msg_t smcServiceWaitRequest(smc_service_t *svcp) chSysLock(); if (_ns_thread) { - /* Ack previous service invocation */ + /* Ack the previous service invocation */ chThdResumeI(&_ns_thread, MSG_OK); } r = chThdSuspendTimeoutS(&svcp->svct, TIME_INFINITE); -- cgit v1.2.3