* $Version : 3.6.7.0$ * $Date : Jun-4-2010$ * * Comments: * * This file contains the source functions for functions required to * specifically initialize the card. * *END************************************************************************/ #include "mqx_inc.h" #include "bsp.h" #include "bsp_prv.h" const char _PTR_ _mqx_bsp_revision = REAL_NUM_TO_STR(BSP_REVISION); const char _PTR_ _mqx_io_revision = REAL_NUM_TO_STR(IO_REVISION); static uint_32 _bsp_get_hwticks(pointer param); static void _bsp_setup_watchdog(void); extern boolean _bsp_timer_sw_prescaller_check(); /*FUNCTION*------------------------------------------------------------------- * * Function Name : _bsp_enable_card * Returned Value : uint_32 result * Comments : * This function sets up operation of the card. *
*/ const MQX_TICK_STRUCT _mqx_zero_tick_struct = {0}; /* version/vendor identification also used by TAD to determine paths to its context files */ const uint_32 _mqx_version_number = 0x04000001; const char _PTR_ const _mqx_vendor = "Freescale/Freescale MQX"; /* Identify the product */ #if MQX_CRIPPLED_EVALUATION const char _PTR_ const _mqx_version = "4.0.1c"; #else const char _PTR_ const _mqx_version = "4.0.1"; #endif /* version strings */ const char _PTR_ const _mqx_generic_revision = REAL_NUM_TO_STR(GEN_REVISION); const char _PTR_ const _mqx_psp_revision = REAL_NUM_TO_STR(PSP_REVISION); const char _PTR_ const _mqx_copyright = "(c) 2013 Freescale Semiconductor. All rights reserved."; const char _PTR_ const _mqx_date = __DATE__ " at " __TIME__; /* A global pointer to the location of the kernel data structure */ KERNEL_ACCESS struct kernel_data_struct _PTR_ _mqx_kernel_data = (pointer)-1; KERNEL_ACCESS volatile pointer _mqx_system_stack; /* Error return jump buffer for kernel errors */ #if MQX_EXIT_ENABLED || MQX_CRIPPLED_EVALUATION jmp_buf _mqx_exit_jump_buffer_internal; #endif /* TODO copied from monitor.c find suitable place */ volatile _WEAK_SYMBOL(_mqx_uint _mqx_monitor_type) = MQX_MONITOR_TYPE_NONE;