1 /* 2 * Copyright (c) 2017 Oticon A/S 3 * Copyright (c) 2023 Nordic Semiconductor ASA 4 * 5 * SPDX-License-Identifier: Apache-2.0 6 */ 7 /** 8 * @file Extra definitions provided by the board to soc.h 9 * 10 * Background: 11 * The POSIX ARCH/SOC/board layering is different than in normal archs 12 * The "SOC" does not provide almost any of the typical SOC functionality 13 * but that is left for the "board" to define it 14 * Device code may rely on the soc.h defining some things (like the interrupts 15 * numbers) 16 * Therefore this file is included from the inf_clock soc.h to allow a board 17 * to define that kind of SOC related snippets 18 */ 19 20 #ifndef BOARDS_POSIX_NATIVE_SIM_BOARD_SOC_H 21 #define BOARDS_POSIX_NATIVE_SIM_BOARD_SOC_H 22 23 #include "nsi_cpu0_interrupts.h" 24 25 #define NSOS_IRQ 3 26 27 #endif /* BOARDS_POSIX_NATIVE_SIM_BOARD_SOC_H */ 28