diff options
author | isiora <none@example.com> | 2018-01-20 22:26:16 +0000 |
---|---|---|
committer | isiora <none@example.com> | 2018-01-20 22:26:16 +0000 |
commit | 5ca57c9aa2e09be26d9c849e51cc516701ac7d8e (patch) | |
tree | 9e480e6cd0d76adf6d341385a4935b8763ce0ad5 /demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/smc.S | |
parent | be86ff8a8d0566530ac29a094f6f1aeee6b7a824 (diff) | |
download | ChibiOS-5ca57c9aa2e09be26d9c849e51cc516701ac7d8e.tar.gz ChibiOS-5ca57c9aa2e09be26d9c849e51cc516701ac7d8e.tar.bz2 ChibiOS-5ca57c9aa2e09be26d9c849e51cc516701ac7d8e.zip |
git-svn-id: svn://svn.code.sf.net/p/chibios/svn/trunk@11373 35acf78f-673a-0410-8e92-d51de3d6d3f4
Diffstat (limited to 'demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/smc.S')
-rw-r--r-- | demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/smc.S | 42 |
1 files changed, 42 insertions, 0 deletions
diff --git a/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/smc.S b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/smc.S new file mode 100644 index 000000000..8452dc190 --- /dev/null +++ b/demos/ATSAMA5D2/RT-SAMA5D2-XPLAINED-NSEC/smc.S @@ -0,0 +1,42 @@ +/* + 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 <http://www.gnu.org/licenses/>. +*/ + +/** + * @file smcclient.S + * @brief SMC client module code. + * + * @addtogroup SMC + * @{ + */ + .section .text + .code 32 + .balign 4 +/* + * r0 smc_service_t handle + * r1 smc_params_area_t data + * r2 size_t size + * + * r0 msg_t result + */ + .global smcInvoke +smcInvoke: + smc #0 + bx lr +/** @} */ + |