mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-09-18 00:51:56 +00:00
This patch re-namespaces global variables and functions that are used only within the arch/arm/ code to be prefixed with z_arm_. Some instances of CamelCase have been corrected. Signed-off-by: Andrew Boie <andrew.p.boie@intel.com>
26 lines
465 B
C
26 lines
465 B
C
/**
|
|
* @file
|
|
*
|
|
* @brief NMI routines for ARM Cortex M series
|
|
*/
|
|
|
|
/*
|
|
* Copyright (c) 2015 Intel Corporation
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#ifndef ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_NMI_H_
|
|
#define ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_NMI_H_
|
|
|
|
#ifndef _ASMLANGUAGE
|
|
#ifdef CONFIG_RUNTIME_NMI
|
|
extern void z_arm_nmi_init(void);
|
|
#define NMI_INIT() z_arm_nmi_init()
|
|
#else
|
|
#define NMI_INIT()
|
|
#endif
|
|
#endif
|
|
|
|
#endif /* ZEPHYR_INCLUDE_ARCH_ARM_CORTEX_M_NMI_H_ */
|