nmi.h 450 B

12345678910111213141516171819202122232425
  1. /**
  2. * @file
  3. *
  4. * @brief ARM AArch32 NMI routines
  5. */
  6. /*
  7. * Copyright (c) 2015 Intel Corporation
  8. *
  9. * SPDX-License-Identifier: Apache-2.0
  10. */
  11. #ifndef ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_NMI_H_
  12. #define ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_NMI_H_
  13. #ifndef _ASMLANGUAGE
  14. #ifdef CONFIG_RUNTIME_NMI
  15. extern void z_arm_nmi_init(void);
  16. #define NMI_INIT() z_arm_nmi_init()
  17. #else
  18. #define NMI_INIT()
  19. #endif
  20. #endif
  21. #endif /* ZEPHYR_INCLUDE_ARCH_ARM_AARCH32_NMI_H_ */