From f33d39c832959e1fb890433467f6b9bb29850df5 Mon Sep 17 00:00:00 2001 From: isiora Date: Wed, 7 Mar 2018 11:44:49 +0000 Subject: New tssi interface. git-svn-id: https://svn.code.sf.net/p/chibios/svn2/trunk@11608 110e8d01-0319-4d1e-a829-52ad28d1bb01 --- .../ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/smcclient.c | 67 ---------------------- 1 file changed, 67 deletions(-) delete mode 100644 demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/smcclient.c (limited to 'demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/smcclient.c') diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/smcclient.c b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/smcclient.c deleted file mode 100644 index ef85a452b..000000000 --- a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/smcclient.c +++ /dev/null @@ -1,67 +0,0 @@ -/* - ChibiOS - Copyright (C) 2006..2016 Giovanni Di Sirio. - - This file is part of ChibiOS. - - ChibiOS is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License as published by - the Free Software Foundation; either version 3 of the License, or - (at your option) any later version. - - ChibiOS is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program. If not, see . -*/ - -/** - * @file smcclient.c - * @brief SMC client module code. - * - * @addtogroup SMC - * @{ - */ - -#include "ch.h" -#include "smcclient.h" - -msg_t smcInvoke(smc_service_t handle, smc_params_area_t data, - size_t size); -/*===========================================================================*/ -/* Module local definitions. */ -/*===========================================================================*/ - -/*===========================================================================*/ -/* Module exported variables. */ -/*===========================================================================*/ - -/*===========================================================================*/ -/* Module local types. */ -/*===========================================================================*/ - -/*===========================================================================*/ -/* Module local variables. */ -/*===========================================================================*/ - -/*===========================================================================*/ -/* Module local functions. */ -/*===========================================================================*/ - -/*===========================================================================*/ -/* Module exported functions. */ -/*===========================================================================*/ -msg_t smcInvokeService(smc_service_t handle, smc_params_area_t data, - size_t size) -{ - msg_t result; - - result = smcInvoke(handle, data, size); - while (result == SMC_SVC_INTR) - result = smcInvoke(SMC_HND_REENTER, 0, 0); - return result; -} - -/** @} */ -- cgit v1.2.3