1 /* 2 * Copyright 2023 NXP 3 * 4 * SPDX-License-Identifier: BSD-3-Clause 5 */ 6 7 /** 8 * @file 9 * 10 * @addtogroup OSIF_DRIVER 11 * @{ 12 */ 13 14 #ifndef OSIF_ARCHCFG_H 15 #define OSIF_ARCHCFG_H 16 17 #ifdef __cplusplus 18 extern "C"{ 19 #endif 20 21 /*================================================================================================== 22 INCLUDE FILES 23 1) system and project includes 24 2) needed interfaces from external units 25 3) internal and external interfaces from this unit 26 ==================================================================================================*/ 27 28 /*================================================================================================== 29 * SOURCE FILE VERSION INFORMATION 30 ==================================================================================================*/ 31 #define OSIF_ARCHCFG_VENDOR_ID 43 32 #define OSIF_ARCHCFG_AR_RELEASE_MAJOR_VERSION 4 33 #define OSIF_ARCHCFG_AR_RELEASE_MINOR_VERSION 7 34 #define OSIF_ARCHCFG_AR_RELEASE_REVISION_VERSION 0 35 #define OSIF_ARCHCFG_SW_MAJOR_VERSION 3 36 #define OSIF_ARCHCFG_SW_MINOR_VERSION 0 37 #define OSIF_ARCHCFG_SW_PATCH_VERSION 0 38 39 /*================================================================================================== 40 * FILE VERSION CHECKS 41 ==================================================================================================*/ 42 43 /*================================================================================================== 44 * CONSTANTS 45 ==================================================================================================*/ 46 #define MCAL_ARM_MARCH (16) /* for ARM M4 Thumb2 */ 47 #define MCAL_ARM_AARCH32 (32) /* for ARM ARCH32 */ 48 #define MCAL_ARM_AARCH64 (64) /* for ARM ARCH64 */ 49 #define MCAL_ARM_RARCH (52) /* for ARM R platform */ 50 51 /*================================================================================================== 52 * DEFINES AND MACROS 53 ==================================================================================================*/ 54 /* ARM_MARCH - is used to specify the ARM architecture MCAL_MARCH, MCAL_RARCH, MCAL_AARCH32, MCAL_AARCH64 */ 55 #define MCAL_PLATFORM_ARM MCAL_ARM_MARCH 56 57 58 59 60 /*================================================================================================== 61 * ENUMS 62 ==================================================================================================*/ 63 64 /*================================================================================================== 65 * STRUCTURES AND OTHER TYPEDEFS 66 ==================================================================================================*/ 67 68 /*================================================================================================== 69 * GLOBAL VARIABLE DECLARATIONS 70 ==================================================================================================*/ 71 72 /*================================================================================================== 73 GLOBAL CONSTANTS 74 ==================================================================================================*/ 75 76 /*================================================================================================== 77 * FUNCTION PROTOTYPES 78 ==================================================================================================*/ 79 80 81 #ifdef __cplusplus 82 } 83 #endif /* __cplusplus */ 84 #endif /* OSIF_ARCHCFG_H */ 85 /** @} */ 86