1 /* 2 * Arm SCP/MCP Software 3 * Copyright (c) 2022, Arm Limited and Contributors. All rights reserved. 4 * 5 * SPDX-License-Identifier: BSD-3-Clause 6 */ 7 8 #ifndef ARCH_HELPERS_H 9 #define ARCH_HELPERS_H 10 11 /*! 12 * \brief Enables global CPU interrupts. (stub) 13 * 14 */ arch_interrupts_enable(unsigned int not_used)15inline static void arch_interrupts_enable(unsigned int not_used) 16 { 17 } 18 19 /*! 20 * \brief Disables global CPU interrupts. (stub) 21 * 22 */ arch_interrupts_disable(void)23inline static unsigned int arch_interrupts_disable(void) 24 { 25 return 0; 26 } 27 28 /*! 29 * \brief Suspend execution of current CPU. 30 * 31 */ arch_suspend(void)32inline static void arch_suspend(void) 33 { 34 } 35 36 #endif /* ARCH_HELPERS_H */ 37