1 /* 2 * Copyright (c) 2022, Arm Limited. All rights reserved. 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 * 6 */ 7 8 #include "platform_svc_numbers.h" 9 #include "dma350_checker_layer.h" 10 #include "dma350_privileged_config.h" 11 12 #include <stdint.h> 13 14 __attribute__((naked)) request_dma350_priv_config(enum dma350_config_type_t config_type,uint8_t channel,void * config)15enum dma350_lib_error_t request_dma350_priv_config( 16 enum dma350_config_type_t config_type, 17 uint8_t channel, void* config) 18 { 19 /* Platform SVC handlers can be added for secure world in TF-M */ 20 __asm("SVC %0\n" 21 "BX LR\n" 22 : : "I" (TFM_SVC_PLATFORM_DMA350_CONFIG)); 23 } 24