From: richardbarry Date: Thu, 7 Aug 2008 19:13:15 +0000 (+0000) Subject: Stubs ready for ColdFire V2 demo. X-Git-Tag: V5.1.2~263 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=b2e413c9c5e3b1f30c488c77aff64181fad6a8c8;p=freertos Stubs ready for ColdFire V2 demo. git-svn-id: https://svn.code.sf.net/p/freertos/code/trunk@433 1d2547de-c912-0410-9cb9-b8ca96c0e9e2 --- diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/.cproject b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/.cproject new file mode 100644 index 000000000..353b51a6b --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/.cproject @@ -0,0 +1,216 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/.project b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/.project new file mode 100644 index 000000000..9627c21f8 --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/.project @@ -0,0 +1,89 @@ + + + RTOSDemo + + + + + + org.eclipse.cdt.managedbuilder.core.genmakebuilder + clean,full,incremental, + + + ?name? + + + + org.eclipse.cdt.make.core.append_environment + true + + + org.eclipse.cdt.make.core.autoBuildTarget + all + + + org.eclipse.cdt.make.core.buildArguments + + + + org.eclipse.cdt.make.core.buildCommand + cs-make + + + org.eclipse.cdt.make.core.cleanBuildTarget + clean + + + org.eclipse.cdt.make.core.contents + org.eclipse.cdt.make.core.activeConfigSettings + + + org.eclipse.cdt.make.core.enableAutoBuild + false + + + org.eclipse.cdt.make.core.enableCleanBuild + true + + + org.eclipse.cdt.make.core.enableFullBuild + true + + + org.eclipse.cdt.make.core.fullBuildTarget + all + + + org.eclipse.cdt.make.core.stopOnError + true + + + org.eclipse.cdt.make.core.useDefaultBuildCmd + false + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigBuilder + + + + + + org.eclipse.cdt.managedbuilder.core.ScannerConfigNature + org.eclipse.cdt.managedbuilder.core.managedBuildNature + org.eclipse.cdt.core.cnature + + + + Demo_Source + 2 + FREERTOS_ROOT/Demo/Common + + + FreeRTOS_Source + 2 + FREERTOS_ROOT/Source + + + diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOSConfig.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOSConfig.h new file mode 100644 index 000000000..b241a03e8 --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOSConfig.h @@ -0,0 +1,103 @@ +/* + FreeRTOS.org V5.0.3 - Copyright (C) 2003-2008 Richard Barry. + + This file is part of the FreeRTOS.org distribution. + + FreeRTOS.org is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + FreeRTOS.org is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with FreeRTOS.org; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + A special exception to the GPL can be applied should you wish to distribute + a combined work that includes FreeRTOS.org, without being obliged to provide + the source code for any proprietary components. See the licensing section + of http://www.FreeRTOS.org for full details of how and when the exception + can be applied. + + *************************************************************************** + *************************************************************************** + * * + * SAVE TIME AND MONEY! We can port FreeRTOS.org to your own hardware, * + * and even write all or part of your application on your behalf. * + * See http://www.OpenRTOS.com for details of the services we provide to * + * expedite your project. * + * * + *************************************************************************** + *************************************************************************** + + Please ensure to read the configuration and relevant port sections of the + online documentation. + + http://www.FreeRTOS.org - Documentation, latest information, license and + contact details. + + http://www.SafeRTOS.com - A version that is certified for use in safety + critical systems. + + http://www.OpenRTOS.com - Commercial support, development, porting, + licensing and training services. +*/ + +#ifndef FREERTOS_CONFIG_H +#define FREERTOS_CONFIG_H + +#include "MCF5282.h" + +/*----------------------------------------------------------- + * Application specific definitions. + * + * These definitions should be adjusted for your particular hardware and + * application requirements. + * + * THESE PARAMETERS ARE DESCRIBED WITHIN THE 'CONFIGURATION' SECTION OF THE + * FreeRTOS API DOCUMENTATION AVAILABLE ON THE FreeRTOS.org WEB SITE. + *----------------------------------------------------------*/ + +#define configUSE_PREEMPTION 1 +#define configUSE_IDLE_HOOK 0 +#define configUSE_TICK_HOOK 0 +#define configCPU_CLOCK_HZ ( ( unsigned portLONG ) 25000000 ) +#define configTICK_RATE_HZ ( ( portTickType ) 1000 ) +#define configMINIMAL_STACK_SIZE ( ( unsigned portSHORT ) 60 ) +#define configTOTAL_HEAP_SIZE ( ( size_t ) ( 24000 ) ) +#define configMAX_TASK_NAME_LEN ( 12 ) +#define configUSE_TRACE_FACILITY 1 +#define configUSE_16_BIT_TICKS 0 +#define configIDLE_SHOULD_YIELD 0 +#define configUSE_CO_ROUTINES 0 +#define configUSE_MUTEXES 1 +#define configCHECK_FOR_STACK_OVERFLOW 2 +#define configUSE_RECURSIVE_MUTEXES 1 +#define configQUEUE_REGISTRY_SIZE 10 + +#define configMAX_PRIORITIES ( ( unsigned portBASE_TYPE ) 5 ) +#define configMAX_CO_ROUTINE_PRIORITIES ( 2 ) + +/* Set the following definitions to 1 to include the API function, or zero +to exclude the API function. */ + +#define INCLUDE_vTaskPrioritySet 1 +#define INCLUDE_uxTaskPriorityGet 1 +#define INCLUDE_vTaskDelete 1 +#define INCLUDE_vTaskCleanUpResources 0 +#define INCLUDE_vTaskSuspend 1 +#define INCLUDE_vTaskDelayUntil 1 +#define INCLUDE_vTaskDelay 1 +#define INCLUDE_uxTaskGetStackHighWaterMark 1 + + + +#define configKERNEL_INTERRUPT_PRIORITY 1 +#define configMAX_SYSCALL_INTERRUPT_PRIORITY 191 /* equivalent to 0xa0, or priority 5. */ + + +#endif /* FREERTOS_CONFIG_H */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOS_Timer.c b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOS_Timer.c new file mode 100644 index 000000000..dd3f831ab --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/FreeRTOS_Timer.c @@ -0,0 +1,82 @@ +/* + FreeRTOS.org V5.0.3 - Copyright (C) 2003-2008 Richard Barry. + + This file is part of the FreeRTOS.org distribution. + + FreeRTOS.org is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + FreeRTOS.org is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with FreeRTOS.org; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + A special exception to the GPL can be applied should you wish to distribute + a combined work that includes FreeRTOS.org, without being obliged to provide + the source code for any proprietary components. See the licensing section + of http://www.FreeRTOS.org for full details of how and when the exception + can be applied. + + *************************************************************************** + *************************************************************************** + * * + * SAVE TIME AND MONEY! We can port FreeRTOS.org to your own hardware, * + * and even write all or part of your application on your behalf. * + * See http://www.OpenRTOS.com for details of the services we provide to * + * expedite your project. * + * * + *************************************************************************** + *************************************************************************** + + Please ensure to read the configuration and relevant port sections of the + online documentation. + + http://www.FreeRTOS.org - Documentation, latest information, license and + contact details. + + http://www.SafeRTOS.com - A version that is certified for use in safety + critical systems. + + http://www.OpenRTOS.com - Commercial support, development, porting, + licensing and training services. +*/ + +#include "FreeRTOS.h" + +#define portPRESCALE_VALUE 64 +#define portPRESCALE_REG_SETTING ( 5 << 8 ) +#define portPIT_INTERRUPT_ENABLED ( 0x08 ) +#define configPIT0_INTERRUPT_VECTOR ( 55 ) + +static void vApplicationSetupInterrupts( void ) +{ +const unsigned portSHORT usCompareMatchValue = ( ( configCPU_CLOCK_HZ / portPRESCALE_VALUE ) / configTICK_RATE_HZ ); + + /* Configure interrupt priority and level and unmask interrupt. */ + MCF_INTC0_ICR55 = ( configKERNEL_INTERRUPT_PRIORITY | ( 1 << 3 ) ); + MCF_INTC0_IMRH &= ~( MCF_INTC_IMRH_INT_MASK55 ); + + MCF_INTC0_ICR63 = ( configKERNEL_INTERRUPT_PRIORITY | ( 1 << 3 ) ); + MCF_INTC0_IMRH &= ~( MCF_INTC_IMRH_INT_MASK63 ); + + MCF_PIT0_PCSR |= MCF_PIT_PCSR_PIF; + MCF_PIT0_PCSR = ( portPRESCALE_REG_SETTING | MCF_PIT_PCSR_PIE | MCF_PIT_PCSR_RLD | MCF_PIT_PCSR_EN ); + MCF_PIT0_PMR = usCompareMatchValue; +} + +void __attribute__ ((interrupt)) __cs3_isr_interrupt_127(void) +{ + MCF_INTC0_INTFRCH &= ~( 1UL << 31UL ); +} + +void __attribute__ ((interrupt)) __cs3_isr_interrupt_119(void) +{ + MCF_PIT0_PCSR |= MCF_PIT_PCSR_PIF; + MCF_INTC0_INTFRCH |= ( 1UL << 31UL ); +} diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282.h new file mode 100644 index 000000000..4cf0c82ec --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282.h @@ -0,0 +1,89 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_H__ +#define __MCF5282_H__ + + +/********************************************************************/ +/* + * The basic data types + */ + +typedef unsigned char uint8; /* 8 bits */ +typedef unsigned short int uint16; /* 16 bits */ +typedef unsigned long int uint32; /* 32 bits */ + +typedef signed char int8; /* 8 bits */ +typedef signed short int int16; /* 16 bits */ +typedef signed long int int32; /* 32 bits */ + +typedef volatile uint8 vuint8; /* 8 bits */ +typedef volatile uint16 vuint16; /* 16 bits */ +typedef volatile uint32 vuint32; /* 32 bits */ + +#ifdef __cplusplus +extern "C" { +#endif + +#if 0 +#pragma define_section system ".system" far_absolute RW + +/*** + * MCF5282 Derivative Memory map definitions from linker command files: + * __IPSBAR, __FLASHBAR, __FLASHBAR_SIZE, __RAMBAR, __RAMBAR_SIZE + * linker symbols must be defined in the linker command file. + */ + +extern __declspec(system) uint8 __IPSBAR[]; +extern __declspec(system) uint8 __FLASHBAR[]; +extern __declspec(system) uint8 __FLASHBAR_SIZE[]; +extern __declspec(system) uint8 __RAMBAR[]; +extern __declspec(system) uint8 __RAMBAR_SIZE[]; +#endif + +#define __IPSBAR ((uint8*)0x40000000) + +#define IPSBAR_ADDRESS (uint32)__IPSBAR +#define FLASHBAR_ADDRESS (uint32)__FLASHBAR +#define FLASHBAR_SIZE (uint32)__FLASHBAR_SIZE +#define RAMBAR_ADDRESS (uint32)__RAMBAR +#define RAMBAR_SIZE (uint32)__RAMBAR_SIZE + + +#include "MCF5282_SCM.h" +#include "MCF5282_SDRAMC.h" +#include "MCF5282_CS.h" +#include "MCF5282_DMA.h" +#include "MCF5282_UART.h" +#include "MCF5282_I2C.h" +#include "MCF5282_QSPI.h" +#include "MCF5282_DTIM.h" +#include "MCF5282_INTC.h" +#include "MCF5282_GIACR.h" +#include "MCF5282_FEC.h" +#include "MCF5282_GPIO.h" +#include "MCF5282_PAD.h" +#include "MCF5282_RCM.h" +#include "MCF5282_PMM.h" +#include "MCF5282_CCM.h" +#include "MCF5282_CLOCK.h" +#include "MCF5282_EPORT.h" +#include "MCF5282_WTM.h" +#include "MCF5282_PIT.h" +#include "MCF5282_QADC.h" +#include "MCF5282_GPTA.h" +#include "MCF5282_GPTB.h" +#include "MCF5282_FlexCAN.h" +#include "MCF5282_CFM.h" + +#ifdef __cplusplus +} +#endif + + +#endif /* __MCF5282_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CCM.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CCM.h new file mode 100644 index 000000000..8d55b6932 --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CCM.h @@ -0,0 +1,54 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_CCM_H__ +#define __MCF5282_CCM_H__ + + +/********************************************************************* +* +* Chip Configuration Module (CCM) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_CCM_CCR (*(vuint16*)(&__IPSBAR[0x110004])) +#define MCF_CCM_RCON (*(vuint16*)(&__IPSBAR[0x110008])) +#define MCF_CCM_CIR (*(vuint16*)(&__IPSBAR[0x11000A])) + + +/* Bit definitions and macros for MCF_CCM_CCR */ +#define MCF_CCM_CCR_BMT(x) (((x)&0x7)<<0) +#define MCF_CCM_CCR_BMT_65536 (0) +#define MCF_CCM_CCR_BMT_32768 (0x1) +#define MCF_CCM_CCR_BMT_16384 (0x2) +#define MCF_CCM_CCR_BMT_8192 (0x3) +#define MCF_CCM_CCR_BMT_4096 (0x4) +#define MCF_CCM_CCR_BMT_2048 (0x5) +#define MCF_CCM_CCR_BMT_1024 (0x6) +#define MCF_CCM_CCR_BMT_512 (0x7) +#define MCF_CCM_CCR_BME (0x8) +#define MCF_CCM_CCR_PSTEN (0x20) +#define MCF_CCM_CCR_SZEN (0x40) +#define MCF_CCM_CCR_MODE(x) (((x)&0x7)<<0x8) +#define MCF_CCM_CCR_LOAD (0x8000) + +/* Bit definitions and macros for MCF_CCM_RCON */ +#define MCF_CCM_RCON_MODE (0x1) +#define MCF_CCM_RCON_BOOTSEL (0x4) +#define MCF_CCM_RCON_BOOTPS(x) (((x)&0x3)<<0x3) +#define MCF_CCM_RCON_RLOAD (0x20) +#define MCF_CCM_RCON_RPLLREF (0x40) +#define MCF_CCM_RCON_RPLLSEL (0x80) +#define MCF_CCM_RCON_RCSC(x) (((x)&0x3)<<0x8) + +/* Bit definitions and macros for MCF_CCM_CIR */ +#define MCF_CCM_CIR_PRN(x) (((x)&0xFF)<<0) +#define MCF_CCM_CIR_PIN(x) (((x)&0xFF)<<0x8) + + +#endif /* __MCF5282_CCM_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CFM.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CFM.h new file mode 100644 index 000000000..f7d1c5e8b --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CFM.h @@ -0,0 +1,72 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_CFM_H__ +#define __MCF5282_CFM_H__ + + +/********************************************************************* +* +* ColdFire Flash Module (CFM) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_CFM_CFMMCR (*(vuint16*)(&__IPSBAR[0x1D0000])) +#define MCF_CFM_CFMCLKD (*(vuint8 *)(&__IPSBAR[0x1D0002])) +#define MCF_CFM_CFMSEC (*(vuint32*)(&__IPSBAR[0x1D0008])) +#define MCF_CFM_CFMPROT (*(vuint32*)(&__IPSBAR[0x1D0010])) +#define MCF_CFM_CFMSACC (*(vuint32*)(&__IPSBAR[0x1D0014])) +#define MCF_CFM_CFMDACC (*(vuint32*)(&__IPSBAR[0x1D0018])) +#define MCF_CFM_CFMUSTAT (*(vuint8 *)(&__IPSBAR[0x1D0020])) +#define MCF_CFM_CFMCMD (*(vuint8 *)(&__IPSBAR[0x1D0024])) + + +/* Bit definitions and macros for MCF_CFM_CFMMCR */ +#define MCF_CFM_CFMMCR_KEYACC (0x20) +#define MCF_CFM_CFMMCR_CCIE (0x40) +#define MCF_CFM_CFMMCR_CBEIE (0x80) +#define MCF_CFM_CFMMCR_AEIE (0x100) +#define MCF_CFM_CFMMCR_PVIE (0x200) +#define MCF_CFM_CFMMCR_LOCK (0x400) + +/* Bit definitions and macros for MCF_CFM_CFMCLKD */ +#define MCF_CFM_CFMCLKD_DIV(x) (((x)&0x3F)<<0) +#define MCF_CFM_CFMCLKD_PRDIV8 (0x40) +#define MCF_CFM_CFMCLKD_DIVLD (0x80) + +/* Bit definitions and macros for MCF_CFM_CFMSEC */ +#define MCF_CFM_CFMSEC_SEC(x) (((x)&0xFFFF)<<0) +#define MCF_CFM_CFMSEC_SECSTAT (0x40000000) +#define MCF_CFM_CFMSEC_KEYEN (0x80000000) + +/* Bit definitions and macros for MCF_CFM_CFMPROT */ +#define MCF_CFM_CFMPROT_PROT(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_CFM_CFMSACC */ +#define MCF_CFM_CFMSACC_SUPV(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_CFM_CFMDACC */ +#define MCF_CFM_CFMDACC_DATA(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_CFM_CFMUSTAT */ +#define MCF_CFM_CFMUSTAT_BLANK (0x4) +#define MCF_CFM_CFMUSTAT_ACCERR (0x10) +#define MCF_CFM_CFMUSTAT_PVIOL (0x20) +#define MCF_CFM_CFMUSTAT_CCIF (0x40) +#define MCF_CFM_CFMUSTAT_CBEIF (0x80) + +/* Bit definitions and macros for MCF_CFM_CFMCMD */ +#define MCF_CFM_CFMCMD_CMD(x) (((x)&0x7F)<<0) +#define MCF_CFM_CFMCMD_BLANK_CHECK (0x5) +#define MCF_CFM_CFMCMD_PAGE_ERASE_VERIFY (0x6) +#define MCF_CFM_CFMCMD_WORD_PROGRAM (0x20) +#define MCF_CFM_CFMCMD_PAGE_ERASE (0x40) +#define MCF_CFM_CFMCMD_MASS_ERASE (0x41) + + +#endif /* __MCF5282_CFM_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CLOCK.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CLOCK.h new file mode 100644 index 000000000..5522724c8 --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CLOCK.h @@ -0,0 +1,43 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_CLOCK_H__ +#define __MCF5282_CLOCK_H__ + + +/********************************************************************* +* +* Clock Module (CLOCK) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_CLOCK_SYNCR (*(vuint16*)(&__IPSBAR[0x120000])) +#define MCF_CLOCK_SYNSR (*(vuint8 *)(&__IPSBAR[0x120002])) + + +/* Bit definitions and macros for MCF_CLOCK_SYNCR */ +#define MCF_CLOCK_SYNCR_STPMD0 (0x4) +#define MCF_CLOCK_SYNCR_STPMD1 (0x8) +#define MCF_CLOCK_SYNCR_FWKUP (0x20) +#define MCF_CLOCK_SYNCR_DISCLK (0x40) +#define MCF_CLOCK_SYNCR_LOCEN (0x80) +#define MCF_CLOCK_SYNCR_RFD(x) (((x)&0x7)<<0x8) +#define MCF_CLOCK_SYNCR_LOCRE (0x800) +#define MCF_CLOCK_SYNCR_MFD(x) (((x)&0x7)<<0xC) +#define MCF_CLOCK_SYNCR_LOLRE (0x8000) + +/* Bit definitions and macros for MCF_CLOCK_SYNSR */ +#define MCF_CLOCK_SYNSR_LOCS (0x4) +#define MCF_CLOCK_SYNSR_LOCK (0x8) +#define MCF_CLOCK_SYNSR_LOCKS (0x10) +#define MCF_CLOCK_SYNSR_PLLREF (0x20) +#define MCF_CLOCK_SYNSR_PLLSEL (0x40) +#define MCF_CLOCK_SYNSR_PLLMODE (0x80) + + +#endif /* __MCF5282_CLOCK_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CS.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CS.h new file mode 100644 index 000000000..239e7a7bd --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_CS.h @@ -0,0 +1,97 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_CS_H__ +#define __MCF5282_CS_H__ + + +/********************************************************************* +* +* Chip Select Module (CS) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_CS0_CSAR (*(vuint16*)(&__IPSBAR[0x80])) +#define MCF_CS0_CSMR (*(vuint32*)(&__IPSBAR[0x84])) +#define MCF_CS0_CSCR (*(vuint16*)(&__IPSBAR[0x8A])) + +#define MCF_CS1_CSAR (*(vuint16*)(&__IPSBAR[0x8C])) +#define MCF_CS1_CSMR (*(vuint32*)(&__IPSBAR[0x90])) +#define MCF_CS1_CSCR (*(vuint16*)(&__IPSBAR[0x96])) + +#define MCF_CS2_CSAR (*(vuint16*)(&__IPSBAR[0x98])) +#define MCF_CS2_CSMR (*(vuint32*)(&__IPSBAR[0x9C])) +#define MCF_CS2_CSCR (*(vuint16*)(&__IPSBAR[0xA2])) + +#define MCF_CS3_CSAR (*(vuint16*)(&__IPSBAR[0xA4])) +#define MCF_CS3_CSMR (*(vuint32*)(&__IPSBAR[0xA8])) +#define MCF_CS3_CSCR (*(vuint16*)(&__IPSBAR[0xAE])) + +#define MCF_CS4_CSAR (*(vuint16*)(&__IPSBAR[0xB0])) +#define MCF_CS4_CSMR (*(vuint32*)(&__IPSBAR[0xB4])) +#define MCF_CS4_CSCR (*(vuint16*)(&__IPSBAR[0xBA])) + +#define MCF_CS5_CSAR (*(vuint16*)(&__IPSBAR[0xBC])) +#define MCF_CS5_CSMR (*(vuint32*)(&__IPSBAR[0xC0])) +#define MCF_CS5_CSCR (*(vuint16*)(&__IPSBAR[0xC6])) + +#define MCF_CS6_CSAR (*(vuint16*)(&__IPSBAR[0xC8])) +#define MCF_CS6_CSMR (*(vuint32*)(&__IPSBAR[0xCC])) +#define MCF_CS6_CSCR (*(vuint16*)(&__IPSBAR[0xD2])) + +#define MCF_CS_CSAR(x) (*(vuint16*)(&__IPSBAR[0x80 + ((x)*0xC)])) +#define MCF_CS_CSMR(x) (*(vuint32*)(&__IPSBAR[0x84 + ((x)*0xC)])) +#define MCF_CS_CSCR(x) (*(vuint16*)(&__IPSBAR[0x8A + ((x)*0xC)])) + + +/* Bit definitions and macros for MCF_CS_CSAR */ +#define MCF_CS_CSAR_BA(x) (vuint16)(((x)&0xFFFF0000)>>0x10) + +/* Bit definitions and macros for MCF_CS_CSMR */ +#define MCF_CS_CSMR_V (0x1) +#define MCF_CS_CSMR_UD (0x2) +#define MCF_CS_CSMR_UC (0x4) +#define MCF_CS_CSMR_SD (0x8) +#define MCF_CS_CSMR_SC (0x10) +#define MCF_CS_CSMR_CI (0x20) +#define MCF_CS_CSMR_AM (0x40) +#define MCF_CS_CSMR_WP (0x100) +#define MCF_CS_CSMR_BAM(x) (((x)&0xFFFF)<<0x10) +#define MCF_CS_CSMR_BAM_4G (0xFFFF0000) +#define MCF_CS_CSMR_BAM_2G (0x7FFF0000) +#define MCF_CS_CSMR_BAM_1G (0x3FFF0000) +#define MCF_CS_CSMR_BAM_1024M (0x3FFF0000) +#define MCF_CS_CSMR_BAM_512M (0x1FFF0000) +#define MCF_CS_CSMR_BAM_256M (0xFFF0000) +#define MCF_CS_CSMR_BAM_128M (0x7FF0000) +#define MCF_CS_CSMR_BAM_64M (0x3FF0000) +#define MCF_CS_CSMR_BAM_32M (0x1FF0000) +#define MCF_CS_CSMR_BAM_16M (0xFF0000) +#define MCF_CS_CSMR_BAM_8M (0x7F0000) +#define MCF_CS_CSMR_BAM_4M (0x3F0000) +#define MCF_CS_CSMR_BAM_2M (0x1F0000) +#define MCF_CS_CSMR_BAM_1M (0xF0000) +#define MCF_CS_CSMR_BAM_1024K (0xF0000) +#define MCF_CS_CSMR_BAM_512K (0x70000) +#define MCF_CS_CSMR_BAM_256K (0x30000) +#define MCF_CS_CSMR_BAM_128K (0x10000) +#define MCF_CS_CSMR_BAM_64K (0) + +/* Bit definitions and macros for MCF_CS_CSCR */ +#define MCF_CS_CSCR_BSTW (0x8) +#define MCF_CS_CSCR_BSTR (0x10) +#define MCF_CS_CSCR_BEM (0x20) +#define MCF_CS_CSCR_PS(x) (((x)&0x3)<<0x6) +#define MCF_CS_CSCR_PS_32 (0) +#define MCF_CS_CSCR_PS_8 (0x40) +#define MCF_CS_CSCR_PS_16 (0x80) +#define MCF_CS_CSCR_AA (0x100) +#define MCF_CS_CSCR_WS(x) (((x)&0xF)<<0xA) + + +#endif /* __MCF5282_CS_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_DMA.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_DMA.h new file mode 100644 index 000000000..10f33c50a --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_DMA.h @@ -0,0 +1,97 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_DMA_H__ +#define __MCF5282_DMA_H__ + + +/********************************************************************* +* +* DMA Controller (DMA) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_DMA0_SAR (*(vuint32*)(&__IPSBAR[0x100])) +#define MCF_DMA0_DAR (*(vuint32*)(&__IPSBAR[0x104])) +#define MCF_DMA0_DCR (*(vuint32*)(&__IPSBAR[0x108])) +#define MCF_DMA0_BCR (*(vuint32*)(&__IPSBAR[0x10C])) +#define MCF_DMA0_DSR (*(vuint8 *)(&__IPSBAR[0x110])) + +#define MCF_DMA1_SAR (*(vuint32*)(&__IPSBAR[0x140])) +#define MCF_DMA1_DAR (*(vuint32*)(&__IPSBAR[0x144])) +#define MCF_DMA1_DCR (*(vuint32*)(&__IPSBAR[0x148])) +#define MCF_DMA1_BCR (*(vuint32*)(&__IPSBAR[0x14C])) +#define MCF_DMA1_DSR (*(vuint8 *)(&__IPSBAR[0x150])) + +#define MCF_DMA2_SAR (*(vuint32*)(&__IPSBAR[0x180])) +#define MCF_DMA2_DAR (*(vuint32*)(&__IPSBAR[0x184])) +#define MCF_DMA2_DCR (*(vuint32*)(&__IPSBAR[0x188])) +#define MCF_DMA2_BCR (*(vuint32*)(&__IPSBAR[0x18C])) +#define MCF_DMA2_DSR (*(vuint8 *)(&__IPSBAR[0x190])) + +#define MCF_DMA3_SAR (*(vuint32*)(&__IPSBAR[0x1C0])) +#define MCF_DMA3_DAR (*(vuint32*)(&__IPSBAR[0x1C4])) +#define MCF_DMA3_DCR (*(vuint32*)(&__IPSBAR[0x1C8])) +#define MCF_DMA3_BCR (*(vuint32*)(&__IPSBAR[0x1CC])) +#define MCF_DMA3_DSR (*(vuint8 *)(&__IPSBAR[0x1D0])) + +#define MCF_DMA_SAR(x) (*(vuint32*)(&__IPSBAR[0x100 + ((x)*0x40)])) +#define MCF_DMA_DAR(x) (*(vuint32*)(&__IPSBAR[0x104 + ((x)*0x40)])) +#define MCF_DMA_DCR(x) (*(vuint32*)(&__IPSBAR[0x108 + ((x)*0x40)])) +#define MCF_DMA_BCR(x) (*(vuint32*)(&__IPSBAR[0x10C + ((x)*0x40)])) +#define MCF_DMA_DSR(x) (*(vuint8 *)(&__IPSBAR[0x110 + ((x)*0x40)])) + + +/* Bit definitions and macros for MCF_DMA_SAR */ +#define MCF_DMA_SAR_SAR(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_DMA_DAR */ +#define MCF_DMA_DAR_DAR(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_DMA_DCR */ +#define MCF_DMA_DCR_AT (0x8000) +#define MCF_DMA_DCR_START (0x10000) +#define MCF_DMA_DCR_DSIZE(x) (((x)&0x3)<<0x11) +#define MCF_DMA_DCR_DSIZE_LONG (0) +#define MCF_DMA_DCR_DSIZE_BYTE (0x1) +#define MCF_DMA_DCR_DSIZE_WORD (0x2) +#define MCF_DMA_DCR_DSIZE_LINE (0x3) +#define MCF_DMA_DCR_DINC (0x80000) +#define MCF_DMA_DCR_SSIZE(x) (((x)&0x3)<<0x14) +#define MCF_DMA_DCR_SSIZE_LONG (0) +#define MCF_DMA_DCR_SSIZE_BYTE (0x1) +#define MCF_DMA_DCR_SSIZE_WORD (0x2) +#define MCF_DMA_DCR_SSIZE_LINE (0x3) +#define MCF_DMA_DCR_SINC (0x400000) +#define MCF_DMA_DCR_BWC(x) (((x)&0x7)<<0x19) +#define MCF_DMA_DCR_AA (0x10000000) +#define MCF_DMA_DCR_CS (0x20000000) +#define MCF_DMA_DCR_EEXT (0x40000000) +#define MCF_DMA_DCR_INT (0x80000000) +#define MCF_DMA_DCR_BWC_DMA (0) +#define MCF_DMA_DCR_BWC_512 (0x2000000) +#define MCF_DMA_DCR_BWC_1024 (0x4000000) +#define MCF_DMA_DCR_BWC_2048 (0x6000000) +#define MCF_DMA_DCR_BWC_4096 (0x8000000) +#define MCF_DMA_DCR_BWC_8192 (0xA000000) +#define MCF_DMA_DCR_BWC_16384 (0xC000000) +#define MCF_DMA_DCR_BWC_32768 (0xE000000) + +/* Bit definitions and macros for MCF_DMA_BCR */ +#define MCF_DMA_BCR_BCR(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_DMA_DSR */ +#define MCF_DMA_DSR_DONE (0x1) +#define MCF_DMA_DSR_BSY (0x2) +#define MCF_DMA_DSR_REQ (0x4) +#define MCF_DMA_DSR_BED (0x10) +#define MCF_DMA_DSR_BES (0x20) +#define MCF_DMA_DSR_CE (0x40) + + +#endif /* __MCF5282_DMA_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_DTIM.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_DTIM.h new file mode 100644 index 000000000..eceacc1e9 --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_DTIM.h @@ -0,0 +1,90 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_DTIM_H__ +#define __MCF5282_DTIM_H__ + + +/********************************************************************* +* +* DMA Timers (DTIM) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_DTIM0_DTMR (*(vuint16*)(&__IPSBAR[0x400])) +#define MCF_DTIM0_DTXMR (*(vuint8 *)(&__IPSBAR[0x402])) +#define MCF_DTIM0_DTER (*(vuint8 *)(&__IPSBAR[0x403])) +#define MCF_DTIM0_DTRR (*(vuint32*)(&__IPSBAR[0x404])) +#define MCF_DTIM0_DTCR (*(vuint32*)(&__IPSBAR[0x408])) +#define MCF_DTIM0_DTCN (*(vuint32*)(&__IPSBAR[0x40C])) + +#define MCF_DTIM1_DTMR (*(vuint16*)(&__IPSBAR[0x440])) +#define MCF_DTIM1_DTXMR (*(vuint8 *)(&__IPSBAR[0x442])) +#define MCF_DTIM1_DTER (*(vuint8 *)(&__IPSBAR[0x443])) +#define MCF_DTIM1_DTRR (*(vuint32*)(&__IPSBAR[0x444])) +#define MCF_DTIM1_DTCR (*(vuint32*)(&__IPSBAR[0x448])) +#define MCF_DTIM1_DTCN (*(vuint32*)(&__IPSBAR[0x44C])) + +#define MCF_DTIM2_DTMR (*(vuint16*)(&__IPSBAR[0x480])) +#define MCF_DTIM2_DTXMR (*(vuint8 *)(&__IPSBAR[0x482])) +#define MCF_DTIM2_DTER (*(vuint8 *)(&__IPSBAR[0x483])) +#define MCF_DTIM2_DTRR (*(vuint32*)(&__IPSBAR[0x484])) +#define MCF_DTIM2_DTCR (*(vuint32*)(&__IPSBAR[0x488])) +#define MCF_DTIM2_DTCN (*(vuint32*)(&__IPSBAR[0x48C])) + +#define MCF_DTIM3_DTMR (*(vuint16*)(&__IPSBAR[0x4C0])) +#define MCF_DTIM3_DTXMR (*(vuint8 *)(&__IPSBAR[0x4C2])) +#define MCF_DTIM3_DTER (*(vuint8 *)(&__IPSBAR[0x4C3])) +#define MCF_DTIM3_DTRR (*(vuint32*)(&__IPSBAR[0x4C4])) +#define MCF_DTIM3_DTCR (*(vuint32*)(&__IPSBAR[0x4C8])) +#define MCF_DTIM3_DTCN (*(vuint32*)(&__IPSBAR[0x4CC])) + +#define MCF_DTIM_DTMR(x) (*(vuint16*)(&__IPSBAR[0x400 + ((x)*0x40)])) +#define MCF_DTIM_DTXMR(x) (*(vuint8 *)(&__IPSBAR[0x402 + ((x)*0x40)])) +#define MCF_DTIM_DTER(x) (*(vuint8 *)(&__IPSBAR[0x403 + ((x)*0x40)])) +#define MCF_DTIM_DTRR(x) (*(vuint32*)(&__IPSBAR[0x404 + ((x)*0x40)])) +#define MCF_DTIM_DTCR(x) (*(vuint32*)(&__IPSBAR[0x408 + ((x)*0x40)])) +#define MCF_DTIM_DTCN(x) (*(vuint32*)(&__IPSBAR[0x40C + ((x)*0x40)])) + + +/* Bit definitions and macros for MCF_DTIM_DTMR */ +#define MCF_DTIM_DTMR_RST (0x1) +#define MCF_DTIM_DTMR_CLK(x) (((x)&0x3)<<0x1) +#define MCF_DTIM_DTMR_CLK_STOP (0) +#define MCF_DTIM_DTMR_CLK_DIV1 (0x2) +#define MCF_DTIM_DTMR_CLK_DIV16 (0x4) +#define MCF_DTIM_DTMR_CLK_DTIN (0x6) +#define MCF_DTIM_DTMR_FRR (0x8) +#define MCF_DTIM_DTMR_ORRI (0x10) +#define MCF_DTIM_DTMR_OM (0x20) +#define MCF_DTIM_DTMR_CE(x) (((x)&0x3)<<0x6) +#define MCF_DTIM_DTMR_CE_NONE (0) +#define MCF_DTIM_DTMR_CE_RISE (0x40) +#define MCF_DTIM_DTMR_CE_FALL (0x80) +#define MCF_DTIM_DTMR_CE_ANY (0xC0) +#define MCF_DTIM_DTMR_PS(x) (((x)&0xFF)<<0x8) + +/* Bit definitions and macros for MCF_DTIM_DTXMR */ +#define MCF_DTIM_DTXMR_MODE16 (0x1) +#define MCF_DTIM_DTXMR_DMAEN (0x80) + +/* Bit definitions and macros for MCF_DTIM_DTER */ +#define MCF_DTIM_DTER_CAP (0x1) +#define MCF_DTIM_DTER_REF (0x2) + +/* Bit definitions and macros for MCF_DTIM_DTRR */ +#define MCF_DTIM_DTRR_REF(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_DTIM_DTCR */ +#define MCF_DTIM_DTCR_CAP(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_DTIM_DTCN */ +#define MCF_DTIM_DTCN_CNT(x) (((x)&0xFFFFFFFF)<<0) + + +#endif /* __MCF5282_DTIM_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_EPORT.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_EPORT.h new file mode 100644 index 000000000..943802c78 --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_EPORT.h @@ -0,0 +1,115 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_EPORT_H__ +#define __MCF5282_EPORT_H__ + + +/********************************************************************* +* +* Edge Port Module (EPORT) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_EPORT_EPPAR (*(vuint16*)(&__IPSBAR[0x130000])) +#define MCF_EPORT_EPDDR (*(vuint8 *)(&__IPSBAR[0x130002])) +#define MCF_EPORT_EPIER (*(vuint8 *)(&__IPSBAR[0x130003])) +#define MCF_EPORT_EPDR (*(vuint8 *)(&__IPSBAR[0x130004])) +#define MCF_EPORT_EPPDR (*(vuint8 *)(&__IPSBAR[0x130005])) +#define MCF_EPORT_EPFR (*(vuint8 *)(&__IPSBAR[0x130006])) + + + +/* Bit definitions and macros for MCF_EPORT_EPPAR */ +#define MCF_EPORT_EPPAR_EPPA1(x) (((x)&0x3)<<0x2) +#define MCF_EPORT_EPPAR_EPPA1_LEVEL (0) +#define MCF_EPORT_EPPAR_EPPA1_RISING (0x4) +#define MCF_EPORT_EPPAR_EPPA1_FALLING (0x8) +#define MCF_EPORT_EPPAR_EPPA1_BOTH (0xC) +#define MCF_EPORT_EPPAR_EPPA2(x) (((x)&0x3)<<0x4) +#define MCF_EPORT_EPPAR_EPPA2_LEVEL (0) +#define MCF_EPORT_EPPAR_EPPA2_RISING (0x10) +#define MCF_EPORT_EPPAR_EPPA2_FALLING (0x20) +#define MCF_EPORT_EPPAR_EPPA2_BOTH (0x30) +#define MCF_EPORT_EPPAR_EPPA3(x) (((x)&0x3)<<0x6) +#define MCF_EPORT_EPPAR_EPPA3_LEVEL (0) +#define MCF_EPORT_EPPAR_EPPA3_RISING (0x40) +#define MCF_EPORT_EPPAR_EPPA3_FALLING (0x80) +#define MCF_EPORT_EPPAR_EPPA3_BOTH (0xC0) +#define MCF_EPORT_EPPAR_EPPA4(x) (((x)&0x3)<<0x8) +#define MCF_EPORT_EPPAR_EPPA4_LEVEL (0) +#define MCF_EPORT_EPPAR_EPPA4_RISING (0x100) +#define MCF_EPORT_EPPAR_EPPA4_FALLING (0x200) +#define MCF_EPORT_EPPAR_EPPA4_BOTH (0x300) +#define MCF_EPORT_EPPAR_EPPA5(x) (((x)&0x3)<<0xA) +#define MCF_EPORT_EPPAR_EPPA5_LEVEL (0) +#define MCF_EPORT_EPPAR_EPPA5_RISING (0x400) +#define MCF_EPORT_EPPAR_EPPA5_FALLING (0x800) +#define MCF_EPORT_EPPAR_EPPA5_BOTH (0xC00) +#define MCF_EPORT_EPPAR_EPPA6(x) (((x)&0x3)<<0xC) +#define MCF_EPORT_EPPAR_EPPA6_LEVEL (0) +#define MCF_EPORT_EPPAR_EPPA6_RISING (0x1000) +#define MCF_EPORT_EPPAR_EPPA6_FALLING (0x2000) +#define MCF_EPORT_EPPAR_EPPA6_BOTH (0x3000) +#define MCF_EPORT_EPPAR_EPPA7(x) (((x)&0x3)<<0xE) +#define MCF_EPORT_EPPAR_EPPA7_LEVEL (0) +#define MCF_EPORT_EPPAR_EPPA7_RISING (0x4000) +#define MCF_EPORT_EPPAR_EPPA7_FALLING (0x8000) +#define MCF_EPORT_EPPAR_EPPA7_BOTH (0xC000) +#define MCF_EPORT_EPPAR_LEVEL (0) +#define MCF_EPORT_EPPAR_RISING (0x1) +#define MCF_EPORT_EPPAR_FALLING (0x2) +#define MCF_EPORT_EPPAR_BOTH (0x3) + +/* Bit definitions and macros for MCF_EPORT_EPDDR */ +#define MCF_EPORT_EPDDR_EPDD1 (0x2) +#define MCF_EPORT_EPDDR_EPDD2 (0x4) +#define MCF_EPORT_EPDDR_EPDD3 (0x8) +#define MCF_EPORT_EPDDR_EPDD4 (0x10) +#define MCF_EPORT_EPDDR_EPDD5 (0x20) +#define MCF_EPORT_EPDDR_EPDD6 (0x40) +#define MCF_EPORT_EPDDR_EPDD7 (0x80) + +/* Bit definitions and macros for MCF_EPORT_EPIER */ +#define MCF_EPORT_EPIER_EPIE1 (0x2) +#define MCF_EPORT_EPIER_EPIE2 (0x4) +#define MCF_EPORT_EPIER_EPIE3 (0x8) +#define MCF_EPORT_EPIER_EPIE4 (0x10) +#define MCF_EPORT_EPIER_EPIE5 (0x20) +#define MCF_EPORT_EPIER_EPIE6 (0x40) +#define MCF_EPORT_EPIER_EPIE7 (0x80) + +/* Bit definitions and macros for MCF_EPORT_EPDR */ +#define MCF_EPORT_EPDR_EPD1 (0x2) +#define MCF_EPORT_EPDR_EPD2 (0x4) +#define MCF_EPORT_EPDR_EPD3 (0x8) +#define MCF_EPORT_EPDR_EPD4 (0x10) +#define MCF_EPORT_EPDR_EPD5 (0x20) +#define MCF_EPORT_EPDR_EPD6 (0x40) +#define MCF_EPORT_EPDR_EPD7 (0x80) + +/* Bit definitions and macros for MCF_EPORT_EPPDR */ +#define MCF_EPORT_EPPDR_EPPD1 (0x2) +#define MCF_EPORT_EPPDR_EPPD2 (0x4) +#define MCF_EPORT_EPPDR_EPPD3 (0x8) +#define MCF_EPORT_EPPDR_EPPD4 (0x10) +#define MCF_EPORT_EPPDR_EPPD5 (0x20) +#define MCF_EPORT_EPPDR_EPPD6 (0x40) +#define MCF_EPORT_EPPDR_EPPD7 (0x80) + +/* Bit definitions and macros for MCF_EPORT_EPFR */ +#define MCF_EPORT_EPFR_EPF1 (0x2) +#define MCF_EPORT_EPFR_EPF2 (0x4) +#define MCF_EPORT_EPFR_EPF3 (0x8) +#define MCF_EPORT_EPFR_EPF4 (0x10) +#define MCF_EPORT_EPFR_EPF5 (0x20) +#define MCF_EPORT_EPFR_EPF6 (0x40) +#define MCF_EPORT_EPFR_EPF7 (0x80) + + +#endif /* __MCF5282_EPORT_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_FEC.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_FEC.h new file mode 100644 index 000000000..5a76bf50b --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_FEC.h @@ -0,0 +1,385 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_FEC_H__ +#define __MCF5282_FEC_H__ + + +/********************************************************************* +* +* Fast Ethernet Controller(FEC) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_FEC_EIR (*(vuint32*)(&__IPSBAR[0x1004])) +#define MCF_FEC_EIMR (*(vuint32*)(&__IPSBAR[0x1008])) +#define MCF_FEC_RDAR (*(vuint32*)(&__IPSBAR[0x1010])) +#define MCF_FEC_TDAR (*(vuint32*)(&__IPSBAR[0x1014])) +#define MCF_FEC_ECR (*(vuint32*)(&__IPSBAR[0x1024])) +#define MCF_FEC_MMFR (*(vuint32*)(&__IPSBAR[0x1040])) +#define MCF_FEC_MSCR (*(vuint32*)(&__IPSBAR[0x1044])) +#define MCF_FEC_MIBC (*(vuint32*)(&__IPSBAR[0x1064])) +#define MCF_FEC_RCR (*(vuint32*)(&__IPSBAR[0x1084])) +#define MCF_FEC_TCR (*(vuint32*)(&__IPSBAR[0x10C4])) +#define MCF_FEC_PALR (*(vuint32*)(&__IPSBAR[0x10E4])) +#define MCF_FEC_PAUR (*(vuint32*)(&__IPSBAR[0x10E8])) +#define MCF_FEC_OPD (*(vuint32*)(&__IPSBAR[0x10EC])) +#define MCF_FEC_IAUR (*(vuint32*)(&__IPSBAR[0x1118])) +#define MCF_FEC_IALR (*(vuint32*)(&__IPSBAR[0x111C])) +#define MCF_FEC_GAUR (*(vuint32*)(&__IPSBAR[0x1120])) +#define MCF_FEC_GALR (*(vuint32*)(&__IPSBAR[0x1124])) +#define MCF_FEC_TFWR (*(vuint32*)(&__IPSBAR[0x1144])) +#define MCF_FEC_FRBR (*(vuint32*)(&__IPSBAR[0x114C])) +#define MCF_FEC_FRSR (*(vuint32*)(&__IPSBAR[0x1150])) +#define MCF_FEC_ERDSR (*(vuint32*)(&__IPSBAR[0x1180])) +#define MCF_FEC_ETSDR (*(vuint32*)(&__IPSBAR[0x1184])) +#define MCF_FEC_EMRBR (*(vuint32*)(&__IPSBAR[0x1188])) +#define MCF_FEC_RMON_T_DROP (*(vuint32*)(&__IPSBAR[0x1200])) +#define MCF_FEC_RMON_T_PACKETS (*(vuint32*)(&__IPSBAR[0x1204])) +#define MCF_FEC_RMON_T_BC_PKT (*(vuint32*)(&__IPSBAR[0x1208])) +#define MCF_FEC_RMON_T_MC_PKT (*(vuint32*)(&__IPSBAR[0x120C])) +#define MCF_FEC_RMON_T_CRC_ALIGN (*(vuint32*)(&__IPSBAR[0x1210])) +#define MCF_FEC_RMON_T_UNDERSIZE (*(vuint32*)(&__IPSBAR[0x1214])) +#define MCF_FEC_RMON_T_OVERSIZE (*(vuint32*)(&__IPSBAR[0x1218])) +#define MCF_FEC_RMON_T_FRAG (*(vuint32*)(&__IPSBAR[0x121C])) +#define MCF_FEC_RMON_T_JAB (*(vuint32*)(&__IPSBAR[0x1220])) +#define MCF_FEC_RMON_T_COL (*(vuint32*)(&__IPSBAR[0x1224])) +#define MCF_FEC_RMON_T_P64 (*(vuint32*)(&__IPSBAR[0x1228])) +#define MCF_FEC_RMON_T_P65TO127 (*(vuint32*)(&__IPSBAR[0x122C])) +#define MCF_FEC_RMON_T_P128TO255 (*(vuint32*)(&__IPSBAR[0x1230])) +#define MCF_FEC_RMON_T_P256TO511 (*(vuint32*)(&__IPSBAR[0x1234])) +#define MCF_FEC_RMON_T_P512TO1023 (*(vuint32*)(&__IPSBAR[0x1238])) +#define MCF_FEC_RMON_T_P1024TO2047 (*(vuint32*)(&__IPSBAR[0x123C])) +#define MCF_FEC_RMON_T_P_GTE2048 (*(vuint32*)(&__IPSBAR[0x1240])) +#define MCF_FEC_RMON_T_OCTETS (*(vuint32*)(&__IPSBAR[0x1244])) +#define MCF_FEC_IEEE_T_DROP (*(vuint32*)(&__IPSBAR[0x1248])) +#define MCF_FEC_IEEE_T_FRAME_OK (*(vuint32*)(&__IPSBAR[0x124C])) +#define MCF_FEC_IEEE_T_1COL (*(vuint32*)(&__IPSBAR[0x1250])) +#define MCF_FEC_IEEE_T_MCOL (*(vuint32*)(&__IPSBAR[0x1254])) +#define MCF_FEC_IEEE_T_DEF (*(vuint32*)(&__IPSBAR[0x1258])) +#define MCF_FEC_IEEE_T_LCOL (*(vuint32*)(&__IPSBAR[0x125C])) +#define MCF_FEC_IEEE_T_EXCOL (*(vuint32*)(&__IPSBAR[0x1260])) +#define MCF_FEC_IEEE_T_MACERR (*(vuint32*)(&__IPSBAR[0x1264])) +#define MCF_FEC_IEEE_T_CSERR (*(vuint32*)(&__IPSBAR[0x1268])) +#define MCF_FEC_IEEE_T_SQE (*(vuint32*)(&__IPSBAR[0x126C])) +#define MCF_FEC_IEEE_T_FDXFC (*(vuint32*)(&__IPSBAR[0x1270])) +#define MCF_FEC_IEEE_T_OCTETS_OK (*(vuint32*)(&__IPSBAR[0x1274])) +#define MCF_FEC_RMON_R_PACKETS (*(vuint32*)(&__IPSBAR[0x1284])) +#define MCF_FEC_RMON_R_BC_PKT (*(vuint32*)(&__IPSBAR[0x1288])) +#define MCF_FEC_RMON_R_MC_PKT (*(vuint32*)(&__IPSBAR[0x128C])) +#define MCF_FEC_RMON_R_CRC_ALIGN (*(vuint32*)(&__IPSBAR[0x1290])) +#define MCF_FEC_RMON_R_UNDERSIZE (*(vuint32*)(&__IPSBAR[0x1294])) +#define MCF_FEC_RMON_R_OVERSIZE (*(vuint32*)(&__IPSBAR[0x1298])) +#define MCF_FEC_RMON_R_FRAG (*(vuint32*)(&__IPSBAR[0x129C])) +#define MCF_FEC_RMON_R_JAB (*(vuint32*)(&__IPSBAR[0x12A0])) +#define MCF_FEC_RMON_R_RESVD_0 (*(vuint32*)(&__IPSBAR[0x12A4])) +#define MCF_FEC_RMON_R_P64 (*(vuint32*)(&__IPSBAR[0x12A8])) +#define MCF_FEC_RMON_R_P65TO127 (*(vuint32*)(&__IPSBAR[0x12AC])) +#define MCF_FEC_RMON_R_P128TO255 (*(vuint32*)(&__IPSBAR[0x12B0])) +#define MCF_FEC_RMON_R_P256TO511 (*(vuint32*)(&__IPSBAR[0x12B4])) +#define MCF_FEC_RMON_R_P512TO1023 (*(vuint32*)(&__IPSBAR[0x12B8])) +#define MCF_FEC_RMON_R_P1024TO2047 (*(vuint32*)(&__IPSBAR[0x12BC])) +#define MCF_FEC_RMON_R_P_GTE2048 (*(vuint32*)(&__IPSBAR[0x12C0])) +#define MCF_FEC_RMON_R_OCTETS (*(vuint32*)(&__IPSBAR[0x12C4])) +#define MCF_FEC_IEEE_R_DROP (*(vuint32*)(&__IPSBAR[0x12C8])) +#define MCF_FEC_IEEE_R_FRAME_OK (*(vuint32*)(&__IPSBAR[0x12CC])) +#define MCF_FEC_IEEE_R_CRC (*(vuint32*)(&__IPSBAR[0x12D0])) +#define MCF_FEC_IEEE_R_ALIGN (*(vuint32*)(&__IPSBAR[0x12D4])) +#define MCF_FEC_IEEE_R_MACERR (*(vuint32*)(&__IPSBAR[0x12D8])) +#define MCF_FEC_IEEE_R_FDXFC (*(vuint32*)(&__IPSBAR[0x12DC])) +#define MCF_FEC_IEEE_R_OCTETS_OK (*(vuint32*)(&__IPSBAR[0x12E0])) + + + +/* Bit definitions and macros for MCF_FEC_EIR */ +#define MCF_FEC_EIR_UN (0x80000) +#define MCF_FEC_EIR_RL (0x100000) +#define MCF_FEC_EIR_LC (0x200000) +#define MCF_FEC_EIR_EBERR (0x400000) +#define MCF_FEC_EIR_MII (0x800000) +#define MCF_FEC_EIR_RXB (0x1000000) +#define MCF_FEC_EIR_RXF (0x2000000) +#define MCF_FEC_EIR_TXB (0x4000000) +#define MCF_FEC_EIR_TXF (0x8000000) +#define MCF_FEC_EIR_GRA (0x10000000) +#define MCF_FEC_EIR_BABT (0x20000000) +#define MCF_FEC_EIR_BABR (0x40000000) +#define MCF_FEC_EIR_HBERR (0x80000000) +#define MCF_FEC_EIR_CLEAR_ALL (0xFFFFFFFF) + +/* Bit definitions and macros for MCF_FEC_EIMR */ +#define MCF_FEC_EIMR_UN (0x80000) +#define MCF_FEC_EIMR_RL (0x100000) +#define MCF_FEC_EIMR_LC (0x200000) +#define MCF_FEC_EIMR_EBERR (0x400000) +#define MCF_FEC_EIMR_MII (0x800000) +#define MCF_FEC_EIMR_RXB (0x1000000) +#define MCF_FEC_EIMR_RXF (0x2000000) +#define MCF_FEC_EIMR_TXB (0x4000000) +#define MCF_FEC_EIMR_TXF (0x8000000) +#define MCF_FEC_EIMR_GRA (0x10000000) +#define MCF_FEC_EIMR_BABT (0x20000000) +#define MCF_FEC_EIMR_BABR (0x40000000) +#define MCF_FEC_EIMR_HBERR (0x80000000) +#define MCF_FEC_EIMR_MASK_ALL (0) +#define MCF_FEC_EIMR_UNMASK_ALL (0xFFFFFFFF) + +/* Bit definitions and macros for MCF_FEC_RDAR */ +#define MCF_FEC_RDAR_R_DES_ACTIVE (0x1000000) + +/* Bit definitions and macros for MCF_FEC_TDAR */ +#define MCF_FEC_TDAR_X_DES_ACTIVE (0x1000000) + +/* Bit definitions and macros for MCF_FEC_ECR */ +#define MCF_FEC_ECR_RESET (0x1) +#define MCF_FEC_ECR_ETHER_EN (0x2) + +/* Bit definitions and macros for MCF_FEC_MMFR */ +#define MCF_FEC_MMFR_DATA(x) (((x)&0xFFFF)<<0) +#define MCF_FEC_MMFR_TA(x) (((x)&0x3)<<0x10) +#define MCF_FEC_MMFR_TA_10 (0x20000) +#define MCF_FEC_MMFR_RA(x) (((x)&0x1F)<<0x12) +#define MCF_FEC_MMFR_PA(x) (((x)&0x1F)<<0x17) +#define MCF_FEC_MMFR_OP(x) (((x)&0x3)<<0x1C) +#define MCF_FEC_MMFR_OP_READ (0x20000000) +#define MCF_FEC_MMFR_OP_WRITE (0x10000000) +#define MCF_FEC_MMFR_ST(x) (((x)&0x3)<<0x1E) +#define MCF_FEC_MMFR_ST_01 (0x40000000) + +/* Bit definitions and macros for MCF_FEC_MSCR */ +#define MCF_FEC_MSCR_MII_SPEED(x) (((x)&0x3F)<<0x1) +#define MCF_FEC_MSCR_DIS_PREAMBLE (0x80) + +/* Bit definitions and macros for MCF_FEC_MIBC */ +#define MCF_FEC_MIBC_MIB_IDLE (0x40000000) +#define MCF_FEC_MIBC_MIB_DISABLE (0x80000000) + +/* Bit definitions and macros for MCF_FEC_RCR */ +#define MCF_FEC_RCR_LOOP (0x1) +#define MCF_FEC_RCR_DRT (0x2) +#define MCF_FEC_RCR_MII_MODE (0x4) +#define MCF_FEC_RCR_PROM (0x8) +#define MCF_FEC_RCR_BC_REJ (0x10) +#define MCF_FEC_RCR_FCE (0x20) +#define MCF_FEC_RCR_MAX_FL(x) (((x)&0x7FF)<<0x10) + +/* Bit definitions and macros for MCF_FEC_TCR */ +#define MCF_FEC_TCR_GTS (0x1) +#define MCF_FEC_TCR_HBC (0x2) +#define MCF_FEC_TCR_FDEN (0x4) +#define MCF_FEC_TCR_TFC_PAUSE (0x8) +#define MCF_FEC_TCR_RFC_PAUSE (0x10) + +/* Bit definitions and macros for MCF_FEC_PALR */ +#define MCF_FEC_PALR_PADDR1(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_PAUR */ +#define MCF_FEC_PAUR_TYPE(x) (((x)&0xFFFF)<<0) +#define MCF_FEC_PAUR_PADDR2(x) (((x)&0xFFFF)<<0x10) + +/* Bit definitions and macros for MCF_FEC_OPD */ +#define MCF_FEC_OPD_PAUSE_DUR(x) (((x)&0xFFFF)<<0) +#define MCF_FEC_OPD_OPCODE(x) (((x)&0xFFFF)<<0x10) + +/* Bit definitions and macros for MCF_FEC_IAUR */ +#define MCF_FEC_IAUR_IADDR1(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_IALR */ +#define MCF_FEC_IALR_IADDR2(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_GAUR */ +#define MCF_FEC_GAUR_GADDR1(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_GALR */ +#define MCF_FEC_GALR_GADDR2(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_TFWR */ +#define MCF_FEC_TFWR_X_WMRK(x) (((x)&0x3)<<0) +#define MCF_FEC_TFWR_X_WMRK_64 (0) +#define MCF_FEC_TFWR_X_WMRK_128 (0x2) +#define MCF_FEC_TFWR_X_WMRK_192 (0x3) + +/* Bit definitions and macros for MCF_FEC_FRBR */ +#define MCF_FEC_FRBR_R_BOUND(x) (((x)&0xFF)<<0x2) + +/* Bit definitions and macros for MCF_FEC_FRSR */ +#define MCF_FEC_FRSR_R_FSTART(x) (((x)&0xFF)<<0x2) + +/* Bit definitions and macros for MCF_FEC_ERDSR */ +#define MCF_FEC_ERDSR_R_DES_START(x) (((x)&0x3FFFFFFF)<<0x2) + +/* Bit definitions and macros for MCF_FEC_ETSDR */ +#define MCF_FEC_ETSDR_X_DES_START(x) (((x)&0x3FFFFFFF)<<0x2) + +/* Bit definitions and macros for MCF_FEC_EMRBR */ +#define MCF_FEC_EMRBR_R_BUF_SIZE(x) (((x)&0x7F)<<0x4) + +/* Bit definitions and macros for MCF_FEC_RMON_T_DROP */ +#define MCF_FEC_RMON_T_DROP_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_T_PACKETS */ +#define MCF_FEC_RMON_T_PACKETS_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_T_BC_PKT */ +#define MCF_FEC_RMON_T_BC_PKT_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_T_MC_PKT */ +#define MCF_FEC_RMON_T_MC_PKT_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_T_CRC_ALIGN */ +#define MCF_FEC_RMON_T_CRC_ALIGN_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_T_UNDERSIZE */ +#define MCF_FEC_RMON_T_UNDERSIZE_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_T_OVERSIZE */ +#define MCF_FEC_RMON_T_OVERSIZE_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_T_FRAG */ +#define MCF_FEC_RMON_T_FRAG_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_T_JAB */ +#define MCF_FEC_RMON_T_JAB_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_T_COL */ +#define MCF_FEC_RMON_T_COL_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_T_P64 */ +#define MCF_FEC_RMON_T_P64_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_T_P65TO127 */ +#define MCF_FEC_RMON_T_P65TO127_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_T_P128TO255 */ +#define MCF_FEC_RMON_T_P128TO255_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_T_P256TO511 */ +#define MCF_FEC_RMON_T_P256TO511_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_T_P512TO1023 */ +#define MCF_FEC_RMON_T_P512TO1023_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_T_P1024TO2047 */ +#define MCF_FEC_RMON_T_P1024TO2047_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_T_P_GTE2048 */ +#define MCF_FEC_RMON_T_P_GTE2048_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_T_OCTETS */ +#define MCF_FEC_RMON_T_OCTETS_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_IEEE_T_DROP */ +#define MCF_FEC_IEEE_T_DROP_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_IEEE_T_FRAME_OK */ +#define MCF_FEC_IEEE_T_FRAME_OK_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_IEEE_T_1COL */ +#define MCF_FEC_IEEE_T_1COL_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_IEEE_T_MCOL */ +#define MCF_FEC_IEEE_T_MCOL_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_IEEE_T_DEF */ +#define MCF_FEC_IEEE_T_DEF_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_IEEE_T_LCOL */ +#define MCF_FEC_IEEE_T_LCOL_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_IEEE_T_EXCOL */ +#define MCF_FEC_IEEE_T_EXCOL_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_IEEE_T_MACERR */ +#define MCF_FEC_IEEE_T_MACERR_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_IEEE_T_CSERR */ +#define MCF_FEC_IEEE_T_CSERR_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_IEEE_T_SQE */ +#define MCF_FEC_IEEE_T_SQE_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_IEEE_T_FDXFC */ +#define MCF_FEC_IEEE_T_FDXFC_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_IEEE_T_OCTETS_OK */ +#define MCF_FEC_IEEE_T_OCTETS_OK_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_R_PACKETS */ +#define MCF_FEC_RMON_R_PACKETS_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_R_BC_PKT */ +#define MCF_FEC_RMON_R_BC_PKT_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_R_MC_PKT */ +#define MCF_FEC_RMON_R_MC_PKT_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_R_CRC_ALIGN */ +#define MCF_FEC_RMON_R_CRC_ALIGN_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_R_UNDERSIZE */ +#define MCF_FEC_RMON_R_UNDERSIZE_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_R_OVERSIZE */ +#define MCF_FEC_RMON_R_OVERSIZE_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_R_FRAG */ +#define MCF_FEC_RMON_R_FRAG_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_R_JAB */ +#define MCF_FEC_RMON_R_JAB_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_R_RESVD_0 */ +#define MCF_FEC_RMON_R_RESVD_0_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_R_P64 */ +#define MCF_FEC_RMON_R_P64_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_R_P65TO127 */ +#define MCF_FEC_RMON_R_P65TO127_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_R_P128TO255 */ +#define MCF_FEC_RMON_R_P128TO255_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_R_P256TO511 */ +#define MCF_FEC_RMON_R_P256TO511_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_R_P512TO1023 */ +#define MCF_FEC_RMON_R_P512TO1023_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_R_P1024TO2047 */ +#define MCF_FEC_RMON_R_P1024TO2047_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_R_P_GTE2048 */ +#define MCF_FEC_RMON_R_P_GTE2048_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_RMON_R_OCTETS */ +#define MCF_FEC_RMON_R_OCTETS_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_IEEE_R_DROP */ +#define MCF_FEC_IEEE_R_DROP_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_IEEE_R_FRAME_OK */ +#define MCF_FEC_IEEE_R_FRAME_OK_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_IEEE_R_CRC */ +#define MCF_FEC_IEEE_R_CRC_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_IEEE_R_ALIGN */ +#define MCF_FEC_IEEE_R_ALIGN_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_IEEE_R_MACERR */ +#define MCF_FEC_IEEE_R_MACERR_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_IEEE_R_FDXFC */ +#define MCF_FEC_IEEE_R_FDXFC_Value(x) (((x)&0xFFFFFFFF)<<0) + +/* Bit definitions and macros for MCF_FEC_IEEE_R_OCTETS_OK */ +#define MCF_FEC_IEEE_R_OCTETS_OK_Value(x) (((x)&0xFFFFFFFF)<<0) + + +#endif /* __MCF5282_FEC_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_FlexCAN.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_FlexCAN.h new file mode 100644 index 000000000..889047feb --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_FlexCAN.h @@ -0,0 +1,144 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_FlexCAN_H__ +#define __MCF5282_FlexCAN_H__ + + +/********************************************************************* +* +* Flex Controller Area Network (FlexCAN) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_FlexCAN_CANMCR (*(vuint16*)(&__IPSBAR[0x1C0000])) +#define MCF_FlexCAN_CANCTRL0 (*(vuint8 *)(&__IPSBAR[0x1C0006])) +#define MCF_FlexCAN_CANCTRL1 (*(vuint8 *)(&__IPSBAR[0x1C0007])) +#define MCF_FlexCAN_PRESDIV (*(vuint8 *)(&__IPSBAR[0x1C0008])) +#define MCF_FlexCAN_CANCTRL2 (*(vuint8 *)(&__IPSBAR[0x1C0009])) +#define MCF_FlexCAN_TIMER (*(vuint16*)(&__IPSBAR[0x1C000A])) +#define MCF_FlexCAN_RXGMASK (*(vuint32*)(&__IPSBAR[0x1C0010])) +#define MCF_FlexCAN_RX14MASK (*(vuint32*)(&__IPSBAR[0x1C0014])) +#define MCF_FlexCAN_RX15MASK (*(vuint32*)(&__IPSBAR[0x1C0018])) +#define MCF_FlexCAN_ESTAT (*(vuint16*)(&__IPSBAR[0x1C0020])) +#define MCF_FlexCAN_IMASK (*(vuint16*)(&__IPSBAR[0x1C0022])) +#define MCF_FlexCAN_IFLAG (*(vuint16*)(&__IPSBAR[0x1C0024])) +#define MCF_FlexCAN_RXECTR (*(vuint8 *)(&__IPSBAR[0x1C0026])) +#define MCF_FlexCAN_TXECTR (*(vuint8 *)(&__IPSBAR[0x1C0028])) + + + +/* Bit definitions and macros for MCF_FlexCAN_CANMCR */ +#define MCF_FlexCAN_CANMCR_STOPACK (0x10) +#define MCF_FlexCAN_CANMCR_APS (0x20) +#define MCF_FlexCAN_CANMCR_SELFWAKE (0x40) +#define MCF_FlexCAN_CANMCR_SUPV (0x80) +#define MCF_FlexCAN_CANMCR_FRZACK (0x100) +#define MCF_FlexCAN_CANMCR_SOFTRST (0x200) +#define MCF_FlexCAN_CANMCR_WAKEMSK (0x400) +#define MCF_FlexCAN_CANMCR_NOTRDY (0x800) +#define MCF_FlexCAN_CANMCR_HALT (0x1000) +#define MCF_FlexCAN_CANMCR_FRZ (0x4000) +#define MCF_FlexCAN_CANMCR_STOP (0x8000) + +/* Bit definitions and macros for MCF_FlexCAN_CANCTRL0 */ +#define MCF_FlexCAN_CANCTRL0_TXMODE(x) (((x)&0x3)<<0) +#define MCF_FlexCAN_CANCTRL0_RXMODE (0x4) +#define MCF_FlexCAN_CANCTRL0_ERRMSK (0x40) +#define MCF_FlexCAN_CANCTRL0_BOFFMSK (0x80) + +/* Bit definitions and macros for MCF_FlexCAN_CANCTRL1 */ +#define MCF_FlexCAN_CANCTRL1_PROPSEG(x) (((x)&0x7)<<0) +#define MCF_FlexCAN_CANCTRL1_LOM (0x8) +#define MCF_FlexCAN_CANCTRL1_LBUF (0x10) +#define MCF_FlexCAN_CANCTRL1_TSYNC (0x20) +#define MCF_FlexCAN_CANCTRL1_SAMP (0x80) + +/* Bit definitions and macros for MCF_FlexCAN_PRESDIV */ +#define MCF_FlexCAN_PRESDIV_PRES_DIV(x) (((x)&0xFF)<<0) + +/* Bit definitions and macros for MCF_FlexCAN_CANCTRL2 */ +#define MCF_FlexCAN_CANCTRL2_PSEG2(x) (((x)&0x7)<<0) +#define MCF_FlexCAN_CANCTRL2_PSEG1(x) (((x)&0x7)<<0x3) +#define MCF_FlexCAN_CANCTRL2_RJW(x) (((x)&0x3)<<0x6) + +/* Bit definitions and macros for MCF_FlexCAN_TIMER */ +#define MCF_FlexCAN_TIMER_TIMER(x) (((x)&0xFFFF)<<0) + +/* Bit definitions and macros for MCF_FlexCAN_RXGMASK */ +#define MCF_FlexCAN_RXGMASK_MID(x) (((x)&0x7FFFFFFF)<<0x1) + +/* Bit definitions and macros for MCF_FlexCAN_RX14MASK */ +#define MCF_FlexCAN_RX14MASK_MID(x) (((x)&0x7FFFFFFF)<<0x1) + +/* Bit definitions and macros for MCF_FlexCAN_RX15MASK */ +#define MCF_FlexCAN_RX15MASK_MID(x) (((x)&0x7FFFFFFF)<<0x1) + +/* Bit definitions and macros for MCF_FlexCAN_ESTAT */ +#define MCF_FlexCAN_ESTAT_WAKEINT (0x1) +#define MCF_FlexCAN_ESTAT_BOFFINT (0x2) +#define MCF_FlexCAN_ESTAT_ERRINT (0x4) +#define MCF_FlexCAN_ESTAT_FCS(x) (((x)&0x3)<<0x4) +#define MCF_FlexCAN_ESTAT_FCS_ACTIVE (0) +#define MCF_FlexCAN_ESTAT_FCS_PASSIVE (0x10) +#define MCF_FlexCAN_ESTAT_TXRX (0x40) +#define MCF_FlexCAN_ESTAT_IDLE (0x80) +#define MCF_FlexCAN_ESTAT_RXWARN (0x100) +#define MCF_FlexCAN_ESTAT_TXWARN (0x200) +#define MCF_FlexCAN_ESTAT_STUFFERR (0x400) +#define MCF_FlexCAN_ESTAT_FORMERR (0x800) +#define MCF_FlexCAN_ESTAT_CRCERR (0x1000) +#define MCF_FlexCAN_ESTAT_ACKERR (0x2000) +#define MCF_FlexCAN_ESTAT_BITERR(x) (((x)&0x3)<<0xE) + +/* Bit definitions and macros for MCF_FlexCAN_IMASK */ +#define MCF_FlexCAN_IMASK_BUF0M (0x1) +#define MCF_FlexCAN_IMASK_BUF1M (0x2) +#define MCF_FlexCAN_IMASK_BUF2M (0x4) +#define MCF_FlexCAN_IMASK_BUF3M (0x8) +#define MCF_FlexCAN_IMASK_BUF4M (0x10) +#define MCF_FlexCAN_IMASK_BUF5M (0x20) +#define MCF_FlexCAN_IMASK_BUF6M (0x40) +#define MCF_FlexCAN_IMASK_BUF7M (0x80) +#define MCF_FlexCAN_IMASK_BUF8M (0x100) +#define MCF_FlexCAN_IMASK_BUF9M (0x200) +#define MCF_FlexCAN_IMASK_BUF10M (0x400) +#define MCF_FlexCAN_IMASK_BUF11M (0x800) +#define MCF_FlexCAN_IMASK_BUF12M (0x1000) +#define MCF_FlexCAN_IMASK_BUF13M (0x2000) +#define MCF_FlexCAN_IMASK_BUF14M (0x4000) +#define MCF_FlexCAN_IMASK_BUF15M (0x8000) +#define MCF_FlexCAN_IMASK_BUF(x) (0x1<<(x)) + +/* Bit definitions and macros for MCF_FlexCAN_IFLAG */ +#define MCF_FlexCAN_IFLAG_BUF0I (0x1) +#define MCF_FlexCAN_IFLAG_BUF1I (0x2) +#define MCF_FlexCAN_IFLAG_BUF2I (0x4) +#define MCF_FlexCAN_IFLAG_BUF3I (0x8) +#define MCF_FlexCAN_IFLAG_BUF4I (0x10) +#define MCF_FlexCAN_IFLAG_BUF5I (0x20) +#define MCF_FlexCAN_IFLAG_BUF6I (0x40) +#define MCF_FlexCAN_IFLAG_BUF7I (0x80) +#define MCF_FlexCAN_IFLAG_BUF8I (0x100) +#define MCF_FlexCAN_IFLAG_BUF9I (0x200) +#define MCF_FlexCAN_IFLAG_BUF10I (0x400) +#define MCF_FlexCAN_IFLAG_BUF11I (0x800) +#define MCF_FlexCAN_IFLAG_BUF12I (0x1000) +#define MCF_FlexCAN_IFLAG_BUF13I (0x2000) +#define MCF_FlexCAN_IFLAG_BUF14I (0x4000) +#define MCF_FlexCAN_IFLAG_BUF15I (0x8000) +#define MCF_FlexCAN_IFLAG_BUF(x) (0x1<<(x)) + +/* Bit definitions and macros for MCF_FlexCAN_RXECTR */ +#define MCF_FlexCAN_RXECTR_RXECTR(x) (((x)&0xFF)<<0) + +/* Bit definitions and macros for MCF_FlexCAN_TXECTR */ +#define MCF_FlexCAN_TXECTR_TXECTR(x) (((x)&0xFF)<<0) + + +#endif /* __MCF5282_FlexCAN_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GIACR.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GIACR.h new file mode 100644 index 000000000..f1ad656f5 --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GIACR.h @@ -0,0 +1,37 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_GIACR_H__ +#define __MCF5282_GIACR_H__ + + +/********************************************************************* +* +* Global Interrupt Acknowledge Control Registers Module (GIACR) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_GIACR_GSWIACK (*(vuint8 *)(&__IPSBAR[0xFE0])) +#define MCF_GIACR_GL1IACK (*(vuint8 *)(&__IPSBAR[0xFE4])) +#define MCF_GIACR_GL2IACK (*(vuint8 *)(&__IPSBAR[0xFE8])) +#define MCF_GIACR_GL3IACK (*(vuint8 *)(&__IPSBAR[0xFEC])) +#define MCF_GIACR_GL4IACK (*(vuint8 *)(&__IPSBAR[0xFF0])) +#define MCF_GIACR_GL5IACK (*(vuint8 *)(&__IPSBAR[0xFF4])) +#define MCF_GIACR_GL6IACK (*(vuint8 *)(&__IPSBAR[0xFF8])) +#define MCF_GIACR_GL7IACK (*(vuint8 *)(&__IPSBAR[0xFFC])) +#define MCF_GIACR_GLIACK(x) (*(vuint8 *)(&__IPSBAR[0xFE4 + ((x-1)*0x4)])) + + +/* Bit definitions and macros for MCF_GIACR_GSWIACK */ +#define MCF_GIACR_GSWIACK_VECTOR(x) (((x)&0xFF)<<0) + +/* Bit definitions and macros for MCF_GIACR_GLIACK */ +#define MCF_GIACR_GLIACK_VECTOR(x) (((x)&0xFF)<<0) + + +#endif /* __MCF5282_GIACR_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GPIO.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GPIO.h new file mode 100644 index 000000000..2118d9ffc --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GPIO.h @@ -0,0 +1,764 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_GPIO_H__ +#define __MCF5282_GPIO_H__ + + +/********************************************************************* +* +* General Purpose I/O (GPIO) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_GPIO_PORTA (*(vuint8 *)(&__IPSBAR[0x100000])) +#define MCF_GPIO_DDRA (*(vuint8 *)(&__IPSBAR[0x100014])) +#define MCF_GPIO_SETA (*(vuint8 *)(&__IPSBAR[0x100028])) +#define MCF_GPIO_CLRA (*(vuint8 *)(&__IPSBAR[0x10003C])) + +#define MCF_GPIO_PORTB (*(vuint8 *)(&__IPSBAR[0x100001])) +#define MCF_GPIO_DDRB (*(vuint8 *)(&__IPSBAR[0x100015])) +#define MCF_GPIO_SETB (*(vuint8 *)(&__IPSBAR[0x100029])) +#define MCF_GPIO_CLRB (*(vuint8 *)(&__IPSBAR[0x10003D])) + +#define MCF_GPIO_PORTC (*(vuint8 *)(&__IPSBAR[0x100002])) +#define MCF_GPIO_DDRC (*(vuint8 *)(&__IPSBAR[0x100016])) +#define MCF_GPIO_SETC (*(vuint8 *)(&__IPSBAR[0x10002A])) +#define MCF_GPIO_CLRC (*(vuint8 *)(&__IPSBAR[0x10003E])) + +#define MCF_GPIO_PORTD (*(vuint8 *)(&__IPSBAR[0x100003])) +#define MCF_GPIO_DDRD (*(vuint8 *)(&__IPSBAR[0x100017])) +#define MCF_GPIO_SETD (*(vuint8 *)(&__IPSBAR[0x10002B])) +#define MCF_GPIO_CLRD (*(vuint8 *)(&__IPSBAR[0x10003F])) + +#define MCF_GPIO_PORTE (*(vuint8 *)(&__IPSBAR[0x100004])) +#define MCF_GPIO_DDRE (*(vuint8 *)(&__IPSBAR[0x100018])) +#define MCF_GPIO_SETE (*(vuint8 *)(&__IPSBAR[0x10002C])) +#define MCF_GPIO_CLRE (*(vuint8 *)(&__IPSBAR[0x100040])) + +#define MCF_GPIO_PORTF (*(vuint8 *)(&__IPSBAR[0x100005])) +#define MCF_GPIO_DDRF (*(vuint8 *)(&__IPSBAR[0x100019])) +#define MCF_GPIO_SETF (*(vuint8 *)(&__IPSBAR[0x10002D])) +#define MCF_GPIO_CLRF (*(vuint8 *)(&__IPSBAR[0x100041])) + +#define MCF_GPIO_PORTG (*(vuint8 *)(&__IPSBAR[0x100006])) +#define MCF_GPIO_DDRG (*(vuint8 *)(&__IPSBAR[0x10001A])) +#define MCF_GPIO_SETG (*(vuint8 *)(&__IPSBAR[0x10002E])) +#define MCF_GPIO_CLRG (*(vuint8 *)(&__IPSBAR[0x100042])) + +#define MCF_GPIO_PORTH (*(vuint8 *)(&__IPSBAR[0x100007])) +#define MCF_GPIO_DDRH (*(vuint8 *)(&__IPSBAR[0x10001B])) +#define MCF_GPIO_SETH (*(vuint8 *)(&__IPSBAR[0x10002F])) +#define MCF_GPIO_CLRH (*(vuint8 *)(&__IPSBAR[0x100043])) + +#define MCF_GPIO_PORTJ (*(vuint8 *)(&__IPSBAR[0x100008])) +#define MCF_GPIO_DDRJ (*(vuint8 *)(&__IPSBAR[0x10001C])) +#define MCF_GPIO_SETJ (*(vuint8 *)(&__IPSBAR[0x100030])) +#define MCF_GPIO_CLRJ (*(vuint8 *)(&__IPSBAR[0x100044])) + +#define MCF_GPIO_PORTDD (*(vuint8 *)(&__IPSBAR[0x100009])) +#define MCF_GPIO_DDRDD (*(vuint8 *)(&__IPSBAR[0x10001D])) +#define MCF_GPIO_SETDD (*(vuint8 *)(&__IPSBAR[0x100031])) +#define MCF_GPIO_CLRDD (*(vuint8 *)(&__IPSBAR[0x100045])) + +#define MCF_GPIO_PORTEH (*(vuint8 *)(&__IPSBAR[0x10000A])) +#define MCF_GPIO_DDREH (*(vuint8 *)(&__IPSBAR[0x10001E])) +#define MCF_GPIO_SETEH (*(vuint8 *)(&__IPSBAR[0x100032])) +#define MCF_GPIO_CLREH (*(vuint8 *)(&__IPSBAR[0x100046])) + +#define MCF_GPIO_PORTEL (*(vuint8 *)(&__IPSBAR[0x10000B])) +#define MCF_GPIO_DDREL (*(vuint8 *)(&__IPSBAR[0x10001F])) +#define MCF_GPIO_SETEL (*(vuint8 *)(&__IPSBAR[0x100033])) +#define MCF_GPIO_CLREL (*(vuint8 *)(&__IPSBAR[0x100047])) + +#define MCF_GPIO_PORTAS (*(vuint8 *)(&__IPSBAR[0x10000C])) +#define MCF_GPIO_DDRAS (*(vuint8 *)(&__IPSBAR[0x100020])) +#define MCF_GPIO_SETAS (*(vuint8 *)(&__IPSBAR[0x100034])) +#define MCF_GPIO_CLRAS (*(vuint8 *)(&__IPSBAR[0x100048])) + +#define MCF_GPIO_PORTQS (*(vuint8 *)(&__IPSBAR[0x10000D])) +#define MCF_GPIO_DDRQS (*(vuint8 *)(&__IPSBAR[0x100021])) +#define MCF_GPIO_SETQS (*(vuint8 *)(&__IPSBAR[0x100035])) +#define MCF_GPIO_CLRQS (*(vuint8 *)(&__IPSBAR[0x100049])) + +#define MCF_GPIO_PORTSD (*(vuint8 *)(&__IPSBAR[0x10000E])) +#define MCF_GPIO_DDRSD (*(vuint8 *)(&__IPSBAR[0x100022])) +#define MCF_GPIO_SETSD (*(vuint8 *)(&__IPSBAR[0x100036])) +#define MCF_GPIO_CLRSD (*(vuint8 *)(&__IPSBAR[0x10004A])) + +#define MCF_GPIO_PORTTC (*(vuint8 *)(&__IPSBAR[0x10000F])) +#define MCF_GPIO_DDRTC (*(vuint8 *)(&__IPSBAR[0x100023])) +#define MCF_GPIO_SETTC (*(vuint8 *)(&__IPSBAR[0x100037])) +#define MCF_GPIO_CLRTC (*(vuint8 *)(&__IPSBAR[0x10004B])) + +#define MCF_GPIO_PORTTD (*(vuint8 *)(&__IPSBAR[0x100010])) +#define MCF_GPIO_DDRTD (*(vuint8 *)(&__IPSBAR[0x100024])) +#define MCF_GPIO_SETTD (*(vuint8 *)(&__IPSBAR[0x100038])) +#define MCF_GPIO_CLRTD (*(vuint8 *)(&__IPSBAR[0x10004C])) + +#define MCF_GPIO_PORTUA (*(vuint8 *)(&__IPSBAR[0x100011])) +#define MCF_GPIO_DDRUA (*(vuint8 *)(&__IPSBAR[0x100025])) +#define MCF_GPIO_SETUA (*(vuint8 *)(&__IPSBAR[0x100039])) +#define MCF_GPIO_CLRUA (*(vuint8 *)(&__IPSBAR[0x10004D])) + + + +/* Bit definitions and macros for MCF_GPIO_PORTA */ +#define MCF_GPIO_PORTA_PORTA0 (0x1) +#define MCF_GPIO_PORTA_PORTA1 (0x2) +#define MCF_GPIO_PORTA_PORTA2 (0x4) +#define MCF_GPIO_PORTA_PORTA3 (0x8) +#define MCF_GPIO_PORTA_PORTA4 (0x10) +#define MCF_GPIO_PORTA_PORTA5 (0x20) +#define MCF_GPIO_PORTA_PORTA6 (0x40) +#define MCF_GPIO_PORTA_PORTA7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_DDRA */ +#define MCF_GPIO_DDRA_DDRA0 (0x1) +#define MCF_GPIO_DDRA_DDRA1 (0x2) +#define MCF_GPIO_DDRA_DDRA2 (0x4) +#define MCF_GPIO_DDRA_DDRA3 (0x8) +#define MCF_GPIO_DDRA_DDRA4 (0x10) +#define MCF_GPIO_DDRA_DDRA5 (0x20) +#define MCF_GPIO_DDRA_DDRA6 (0x40) +#define MCF_GPIO_DDRA_DDRA7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_SETA */ +#define MCF_GPIO_SETA_SETA0 (0x1) +#define MCF_GPIO_SETA_SETA1 (0x2) +#define MCF_GPIO_SETA_SETA2 (0x4) +#define MCF_GPIO_SETA_SETA3 (0x8) +#define MCF_GPIO_SETA_SETA4 (0x10) +#define MCF_GPIO_SETA_SETA5 (0x20) +#define MCF_GPIO_SETA_SETA6 (0x40) +#define MCF_GPIO_SETA_SETA7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_CLRA */ +#define MCF_GPIO_CLRA_CLRA0 (0x1) +#define MCF_GPIO_CLRA_CLRA1 (0x2) +#define MCF_GPIO_CLRA_CLRA2 (0x4) +#define MCF_GPIO_CLRA_CLRA3 (0x8) +#define MCF_GPIO_CLRA_CLRA4 (0x10) +#define MCF_GPIO_CLRA_CLRA5 (0x20) +#define MCF_GPIO_CLRA_CLRA6 (0x40) +#define MCF_GPIO_CLRA_CLRA7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_PORTB */ +#define MCF_GPIO_PORTB_PORTB0 (0x1) +#define MCF_GPIO_PORTB_PORTB1 (0x2) +#define MCF_GPIO_PORTB_PORTB2 (0x4) +#define MCF_GPIO_PORTB_PORTB3 (0x8) +#define MCF_GPIO_PORTB_PORTB4 (0x10) +#define MCF_GPIO_PORTB_PORTB5 (0x20) +#define MCF_GPIO_PORTB_PORTB6 (0x40) +#define MCF_GPIO_PORTB_PORTB7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_DDRB */ +#define MCF_GPIO_DDRB_DDRB0 (0x1) +#define MCF_GPIO_DDRB_DDRB1 (0x2) +#define MCF_GPIO_DDRB_DDRB2 (0x4) +#define MCF_GPIO_DDRB_DDRB3 (0x8) +#define MCF_GPIO_DDRB_DDRB4 (0x10) +#define MCF_GPIO_DDRB_DDRB5 (0x20) +#define MCF_GPIO_DDRB_DDRB6 (0x40) +#define MCF_GPIO_DDRB_DDRB7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_SETB */ +#define MCF_GPIO_SETB_SETB0 (0x1) +#define MCF_GPIO_SETB_SETB1 (0x2) +#define MCF_GPIO_SETB_SETB2 (0x4) +#define MCF_GPIO_SETB_SETB3 (0x8) +#define MCF_GPIO_SETB_SETB4 (0x10) +#define MCF_GPIO_SETB_SETB5 (0x20) +#define MCF_GPIO_SETB_SETB6 (0x40) +#define MCF_GPIO_SETB_SETB7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_CLRB */ +#define MCF_GPIO_CLRB_CLRB0 (0x1) +#define MCF_GPIO_CLRB_CLRB1 (0x2) +#define MCF_GPIO_CLRB_CLRB2 (0x4) +#define MCF_GPIO_CLRB_CLRB3 (0x8) +#define MCF_GPIO_CLRB_CLRB4 (0x10) +#define MCF_GPIO_CLRB_CLRB5 (0x20) +#define MCF_GPIO_CLRB_CLRB6 (0x40) +#define MCF_GPIO_CLRB_CLRB7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_PORTC */ +#define MCF_GPIO_PORTC_PORTC0 (0x1) +#define MCF_GPIO_PORTC_PORTC1 (0x2) +#define MCF_GPIO_PORTC_PORTC2 (0x4) +#define MCF_GPIO_PORTC_PORTC3 (0x8) +#define MCF_GPIO_PORTC_PORTC4 (0x10) +#define MCF_GPIO_PORTC_PORTC5 (0x20) +#define MCF_GPIO_PORTC_PORTC6 (0x40) +#define MCF_GPIO_PORTC_PORTC7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_DDRC */ +#define MCF_GPIO_DDRC_DDRC0 (0x1) +#define MCF_GPIO_DDRC_DDRC1 (0x2) +#define MCF_GPIO_DDRC_DDRC2 (0x4) +#define MCF_GPIO_DDRC_DDRC3 (0x8) +#define MCF_GPIO_DDRC_DDRC4 (0x10) +#define MCF_GPIO_DDRC_DDRC5 (0x20) +#define MCF_GPIO_DDRC_DDRC6 (0x40) +#define MCF_GPIO_DDRC_DDRC7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_SETC */ +#define MCF_GPIO_SETC_SETC0 (0x1) +#define MCF_GPIO_SETC_SETC1 (0x2) +#define MCF_GPIO_SETC_SETC2 (0x4) +#define MCF_GPIO_SETC_SETC3 (0x8) +#define MCF_GPIO_SETC_SETC4 (0x10) +#define MCF_GPIO_SETC_SETC5 (0x20) +#define MCF_GPIO_SETC_SETC6 (0x40) +#define MCF_GPIO_SETC_SETC7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_CLRC */ +#define MCF_GPIO_CLRC_CLRC0 (0x1) +#define MCF_GPIO_CLRC_CLRC1 (0x2) +#define MCF_GPIO_CLRC_CLRC2 (0x4) +#define MCF_GPIO_CLRC_CLRC3 (0x8) +#define MCF_GPIO_CLRC_CLRC4 (0x10) +#define MCF_GPIO_CLRC_CLRC5 (0x20) +#define MCF_GPIO_CLRC_CLRC6 (0x40) +#define MCF_GPIO_CLRC_CLRC7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_PORTD */ +#define MCF_GPIO_PORTD_PORTD0 (0x1) +#define MCF_GPIO_PORTD_PORTD1 (0x2) +#define MCF_GPIO_PORTD_PORTD2 (0x4) +#define MCF_GPIO_PORTD_PORTD3 (0x8) +#define MCF_GPIO_PORTD_PORTD4 (0x10) +#define MCF_GPIO_PORTD_PORTD5 (0x20) +#define MCF_GPIO_PORTD_PORTD6 (0x40) +#define MCF_GPIO_PORTD_PORTD7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_DDRD */ +#define MCF_GPIO_DDRD_DDRD0 (0x1) +#define MCF_GPIO_DDRD_DDRD1 (0x2) +#define MCF_GPIO_DDRD_DDRD2 (0x4) +#define MCF_GPIO_DDRD_DDRD3 (0x8) +#define MCF_GPIO_DDRD_DDRD4 (0x10) +#define MCF_GPIO_DDRD_DDRD5 (0x20) +#define MCF_GPIO_DDRD_DDRD6 (0x40) +#define MCF_GPIO_DDRD_DDRD7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_SETD */ +#define MCF_GPIO_SETD_SETD0 (0x1) +#define MCF_GPIO_SETD_SETD1 (0x2) +#define MCF_GPIO_SETD_SETD2 (0x4) +#define MCF_GPIO_SETD_SETD3 (0x8) +#define MCF_GPIO_SETD_SETD4 (0x10) +#define MCF_GPIO_SETD_SETD5 (0x20) +#define MCF_GPIO_SETD_SETD6 (0x40) +#define MCF_GPIO_SETD_SETD7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_CLRD */ +#define MCF_GPIO_CLRD_CLRD0 (0x1) +#define MCF_GPIO_CLRD_CLRD1 (0x2) +#define MCF_GPIO_CLRD_CLRD2 (0x4) +#define MCF_GPIO_CLRD_CLRD3 (0x8) +#define MCF_GPIO_CLRD_CLRD4 (0x10) +#define MCF_GPIO_CLRD_CLRD5 (0x20) +#define MCF_GPIO_CLRD_CLRD6 (0x40) +#define MCF_GPIO_CLRD_CLRD7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_PORTE */ +#define MCF_GPIO_PORTE_PORTE0 (0x1) +#define MCF_GPIO_PORTE_PORTE1 (0x2) +#define MCF_GPIO_PORTE_PORTE2 (0x4) +#define MCF_GPIO_PORTE_PORTE3 (0x8) +#define MCF_GPIO_PORTE_PORTE4 (0x10) +#define MCF_GPIO_PORTE_PORTE5 (0x20) +#define MCF_GPIO_PORTE_PORTE6 (0x40) +#define MCF_GPIO_PORTE_PORTE7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_DDRE */ +#define MCF_GPIO_DDRE_DDRE0 (0x1) +#define MCF_GPIO_DDRE_DDRE1 (0x2) +#define MCF_GPIO_DDRE_DDRE2 (0x4) +#define MCF_GPIO_DDRE_DDRE3 (0x8) +#define MCF_GPIO_DDRE_DDRE4 (0x10) +#define MCF_GPIO_DDRE_DDRE5 (0x20) +#define MCF_GPIO_DDRE_DDRE6 (0x40) +#define MCF_GPIO_DDRE_DDRE7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_SETE */ +#define MCF_GPIO_SETE_SETE0 (0x1) +#define MCF_GPIO_SETE_SETE1 (0x2) +#define MCF_GPIO_SETE_SETE2 (0x4) +#define MCF_GPIO_SETE_SETE3 (0x8) +#define MCF_GPIO_SETE_SETE4 (0x10) +#define MCF_GPIO_SETE_SETE5 (0x20) +#define MCF_GPIO_SETE_SETE6 (0x40) +#define MCF_GPIO_SETE_SETE7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_CLRE */ +#define MCF_GPIO_CLRE_CLRE0 (0x1) +#define MCF_GPIO_CLRE_CLRE1 (0x2) +#define MCF_GPIO_CLRE_CLRE2 (0x4) +#define MCF_GPIO_CLRE_CLRE3 (0x8) +#define MCF_GPIO_CLRE_CLRE4 (0x10) +#define MCF_GPIO_CLRE_CLRE5 (0x20) +#define MCF_GPIO_CLRE_CLRE6 (0x40) +#define MCF_GPIO_CLRE_CLRE7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_PORTF */ +#define MCF_GPIO_PORTF_PORTF0 (0x1) +#define MCF_GPIO_PORTF_PORTF1 (0x2) +#define MCF_GPIO_PORTF_PORTF2 (0x4) +#define MCF_GPIO_PORTF_PORTF3 (0x8) +#define MCF_GPIO_PORTF_PORTF4 (0x10) +#define MCF_GPIO_PORTF_PORTF5 (0x20) +#define MCF_GPIO_PORTF_PORTF6 (0x40) +#define MCF_GPIO_PORTF_PORTF7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_DDRF */ +#define MCF_GPIO_DDRF_DDRF0 (0x1) +#define MCF_GPIO_DDRF_DDRF1 (0x2) +#define MCF_GPIO_DDRF_DDRF2 (0x4) +#define MCF_GPIO_DDRF_DDRF3 (0x8) +#define MCF_GPIO_DDRF_DDRF4 (0x10) +#define MCF_GPIO_DDRF_DDRF5 (0x20) +#define MCF_GPIO_DDRF_DDRF6 (0x40) +#define MCF_GPIO_DDRF_DDRF7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_SETF */ +#define MCF_GPIO_SETF_SETF0 (0x1) +#define MCF_GPIO_SETF_SETF1 (0x2) +#define MCF_GPIO_SETF_SETF2 (0x4) +#define MCF_GPIO_SETF_SETF3 (0x8) +#define MCF_GPIO_SETF_SETF4 (0x10) +#define MCF_GPIO_SETF_SETF5 (0x20) +#define MCF_GPIO_SETF_SETF6 (0x40) +#define MCF_GPIO_SETF_SETF7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_CLRF */ +#define MCF_GPIO_CLRF_CLRF0 (0x1) +#define MCF_GPIO_CLRF_CLRF1 (0x2) +#define MCF_GPIO_CLRF_CLRF2 (0x4) +#define MCF_GPIO_CLRF_CLRF3 (0x8) +#define MCF_GPIO_CLRF_CLRF4 (0x10) +#define MCF_GPIO_CLRF_CLRF5 (0x20) +#define MCF_GPIO_CLRF_CLRF6 (0x40) +#define MCF_GPIO_CLRF_CLRF7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_PORTG */ +#define MCF_GPIO_PORTG_PORTG0 (0x1) +#define MCF_GPIO_PORTG_PORTG1 (0x2) +#define MCF_GPIO_PORTG_PORTG2 (0x4) +#define MCF_GPIO_PORTG_PORTG3 (0x8) +#define MCF_GPIO_PORTG_PORTG4 (0x10) +#define MCF_GPIO_PORTG_PORTG5 (0x20) +#define MCF_GPIO_PORTG_PORTG6 (0x40) +#define MCF_GPIO_PORTG_PORTG7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_DDRG */ +#define MCF_GPIO_DDRG_DDRG0 (0x1) +#define MCF_GPIO_DDRG_DDRG1 (0x2) +#define MCF_GPIO_DDRG_DDRG2 (0x4) +#define MCF_GPIO_DDRG_DDRG3 (0x8) +#define MCF_GPIO_DDRG_DDRG4 (0x10) +#define MCF_GPIO_DDRG_DDRG5 (0x20) +#define MCF_GPIO_DDRG_DDRG6 (0x40) +#define MCF_GPIO_DDRG_DDRG7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_SETG */ +#define MCF_GPIO_SETG_SETG0 (0x1) +#define MCF_GPIO_SETG_SETG1 (0x2) +#define MCF_GPIO_SETG_SETG2 (0x4) +#define MCF_GPIO_SETG_SETG3 (0x8) +#define MCF_GPIO_SETG_SETG4 (0x10) +#define MCF_GPIO_SETG_SETG5 (0x20) +#define MCF_GPIO_SETG_SETG6 (0x40) +#define MCF_GPIO_SETG_SETG7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_CLRG */ +#define MCF_GPIO_CLRG_CLRG0 (0x1) +#define MCF_GPIO_CLRG_CLRG1 (0x2) +#define MCF_GPIO_CLRG_CLRG2 (0x4) +#define MCF_GPIO_CLRG_CLRG3 (0x8) +#define MCF_GPIO_CLRG_CLRG4 (0x10) +#define MCF_GPIO_CLRG_CLRG5 (0x20) +#define MCF_GPIO_CLRG_CLRG6 (0x40) +#define MCF_GPIO_CLRG_CLRG7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_PORTH */ +#define MCF_GPIO_PORTH_PORTH0 (0x1) +#define MCF_GPIO_PORTH_PORTH1 (0x2) +#define MCF_GPIO_PORTH_PORTH2 (0x4) +#define MCF_GPIO_PORTH_PORTH3 (0x8) +#define MCF_GPIO_PORTH_PORTH4 (0x10) +#define MCF_GPIO_PORTH_PORTH5 (0x20) +#define MCF_GPIO_PORTH_PORTH6 (0x40) +#define MCF_GPIO_PORTH_PORTH7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_DDRH */ +#define MCF_GPIO_DDRH_DDRH0 (0x1) +#define MCF_GPIO_DDRH_DDRH1 (0x2) +#define MCF_GPIO_DDRH_DDRH2 (0x4) +#define MCF_GPIO_DDRH_DDRH3 (0x8) +#define MCF_GPIO_DDRH_DDRH4 (0x10) +#define MCF_GPIO_DDRH_DDRH5 (0x20) +#define MCF_GPIO_DDRH_DDRH6 (0x40) +#define MCF_GPIO_DDRH_DDRH7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_SETH */ +#define MCF_GPIO_SETH_SETH0 (0x1) +#define MCF_GPIO_SETH_SETH1 (0x2) +#define MCF_GPIO_SETH_SETH2 (0x4) +#define MCF_GPIO_SETH_SETH3 (0x8) +#define MCF_GPIO_SETH_SETH4 (0x10) +#define MCF_GPIO_SETH_SETH5 (0x20) +#define MCF_GPIO_SETH_SETH6 (0x40) +#define MCF_GPIO_SETH_SETH7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_CLRH */ +#define MCF_GPIO_CLRH_CLRH0 (0x1) +#define MCF_GPIO_CLRH_CLRH1 (0x2) +#define MCF_GPIO_CLRH_CLRH2 (0x4) +#define MCF_GPIO_CLRH_CLRH3 (0x8) +#define MCF_GPIO_CLRH_CLRH4 (0x10) +#define MCF_GPIO_CLRH_CLRH5 (0x20) +#define MCF_GPIO_CLRH_CLRH6 (0x40) +#define MCF_GPIO_CLRH_CLRH7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_PORTJ */ +#define MCF_GPIO_PORTJ_PORTJ0 (0x1) +#define MCF_GPIO_PORTJ_PORTJ1 (0x2) +#define MCF_GPIO_PORTJ_PORTJ2 (0x4) +#define MCF_GPIO_PORTJ_PORTJ3 (0x8) +#define MCF_GPIO_PORTJ_PORTJ4 (0x10) +#define MCF_GPIO_PORTJ_PORTJ5 (0x20) +#define MCF_GPIO_PORTJ_PORTJ6 (0x40) +#define MCF_GPIO_PORTJ_PORTJ7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_DDRJ */ +#define MCF_GPIO_DDRJ_DDRJ0 (0x1) +#define MCF_GPIO_DDRJ_DDRJ1 (0x2) +#define MCF_GPIO_DDRJ_DDRJ2 (0x4) +#define MCF_GPIO_DDRJ_DDRJ3 (0x8) +#define MCF_GPIO_DDRJ_DDRJ4 (0x10) +#define MCF_GPIO_DDRJ_DDRJ5 (0x20) +#define MCF_GPIO_DDRJ_DDRJ6 (0x40) +#define MCF_GPIO_DDRJ_DDRJ7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_SETJ */ +#define MCF_GPIO_SETJ_SETJ0 (0x1) +#define MCF_GPIO_SETJ_SETJ1 (0x2) +#define MCF_GPIO_SETJ_SETJ2 (0x4) +#define MCF_GPIO_SETJ_SETJ3 (0x8) +#define MCF_GPIO_SETJ_SETJ4 (0x10) +#define MCF_GPIO_SETJ_SETJ5 (0x20) +#define MCF_GPIO_SETJ_SETJ6 (0x40) +#define MCF_GPIO_SETJ_SETJ7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_CLRJ */ +#define MCF_GPIO_CLRJ_CLRJ0 (0x1) +#define MCF_GPIO_CLRJ_CLRJ1 (0x2) +#define MCF_GPIO_CLRJ_CLRJ2 (0x4) +#define MCF_GPIO_CLRJ_CLRJ3 (0x8) +#define MCF_GPIO_CLRJ_CLRJ4 (0x10) +#define MCF_GPIO_CLRJ_CLRJ5 (0x20) +#define MCF_GPIO_CLRJ_CLRJ6 (0x40) +#define MCF_GPIO_CLRJ_CLRJ7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_PORTDD */ +#define MCF_GPIO_PORTDD_PORTDD0 (0x1) +#define MCF_GPIO_PORTDD_PORTDD1 (0x2) +#define MCF_GPIO_PORTDD_PORTDD2 (0x4) +#define MCF_GPIO_PORTDD_PORTDD3 (0x8) +#define MCF_GPIO_PORTDD_PORTDD4 (0x10) +#define MCF_GPIO_PORTDD_PORTDD5 (0x20) +#define MCF_GPIO_PORTDD_PORTDD6 (0x40) +#define MCF_GPIO_PORTDD_PORTDD7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_DDRDD */ +#define MCF_GPIO_DDRDD_DDRDD0 (0x1) +#define MCF_GPIO_DDRDD_DDRDD1 (0x2) +#define MCF_GPIO_DDRDD_DDRDD2 (0x4) +#define MCF_GPIO_DDRDD_DDRDD3 (0x8) +#define MCF_GPIO_DDRDD_DDRDD4 (0x10) +#define MCF_GPIO_DDRDD_DDRDD5 (0x20) +#define MCF_GPIO_DDRDD_DDRDD6 (0x40) +#define MCF_GPIO_DDRDD_DDRDD7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_SETDD */ +#define MCF_GPIO_SETDD_SETDD0 (0x1) +#define MCF_GPIO_SETDD_SETDD1 (0x2) +#define MCF_GPIO_SETDD_SETDD2 (0x4) +#define MCF_GPIO_SETDD_SETDD3 (0x8) +#define MCF_GPIO_SETDD_SETDD4 (0x10) +#define MCF_GPIO_SETDD_SETDD5 (0x20) +#define MCF_GPIO_SETDD_SETDD6 (0x40) +#define MCF_GPIO_SETDD_SETDD7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_CLRDD */ +#define MCF_GPIO_CLRDD_CLRDD0 (0x1) +#define MCF_GPIO_CLRDD_CLRDD1 (0x2) +#define MCF_GPIO_CLRDD_CLRDD2 (0x4) +#define MCF_GPIO_CLRDD_CLRDD3 (0x8) +#define MCF_GPIO_CLRDD_CLRDD4 (0x10) +#define MCF_GPIO_CLRDD_CLRDD5 (0x20) +#define MCF_GPIO_CLRDD_CLRDD6 (0x40) +#define MCF_GPIO_CLRDD_CLRDD7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_PORTEH */ +#define MCF_GPIO_PORTEH_PORTEH0 (0x1) +#define MCF_GPIO_PORTEH_PORTEH1 (0x2) +#define MCF_GPIO_PORTEH_PORTEH2 (0x4) +#define MCF_GPIO_PORTEH_PORTEH3 (0x8) +#define MCF_GPIO_PORTEH_PORTEH4 (0x10) +#define MCF_GPIO_PORTEH_PORTEH5 (0x20) +#define MCF_GPIO_PORTEH_PORTEH6 (0x40) +#define MCF_GPIO_PORTEH_PORTEH7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_DDREH */ +#define MCF_GPIO_DDREH_DDREH0 (0x1) +#define MCF_GPIO_DDREH_DDREH1 (0x2) +#define MCF_GPIO_DDREH_DDREH2 (0x4) +#define MCF_GPIO_DDREH_DDREH3 (0x8) +#define MCF_GPIO_DDREH_DDREH4 (0x10) +#define MCF_GPIO_DDREH_DDREH5 (0x20) +#define MCF_GPIO_DDREH_DDREH6 (0x40) +#define MCF_GPIO_DDREH_DDREH7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_SETEH */ +#define MCF_GPIO_SETEH_SETEH0 (0x1) +#define MCF_GPIO_SETEH_SETEH1 (0x2) +#define MCF_GPIO_SETEH_SETEH2 (0x4) +#define MCF_GPIO_SETEH_SETEH3 (0x8) +#define MCF_GPIO_SETEH_SETEH4 (0x10) +#define MCF_GPIO_SETEH_SETEH5 (0x20) +#define MCF_GPIO_SETEH_SETEH6 (0x40) +#define MCF_GPIO_SETEH_SETEH7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_CLREH */ +#define MCF_GPIO_CLREH_CLREH0 (0x1) +#define MCF_GPIO_CLREH_CLREH1 (0x2) +#define MCF_GPIO_CLREH_CLREH2 (0x4) +#define MCF_GPIO_CLREH_CLREH3 (0x8) +#define MCF_GPIO_CLREH_CLREH4 (0x10) +#define MCF_GPIO_CLREH_CLREH5 (0x20) +#define MCF_GPIO_CLREH_CLREH6 (0x40) +#define MCF_GPIO_CLREH_CLREH7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_PORTEL */ +#define MCF_GPIO_PORTEL_PORTEL0 (0x1) +#define MCF_GPIO_PORTEL_PORTEL1 (0x2) +#define MCF_GPIO_PORTEL_PORTEL2 (0x4) +#define MCF_GPIO_PORTEL_PORTEL3 (0x8) +#define MCF_GPIO_PORTEL_PORTEL4 (0x10) +#define MCF_GPIO_PORTEL_PORTEL5 (0x20) +#define MCF_GPIO_PORTEL_PORTEL6 (0x40) +#define MCF_GPIO_PORTEL_PORTEL7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_DDREL */ +#define MCF_GPIO_DDREL_DDREL0 (0x1) +#define MCF_GPIO_DDREL_DDREL1 (0x2) +#define MCF_GPIO_DDREL_DDREL2 (0x4) +#define MCF_GPIO_DDREL_DDREL3 (0x8) +#define MCF_GPIO_DDREL_DDREL4 (0x10) +#define MCF_GPIO_DDREL_DDREL5 (0x20) +#define MCF_GPIO_DDREL_DDREL6 (0x40) +#define MCF_GPIO_DDREL_DDREL7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_SETEL */ +#define MCF_GPIO_SETEL_SETEL0 (0x1) +#define MCF_GPIO_SETEL_SETEL1 (0x2) +#define MCF_GPIO_SETEL_SETEL2 (0x4) +#define MCF_GPIO_SETEL_SETEL3 (0x8) +#define MCF_GPIO_SETEL_SETEL4 (0x10) +#define MCF_GPIO_SETEL_SETEL5 (0x20) +#define MCF_GPIO_SETEL_SETEL6 (0x40) +#define MCF_GPIO_SETEL_SETEL7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_CLREL */ +#define MCF_GPIO_CLREL_CLREL0 (0x1) +#define MCF_GPIO_CLREL_CLREL1 (0x2) +#define MCF_GPIO_CLREL_CLREL2 (0x4) +#define MCF_GPIO_CLREL_CLREL3 (0x8) +#define MCF_GPIO_CLREL_CLREL4 (0x10) +#define MCF_GPIO_CLREL_CLREL5 (0x20) +#define MCF_GPIO_CLREL_CLREL6 (0x40) +#define MCF_GPIO_CLREL_CLREL7 (0x80) + +/* Bit definitions and macros for MCF_GPIO_PORTAS */ +#define MCF_GPIO_PORTAS_PORTAS0 (0x1) +#define MCF_GPIO_PORTAS_PORTAS1 (0x2) +#define MCF_GPIO_PORTAS_PORTAS2 (0x4) +#define MCF_GPIO_PORTAS_PORTAS3 (0x8) +#define MCF_GPIO_PORTAS_PORTAS4 (0x10) +#define MCF_GPIO_PORTAS_PORTAS5 (0x20) + +/* Bit definitions and macros for MCF_GPIO_DDRAS */ +#define MCF_GPIO_DDRAS_DDRAS0 (0x1) +#define MCF_GPIO_DDRAS_DDRAS1 (0x2) +#define MCF_GPIO_DDRAS_DDRAS2 (0x4) +#define MCF_GPIO_DDRAS_DDRAS3 (0x8) +#define MCF_GPIO_DDRAS_DDRAS4 (0x10) +#define MCF_GPIO_DDRAS_DDRAS5 (0x20) + +/* Bit definitions and macros for MCF_GPIO_SETAS */ +#define MCF_GPIO_SETAS_SETAS0 (0x1) +#define MCF_GPIO_SETAS_SETAS1 (0x2) +#define MCF_GPIO_SETAS_SETAS2 (0x4) +#define MCF_GPIO_SETAS_SETAS3 (0x8) +#define MCF_GPIO_SETAS_SETAS4 (0x10) +#define MCF_GPIO_SETAS_SETAS5 (0x20) + +/* Bit definitions and macros for MCF_GPIO_CLRAS */ +#define MCF_GPIO_CLRAS_CLRAS0 (0x1) +#define MCF_GPIO_CLRAS_CLRAS1 (0x2) +#define MCF_GPIO_CLRAS_CLRAS2 (0x4) +#define MCF_GPIO_CLRAS_CLRAS3 (0x8) +#define MCF_GPIO_CLRAS_CLRAS4 (0x10) +#define MCF_GPIO_CLRAS_CLRAS5 (0x20) + +/* Bit definitions and macros for MCF_GPIO_PORTQS */ +#define MCF_GPIO_PORTQS_PORTQS0 (0x1) +#define MCF_GPIO_PORTQS_PORTQS1 (0x2) +#define MCF_GPIO_PORTQS_PORTQS2 (0x4) +#define MCF_GPIO_PORTQS_PORTQS3 (0x8) +#define MCF_GPIO_PORTQS_PORTQS4 (0x10) +#define MCF_GPIO_PORTQS_PORTQS5 (0x20) +#define MCF_GPIO_PORTQS_PORTQS6 (0x40) + +/* Bit definitions and macros for MCF_GPIO_DDRQS */ +#define MCF_GPIO_DDRQS_DDRQS0 (0x1) +#define MCF_GPIO_DDRQS_DDRQS1 (0x2) +#define MCF_GPIO_DDRQS_DDRQS2 (0x4) +#define MCF_GPIO_DDRQS_DDRQS3 (0x8) +#define MCF_GPIO_DDRQS_DDRQS4 (0x10) +#define MCF_GPIO_DDRQS_DDRQS5 (0x20) +#define MCF_GPIO_DDRQS_DDRQS6 (0x40) + +/* Bit definitions and macros for MCF_GPIO_SETQS */ +#define MCF_GPIO_SETQS_SETQS0 (0x1) +#define MCF_GPIO_SETQS_SETQS1 (0x2) +#define MCF_GPIO_SETQS_SETQS2 (0x4) +#define MCF_GPIO_SETQS_SETQS3 (0x8) +#define MCF_GPIO_SETQS_SETQS4 (0x10) +#define MCF_GPIO_SETQS_SETQS5 (0x20) +#define MCF_GPIO_SETQS_SETQS6 (0x40) + +/* Bit definitions and macros for MCF_GPIO_CLRQS */ +#define MCF_GPIO_CLRQS_CLRQS0 (0x1) +#define MCF_GPIO_CLRQS_CLRQS1 (0x2) +#define MCF_GPIO_CLRQS_CLRQS2 (0x4) +#define MCF_GPIO_CLRQS_CLRQS3 (0x8) +#define MCF_GPIO_CLRQS_CLRQS4 (0x10) +#define MCF_GPIO_CLRQS_CLRQS5 (0x20) +#define MCF_GPIO_CLRQS_CLRQS6 (0x40) + +/* Bit definitions and macros for MCF_GPIO_PORTSD */ +#define MCF_GPIO_PORTSD_PORTSD0 (0x1) +#define MCF_GPIO_PORTSD_PORTSD1 (0x2) +#define MCF_GPIO_PORTSD_PORTSD2 (0x4) +#define MCF_GPIO_PORTSD_PORTSD3 (0x8) +#define MCF_GPIO_PORTSD_PORTSD4 (0x10) +#define MCF_GPIO_PORTSD_PORTSD5 (0x20) + +/* Bit definitions and macros for MCF_GPIO_DDRSD */ +#define MCF_GPIO_DDRSD_DDRSD0 (0x1) +#define MCF_GPIO_DDRSD_DDRSD1 (0x2) +#define MCF_GPIO_DDRSD_DDRSD2 (0x4) +#define MCF_GPIO_DDRSD_DDRSD3 (0x8) +#define MCF_GPIO_DDRSD_DDRSD4 (0x10) +#define MCF_GPIO_DDRSD_DDRSD5 (0x20) + +/* Bit definitions and macros for MCF_GPIO_SETSD */ +#define MCF_GPIO_SETSD_SETSD0 (0x1) +#define MCF_GPIO_SETSD_SETSD1 (0x2) +#define MCF_GPIO_SETSD_SETSD2 (0x4) +#define MCF_GPIO_SETSD_SETSD3 (0x8) +#define MCF_GPIO_SETSD_SETSD4 (0x10) +#define MCF_GPIO_SETSD_SETSD5 (0x20) + +/* Bit definitions and macros for MCF_GPIO_CLRSD */ +#define MCF_GPIO_CLRSD_CLRSD0 (0x1) +#define MCF_GPIO_CLRSD_CLRSD1 (0x2) +#define MCF_GPIO_CLRSD_CLRSD2 (0x4) +#define MCF_GPIO_CLRSD_CLRSD3 (0x8) +#define MCF_GPIO_CLRSD_CLRSD4 (0x10) +#define MCF_GPIO_CLRSD_CLRSD5 (0x20) + +/* Bit definitions and macros for MCF_GPIO_PORTTC */ +#define MCF_GPIO_PORTTC_PORTTC0 (0x1) +#define MCF_GPIO_PORTTC_PORTTC1 (0x2) +#define MCF_GPIO_PORTTC_PORTTC2 (0x4) +#define MCF_GPIO_PORTTC_PORTTC3 (0x8) + +/* Bit definitions and macros for MCF_GPIO_DDRTC */ +#define MCF_GPIO_DDRTC_DDRTC0 (0x1) +#define MCF_GPIO_DDRTC_DDRTC1 (0x2) +#define MCF_GPIO_DDRTC_DDRTC2 (0x4) +#define MCF_GPIO_DDRTC_DDRTC3 (0x8) + +/* Bit definitions and macros for MCF_GPIO_SETTC */ +#define MCF_GPIO_SETTC_SETTC0 (0x1) +#define MCF_GPIO_SETTC_SETTC1 (0x2) +#define MCF_GPIO_SETTC_SETTC2 (0x4) +#define MCF_GPIO_SETTC_SETTC3 (0x8) + +/* Bit definitions and macros for MCF_GPIO_CLRTC */ +#define MCF_GPIO_CLRTC_CLRTC0 (0x1) +#define MCF_GPIO_CLRTC_CLRTC1 (0x2) +#define MCF_GPIO_CLRTC_CLRTC2 (0x4) +#define MCF_GPIO_CLRTC_CLRTC3 (0x8) + +/* Bit definitions and macros for MCF_GPIO_PORTTD */ +#define MCF_GPIO_PORTTD_PORTTD0 (0x1) +#define MCF_GPIO_PORTTD_PORTTD1 (0x2) +#define MCF_GPIO_PORTTD_PORTTD2 (0x4) +#define MCF_GPIO_PORTTD_PORTTD3 (0x8) + +/* Bit definitions and macros for MCF_GPIO_DDRTD */ +#define MCF_GPIO_DDRTD_DDRTD0 (0x1) +#define MCF_GPIO_DDRTD_DDRTD1 (0x2) +#define MCF_GPIO_DDRTD_DDRTD2 (0x4) +#define MCF_GPIO_DDRTD_DDRTD3 (0x8) + +/* Bit definitions and macros for MCF_GPIO_SETTD */ +#define MCF_GPIO_SETTD_SETTD0 (0x1) +#define MCF_GPIO_SETTD_SETTD1 (0x2) +#define MCF_GPIO_SETTD_SETTD2 (0x4) +#define MCF_GPIO_SETTD_SETTD3 (0x8) + +/* Bit definitions and macros for MCF_GPIO_CLRTD */ +#define MCF_GPIO_CLRTD_CLRTD0 (0x1) +#define MCF_GPIO_CLRTD_CLRTD1 (0x2) +#define MCF_GPIO_CLRTD_CLRTD2 (0x4) +#define MCF_GPIO_CLRTD_CLRTD3 (0x8) + +/* Bit definitions and macros for MCF_GPIO_PORTUA */ +#define MCF_GPIO_PORTUA_PORTUA0 (0x1) +#define MCF_GPIO_PORTUA_PORTUA1 (0x2) +#define MCF_GPIO_PORTUA_PORTUA2 (0x4) +#define MCF_GPIO_PORTUA_PORTUA3 (0x8) + +/* Bit definitions and macros for MCF_GPIO_DDRUA */ +#define MCF_GPIO_DDRUA_DDRUA0 (0x1) +#define MCF_GPIO_DDRUA_DDRUA1 (0x2) +#define MCF_GPIO_DDRUA_DDRUA2 (0x4) +#define MCF_GPIO_DDRUA_DDRUA3 (0x8) + +/* Bit definitions and macros for MCF_GPIO_SETUA */ +#define MCF_GPIO_SETUA_SETUA0 (0x1) +#define MCF_GPIO_SETUA_SETUA1 (0x2) +#define MCF_GPIO_SETUA_SETUA2 (0x4) +#define MCF_GPIO_SETUA_SETUA3 (0x8) + +/* Bit definitions and macros for MCF_GPIO_CLRUA */ +#define MCF_GPIO_CLRUA_CLRUA0 (0x1) +#define MCF_GPIO_CLRUA_CLRUA1 (0x2) +#define MCF_GPIO_CLRUA_CLRUA2 (0x4) +#define MCF_GPIO_CLRUA_CLRUA3 (0x8) + + +#endif /* __MCF5282_GPIO_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GPTA.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GPTA.h new file mode 100644 index 000000000..9092e2a50 --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GPTA.h @@ -0,0 +1,198 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_GPTA_H__ +#define __MCF5282_GPTA_H__ + + +/********************************************************************* +* +* General Purpose Timer Module (GPT) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_GPTA_GPTIOS (*(vuint8 *)(&__IPSBAR[0x1A0000])) +#define MCF_GPTA_GPTCFORC (*(vuint8 *)(&__IPSBAR[0x1A0001])) +#define MCF_GPTA_GPTOC3M (*(vuint8 *)(&__IPSBAR[0x1A0002])) +#define MCF_GPTA_GPTOC3D (*(vuint8 *)(&__IPSBAR[0x1A0003])) +#define MCF_GPTA_GPTCNT (*(vuint16*)(&__IPSBAR[0x1A0004])) +#define MCF_GPTA_GPTSCR1 (*(vuint8 *)(&__IPSBAR[0x1A0006])) +#define MCF_GPTA_GPTTOV (*(vuint8 *)(&__IPSBAR[0x1A0008])) +#define MCF_GPTA_GPTCTL1 (*(vuint8 *)(&__IPSBAR[0x1A0009])) +#define MCF_GPTA_GPTCTL2 (*(vuint8 *)(&__IPSBAR[0x1A000B])) +#define MCF_GPTA_GPTIE (*(vuint8 *)(&__IPSBAR[0x1A000C])) +#define MCF_GPTA_GPTSCR2 (*(vuint8 *)(&__IPSBAR[0x1A000D])) +#define MCF_GPTA_GPTFLG1 (*(vuint8 *)(&__IPSBAR[0x1A000E])) +#define MCF_GPTA_GPTFLG2 (*(vuint8 *)(&__IPSBAR[0x1A000F])) +#define MCF_GPTA_GPTC0 (*(vuint16*)(&__IPSBAR[0x1A0010])) +#define MCF_GPTA_GPTC1 (*(vuint16*)(&__IPSBAR[0x1A0012])) +#define MCF_GPTA_GPTC2 (*(vuint16*)(&__IPSBAR[0x1A0014])) +#define MCF_GPTA_GPTC3 (*(vuint16*)(&__IPSBAR[0x1A0016])) +#define MCF_GPTA_GPTPACTL (*(vuint8 *)(&__IPSBAR[0x1A0018])) +#define MCF_GPTA_GPTPAFLG (*(vuint8 *)(&__IPSBAR[0x1A0019])) +#define MCF_GPTA_GPTPACNT (*(vuint16*)(&__IPSBAR[0x1A001A])) +#define MCF_GPTA_GPTPORT (*(vuint8 *)(&__IPSBAR[0x1A001D])) +#define MCF_GPTA_GPTDDR (*(vuint8 *)(&__IPSBAR[0x1A001E])) +#define MCF_GPTA_GPTC(x) (*(vuint16*)(&__IPSBAR[0x1A0010 + ((x)*0x2)])) + + +/* Bit definitions and macros for MCF_GPTA_GPTIOS */ +#define MCF_GPTA_GPTIOS_IOS0 (0x1) +#define MCF_GPTA_GPTIOS_IOS1 (0x2) +#define MCF_GPTA_GPTIOS_IOS2 (0x4) +#define MCF_GPTA_GPTIOS_IOS3 (0x8) + +/* Bit definitions and macros for MCF_GPTA_GPTCFORC */ +#define MCF_GPTA_GPTCFORC_FOC0 (0x1) +#define MCF_GPTA_GPTCFORC_FOC1 (0x2) +#define MCF_GPTA_GPTCFORC_FOC2 (0x4) +#define MCF_GPTA_GPTCFORC_FOC3 (0x8) + +/* Bit definitions and macros for MCF_GPTA_GPTOC3M */ +#define MCF_GPTA_GPTOC3M_OC3M0 (0x1) +#define MCF_GPTA_GPTOC3M_OC3M1 (0x2) +#define MCF_GPTA_GPTOC3M_OC3M2 (0x4) +#define MCF_GPTA_GPTOC3M_OC3M3 (0x8) + +/* Bit definitions and macros for MCF_GPTA_GPTOC3D */ +#define MCF_GPTA_GPTOC3D_OC3D0 (0x1) +#define MCF_GPTA_GPTOC3D_OC3D1 (0x2) +#define MCF_GPTA_GPTOC3D_OC3D2 (0x4) +#define MCF_GPTA_GPTOC3D_OC3D3 (0x8) + +/* Bit definitions and macros for MCF_GPTA_GPTCNT */ +#define MCF_GPTA_GPTCNT_CNTR(x) (((x)&0xFFFF)<<0) + +/* Bit definitions and macros for MCF_GPTA_GPTSCR1 */ +#define MCF_GPTA_GPTSCR1_TFFCA (0x10) +#define MCF_GPTA_GPTSCR1_GPTEN (0x80) + +/* Bit definitions and macros for MCF_GPTA_GPTTOV */ +#define MCF_GPTA_GPTTOV_TOV0 (0x1) +#define MCF_GPTA_GPTTOV_TOV1 (0x2) +#define MCF_GPTA_GPTTOV_TOV2 (0x4) +#define MCF_GPTA_GPTTOV_TOV3 (0x8) + +/* Bit definitions and macros for MCF_GPTA_GPTCTL1 */ +#define MCF_GPTA_GPTCTL1_OL0 (0x1) +#define MCF_GPTA_GPTCTL1_OM0 (0x2) +#define MCF_GPTA_GPTCTL1_OL1 (0x4) +#define MCF_GPTA_GPTCTL1_OM1 (0x8) +#define MCF_GPTA_GPTCTL1_OL2 (0x10) +#define MCF_GPTA_GPTCTL1_OM2 (0x20) +#define MCF_GPTA_GPTCTL1_OL3 (0x40) +#define MCF_GPTA_GPTCTL1_OM3 (0x80) +#define MCF_GPTA_GPTCTL1_OUTPUT0_NOTHING (0) +#define MCF_GPTA_GPTCTL1_OUTPUT0_TOGGLE (0x1) +#define MCF_GPTA_GPTCTL1_OUTPUT0_CLEAR (0x2) +#define MCF_GPTA_GPTCTL1_OUTPUT0_SET (0x3) +#define MCF_GPTA_GPTCTL1_OUTPUT1_NOTHING (0) +#define MCF_GPTA_GPTCTL1_OUTPUT1_TOGGLE (0x4) +#define MCF_GPTA_GPTCTL1_OUTPUT1_CLEAR (0x8) +#define MCF_GPTA_GPTCTL1_OUTPUT1_SET (0xC) +#define MCF_GPTA_GPTCTL1_OUTPUT2_NOTHING (0) +#define MCF_GPTA_GPTCTL1_OUTPUT2_TOGGLE (0x10) +#define MCF_GPTA_GPTCTL1_OUTPUT2_CLEAR (0x20) +#define MCF_GPTA_GPTCTL1_OUTPUT2_SET (0x30) +#define MCF_GPTA_GPTCTL1_OUTPUT3_NOTHING (0) +#define MCF_GPTA_GPTCTL1_OUTPUT3_TOGGLE (0x40) +#define MCF_GPTA_GPTCTL1_OUTPUT3_CLEAR (0x80) +#define MCF_GPTA_GPTCTL1_OUTPUT3_SET (0xC0) + +/* Bit definitions and macros for MCF_GPTA_GPTCTL2 */ +#define MCF_GPTA_GPTCTL2_EDG0A (0x1) +#define MCF_GPTA_GPTCTL2_EDG0B (0x2) +#define MCF_GPTA_GPTCTL2_EDG1A (0x4) +#define MCF_GPTA_GPTCTL2_EDG1B (0x8) +#define MCF_GPTA_GPTCTL2_EDG2A (0x10) +#define MCF_GPTA_GPTCTL2_EDG2B (0x20) +#define MCF_GPTA_GPTCTL2_EDG3A (0x40) +#define MCF_GPTA_GPTCTL2_EDG3B (0x80) +#define MCF_GPTA_GPTCTL2_INPUT0_DISABLED (0) +#define MCF_GPTA_GPTCTL2_INPUT0_RISING (0x1) +#define MCF_GPTA_GPTCTL2_INPUT0_FALLING (0x2) +#define MCF_GPTA_GPTCTL2_INPUT0_ANY (0x3) +#define MCF_GPTA_GPTCTL2_INPUT1_DISABLED (0) +#define MCF_GPTA_GPTCTL2_INPUT1_RISING (0x4) +#define MCF_GPTA_GPTCTL2_INPUT1_FALLING (0x8) +#define MCF_GPTA_GPTCTL2_INPUT1_ANY (0xC) +#define MCF_GPTA_GPTCTL2_INPUT2_DISABLED (0) +#define MCF_GPTA_GPTCTL2_INPUT2_RISING (0x10) +#define MCF_GPTA_GPTCTL2_INPUT2_FALLING (0x20) +#define MCF_GPTA_GPTCTL2_INPUT2_ANY (0x30) +#define MCF_GPTA_GPTCTL2_INPUT3_DISABLED (0) +#define MCF_GPTA_GPTCTL2_INPUT3_RISING (0x40) +#define MCF_GPTA_GPTCTL2_INPUT3_FALLING (0x80) +#define MCF_GPTA_GPTCTL2_INPUT3_ANY (0xC0) + +/* Bit definitions and macros for MCF_GPTA_GPTIE */ +#define MCF_GPTA_GPTIE_CI0 (0x1) +#define MCF_GPTA_GPTIE_CI1 (0x2) +#define MCF_GPTA_GPTIE_CI2 (0x4) +#define MCF_GPTA_GPTIE_CI3 (0x8) + +/* Bit definitions and macros for MCF_GPTA_GPTSCR2 */ +#define MCF_GPTA_GPTSCR2_PR(x) (((x)&0x7)<<0) +#define MCF_GPTA_GPTSCR2_PR_1 (0) +#define MCF_GPTA_GPTSCR2_PR_2 (0x1) +#define MCF_GPTA_GPTSCR2_PR_4 (0x2) +#define MCF_GPTA_GPTSCR2_PR_8 (0x3) +#define MCF_GPTA_GPTSCR2_PR_16 (0x4) +#define MCF_GPTA_GPTSCR2_PR_32 (0x5) +#define MCF_GPTA_GPTSCR2_PR_64 (0x6) +#define MCF_GPTA_GPTSCR2_PR_128 (0x7) +#define MCF_GPTA_GPTSCR2_TCRE (0x8) +#define MCF_GPTA_GPTSCR2_RDPT (0x10) +#define MCF_GPTA_GPTSCR2_PUPT (0x20) +#define MCF_GPTA_GPTSCR2_TOI (0x80) + +/* Bit definitions and macros for MCF_GPTA_GPTFLG1 */ +#define MCF_GPTA_GPTFLG1_CF0 (0x1) +#define MCF_GPTA_GPTFLG1_CF1 (0x2) +#define MCF_GPTA_GPTFLG1_CF2 (0x4) +#define MCF_GPTA_GPTFLG1_CF3 (0x8) + +/* Bit definitions and macros for MCF_GPTA_GPTFLG2 */ +#define MCF_GPTA_GPTFLG2_TOF (0x80) + +/* Bit definitions and macros for MCF_GPTA_GPTC */ +#define MCF_GPTA_GPTC_CCNT(x) (((x)&0xFFFF)<<0) + +/* Bit definitions and macros for MCF_GPTA_GPTPACTL */ +#define MCF_GPTA_GPTPACTL_PAI (0x1) +#define MCF_GPTA_GPTPACTL_PAOVI (0x2) +#define MCF_GPTA_GPTPACTL_CLK(x) (((x)&0x3)<<0x2) +#define MCF_GPTA_GPTPACTL_CLK_GPTPR (0) +#define MCF_GPTA_GPTPACTL_CLK_PACLK (0x1) +#define MCF_GPTA_GPTPACTL_CLK_PACLK_256 (0x2) +#define MCF_GPTA_GPTPACTL_CLK_PACLK_65536 (0x3) +#define MCF_GPTA_GPTPACTL_PEDGE (0x10) +#define MCF_GPTA_GPTPACTL_PAMOD (0x20) +#define MCF_GPTA_GPTPACTL_PAE (0x40) + +/* Bit definitions and macros for MCF_GPTA_GPTPAFLG */ +#define MCF_GPTA_GPTPAFLG_PAIF (0x1) +#define MCF_GPTA_GPTPAFLG_PAOVF (0x2) + +/* Bit definitions and macros for MCF_GPTA_GPTPACNT */ +#define MCF_GPTA_GPTPACNT_PACNT(x) (((x)&0xFFFF)<<0) + +/* Bit definitions and macros for MCF_GPTA_GPTPORT */ +#define MCF_GPTA_GPTPORT_PORTT0 (0x1) +#define MCF_GPTA_GPTPORT_PORTT1 (0x2) +#define MCF_GPTA_GPTPORT_PORTT2 (0x4) +#define MCF_GPTA_GPTPORT_PORTT3 (0x8) + +/* Bit definitions and macros for MCF_GPTA_GPTDDR */ +#define MCF_GPTA_GPTDDR_DDRT0 (0x1) +#define MCF_GPTA_GPTDDR_DDRT1 (0x2) +#define MCF_GPTA_GPTDDR_DDRT2 (0x4) +#define MCF_GPTA_GPTDDR_DDRT3 (0x8) + + +#endif /* __MCF5282_GPTA_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GPTB.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GPTB.h new file mode 100644 index 000000000..aa3f2f382 --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_GPTB.h @@ -0,0 +1,198 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_GPTB_H__ +#define __MCF5282_GPTB_H__ + + +/********************************************************************* +* +* General Purpose Timer Module (GPT) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_GPTB_GPTIOS (*(vuint8 *)(&__IPSBAR[0x1B0000])) +#define MCF_GPTB_GPTCFORC (*(vuint8 *)(&__IPSBAR[0x1B0001])) +#define MCF_GPTB_GPTOC3M (*(vuint8 *)(&__IPSBAR[0x1B0002])) +#define MCF_GPTB_GPTOC3D (*(vuint8 *)(&__IPSBAR[0x1B0003])) +#define MCF_GPTB_GPTCNT (*(vuint16*)(&__IPSBAR[0x1B0004])) +#define MCF_GPTB_GPTSCR1 (*(vuint8 *)(&__IPSBAR[0x1B0006])) +#define MCF_GPTB_GPTTOV (*(vuint8 *)(&__IPSBAR[0x1B0008])) +#define MCF_GPTB_GPTCTL1 (*(vuint8 *)(&__IPSBAR[0x1B0009])) +#define MCF_GPTB_GPTCTL2 (*(vuint8 *)(&__IPSBAR[0x1B000B])) +#define MCF_GPTB_GPTIE (*(vuint8 *)(&__IPSBAR[0x1B000C])) +#define MCF_GPTB_GPTSCR2 (*(vuint8 *)(&__IPSBAR[0x1B000D])) +#define MCF_GPTB_GPTFLG1 (*(vuint8 *)(&__IPSBAR[0x1B000E])) +#define MCF_GPTB_GPTFLG2 (*(vuint8 *)(&__IPSBAR[0x1B000F])) +#define MCF_GPTB_GPTC0 (*(vuint16*)(&__IPSBAR[0x1B0010])) +#define MCF_GPTB_GPTC1 (*(vuint16*)(&__IPSBAR[0x1B0012])) +#define MCF_GPTB_GPTC2 (*(vuint16*)(&__IPSBAR[0x1B0014])) +#define MCF_GPTB_GPTC3 (*(vuint16*)(&__IPSBAR[0x1B0016])) +#define MCF_GPTB_GPTPACTL (*(vuint8 *)(&__IPSBAR[0x1B0018])) +#define MCF_GPTB_GPTPAFLG (*(vuint8 *)(&__IPSBAR[0x1B0019])) +#define MCF_GPTB_GPTPACNT (*(vuint16*)(&__IPSBAR[0x1B001A])) +#define MCF_GPTB_GPTPORT (*(vuint8 *)(&__IPSBAR[0x1B001D])) +#define MCF_GPTB_GPTDDR (*(vuint8 *)(&__IPSBAR[0x1B001E])) +#define MCF_GPTB_GPTC(x) (*(vuint16*)(&__IPSBAR[0x1B0010 + ((x)*0x2)])) + + +/* Bit definitions and macros for MCF_GPTB_GPTIOS */ +#define MCF_GPTB_GPTIOS_IOS0 (0x1) +#define MCF_GPTB_GPTIOS_IOS1 (0x2) +#define MCF_GPTB_GPTIOS_IOS2 (0x4) +#define MCF_GPTB_GPTIOS_IOS3 (0x8) + +/* Bit definitions and macros for MCF_GPTB_GPTCFORC */ +#define MCF_GPTB_GPTCFORC_FOC0 (0x1) +#define MCF_GPTB_GPTCFORC_FOC1 (0x2) +#define MCF_GPTB_GPTCFORC_FOC2 (0x4) +#define MCF_GPTB_GPTCFORC_FOC3 (0x8) + +/* Bit definitions and macros for MCF_GPTB_GPTOC3M */ +#define MCF_GPTB_GPTOC3M_OC3M0 (0x1) +#define MCF_GPTB_GPTOC3M_OC3M1 (0x2) +#define MCF_GPTB_GPTOC3M_OC3M2 (0x4) +#define MCF_GPTB_GPTOC3M_OC3M3 (0x8) + +/* Bit definitions and macros for MCF_GPTB_GPTOC3D */ +#define MCF_GPTB_GPTOC3D_OC3D0 (0x1) +#define MCF_GPTB_GPTOC3D_OC3D1 (0x2) +#define MCF_GPTB_GPTOC3D_OC3D2 (0x4) +#define MCF_GPTB_GPTOC3D_OC3D3 (0x8) + +/* Bit definitions and macros for MCF_GPTB_GPTCNT */ +#define MCF_GPTB_GPTCNT_CNTR(x) (((x)&0xFFFF)<<0) + +/* Bit definitions and macros for MCF_GPTB_GPTSCR1 */ +#define MCF_GPTB_GPTSCR1_TFFCA (0x10) +#define MCF_GPTB_GPTSCR1_GPTEN (0x80) + +/* Bit definitions and macros for MCF_GPTB_GPTTOV */ +#define MCF_GPTB_GPTTOV_TOV0 (0x1) +#define MCF_GPTB_GPTTOV_TOV1 (0x2) +#define MCF_GPTB_GPTTOV_TOV2 (0x4) +#define MCF_GPTB_GPTTOV_TOV3 (0x8) + +/* Bit definitions and macros for MCF_GPTB_GPTCTL1 */ +#define MCF_GPTB_GPTCTL1_OL0 (0x1) +#define MCF_GPTB_GPTCTL1_OM0 (0x2) +#define MCF_GPTB_GPTCTL1_OL1 (0x4) +#define MCF_GPTB_GPTCTL1_OM1 (0x8) +#define MCF_GPTB_GPTCTL1_OL2 (0x10) +#define MCF_GPTB_GPTCTL1_OM2 (0x20) +#define MCF_GPTB_GPTCTL1_OL3 (0x40) +#define MCF_GPTB_GPTCTL1_OM3 (0x80) +#define MCF_GPTB_GPTCTL1_OUTPUT0_NOTHING (0) +#define MCF_GPTB_GPTCTL1_OUTPUT0_TOGGLE (0x1) +#define MCF_GPTB_GPTCTL1_OUTPUT0_CLEAR (0x2) +#define MCF_GPTB_GPTCTL1_OUTPUT0_SET (0x3) +#define MCF_GPTB_GPTCTL1_OUTPUT1_NOTHING (0) +#define MCF_GPTB_GPTCTL1_OUTPUT1_TOGGLE (0x4) +#define MCF_GPTB_GPTCTL1_OUTPUT1_CLEAR (0x8) +#define MCF_GPTB_GPTCTL1_OUTPUT1_SET (0xC) +#define MCF_GPTB_GPTCTL1_OUTPUT2_NOTHING (0) +#define MCF_GPTB_GPTCTL1_OUTPUT2_TOGGLE (0x10) +#define MCF_GPTB_GPTCTL1_OUTPUT2_CLEAR (0x20) +#define MCF_GPTB_GPTCTL1_OUTPUT2_SET (0x30) +#define MCF_GPTB_GPTCTL1_OUTPUT3_NOTHING (0) +#define MCF_GPTB_GPTCTL1_OUTPUT3_TOGGLE (0x40) +#define MCF_GPTB_GPTCTL1_OUTPUT3_CLEAR (0x80) +#define MCF_GPTB_GPTCTL1_OUTPUT3_SET (0xC0) + +/* Bit definitions and macros for MCF_GPTB_GPTCTL2 */ +#define MCF_GPTB_GPTCTL2_EDG0A (0x1) +#define MCF_GPTB_GPTCTL2_EDG0B (0x2) +#define MCF_GPTB_GPTCTL2_EDG1A (0x4) +#define MCF_GPTB_GPTCTL2_EDG1B (0x8) +#define MCF_GPTB_GPTCTL2_EDG2A (0x10) +#define MCF_GPTB_GPTCTL2_EDG2B (0x20) +#define MCF_GPTB_GPTCTL2_EDG3A (0x40) +#define MCF_GPTB_GPTCTL2_EDG3B (0x80) +#define MCF_GPTB_GPTCTL2_INPUT0_DISABLED (0) +#define MCF_GPTB_GPTCTL2_INPUT0_RISING (0x1) +#define MCF_GPTB_GPTCTL2_INPUT0_FALLING (0x2) +#define MCF_GPTB_GPTCTL2_INPUT0_ANY (0x3) +#define MCF_GPTB_GPTCTL2_INPUT1_DISABLED (0) +#define MCF_GPTB_GPTCTL2_INPUT1_RISING (0x4) +#define MCF_GPTB_GPTCTL2_INPUT1_FALLING (0x8) +#define MCF_GPTB_GPTCTL2_INPUT1_ANY (0xC) +#define MCF_GPTB_GPTCTL2_INPUT2_DISABLED (0) +#define MCF_GPTB_GPTCTL2_INPUT2_RISING (0x10) +#define MCF_GPTB_GPTCTL2_INPUT2_FALLING (0x20) +#define MCF_GPTB_GPTCTL2_INPUT2_ANY (0x30) +#define MCF_GPTB_GPTCTL2_INPUT3_DISABLED (0) +#define MCF_GPTB_GPTCTL2_INPUT3_RISING (0x40) +#define MCF_GPTB_GPTCTL2_INPUT3_FALLING (0x80) +#define MCF_GPTB_GPTCTL2_INPUT3_ANY (0xC0) + +/* Bit definitions and macros for MCF_GPTB_GPTIE */ +#define MCF_GPTB_GPTIE_CI0 (0x1) +#define MCF_GPTB_GPTIE_CI1 (0x2) +#define MCF_GPTB_GPTIE_CI2 (0x4) +#define MCF_GPTB_GPTIE_CI3 (0x8) + +/* Bit definitions and macros for MCF_GPTB_GPTSCR2 */ +#define MCF_GPTB_GPTSCR2_PR(x) (((x)&0x7)<<0) +#define MCF_GPTB_GPTSCR2_PR_1 (0) +#define MCF_GPTB_GPTSCR2_PR_2 (0x1) +#define MCF_GPTB_GPTSCR2_PR_4 (0x2) +#define MCF_GPTB_GPTSCR2_PR_8 (0x3) +#define MCF_GPTB_GPTSCR2_PR_16 (0x4) +#define MCF_GPTB_GPTSCR2_PR_32 (0x5) +#define MCF_GPTB_GPTSCR2_PR_64 (0x6) +#define MCF_GPTB_GPTSCR2_PR_128 (0x7) +#define MCF_GPTB_GPTSCR2_TCRE (0x8) +#define MCF_GPTB_GPTSCR2_RDPT (0x10) +#define MCF_GPTB_GPTSCR2_PUPT (0x20) +#define MCF_GPTB_GPTSCR2_TOI (0x80) + +/* Bit definitions and macros for MCF_GPTB_GPTFLG1 */ +#define MCF_GPTB_GPTFLG1_CF0 (0x1) +#define MCF_GPTB_GPTFLG1_CF1 (0x2) +#define MCF_GPTB_GPTFLG1_CF2 (0x4) +#define MCF_GPTB_GPTFLG1_CF3 (0x8) + +/* Bit definitions and macros for MCF_GPTB_GPTFLG2 */ +#define MCF_GPTB_GPTFLG2_TOF (0x80) + +/* Bit definitions and macros for MCF_GPTB_GPTC */ +#define MCF_GPTB_GPTC_CCNT(x) (((x)&0xFFFF)<<0) + +/* Bit definitions and macros for MCF_GPTB_GPTPACTL */ +#define MCF_GPTB_GPTPACTL_PAI (0x1) +#define MCF_GPTB_GPTPACTL_PAOVI (0x2) +#define MCF_GPTB_GPTPACTL_CLK(x) (((x)&0x3)<<0x2) +#define MCF_GPTB_GPTPACTL_CLK_GPTPR (0) +#define MCF_GPTB_GPTPACTL_CLK_PACLK (0x1) +#define MCF_GPTB_GPTPACTL_CLK_PACLK_256 (0x2) +#define MCF_GPTB_GPTPACTL_CLK_PACLK_65536 (0x3) +#define MCF_GPTB_GPTPACTL_PEDGE (0x10) +#define MCF_GPTB_GPTPACTL_PAMOD (0x20) +#define MCF_GPTB_GPTPACTL_PAE (0x40) + +/* Bit definitions and macros for MCF_GPTB_GPTPAFLG */ +#define MCF_GPTB_GPTPAFLG_PAIF (0x1) +#define MCF_GPTB_GPTPAFLG_PAOVF (0x2) + +/* Bit definitions and macros for MCF_GPTB_GPTPACNT */ +#define MCF_GPTB_GPTPACNT_PACNT(x) (((x)&0xFFFF)<<0) + +/* Bit definitions and macros for MCF_GPTB_GPTPORT */ +#define MCF_GPTB_GPTPORT_PORTT0 (0x1) +#define MCF_GPTB_GPTPORT_PORTT1 (0x2) +#define MCF_GPTB_GPTPORT_PORTT2 (0x4) +#define MCF_GPTB_GPTPORT_PORTT3 (0x8) + +/* Bit definitions and macros for MCF_GPTB_GPTDDR */ +#define MCF_GPTB_GPTDDR_DDRT0 (0x1) +#define MCF_GPTB_GPTDDR_DDRT1 (0x2) +#define MCF_GPTB_GPTDDR_DDRT2 (0x4) +#define MCF_GPTB_GPTDDR_DDRT3 (0x8) + + +#endif /* __MCF5282_GPTB_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_I2C.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_I2C.h new file mode 100644 index 000000000..59ed84dad --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_I2C.h @@ -0,0 +1,54 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_I2C_H__ +#define __MCF5282_I2C_H__ + + +/********************************************************************* +* +* I2C Module (I2C) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_I2C_I2ADR (*(vuint8 *)(&__IPSBAR[0x300])) +#define MCF_I2C_I2FDR (*(vuint8 *)(&__IPSBAR[0x304])) +#define MCF_I2C_I2CR (*(vuint8 *)(&__IPSBAR[0x308])) +#define MCF_I2C_I2SR (*(vuint8 *)(&__IPSBAR[0x30C])) +#define MCF_I2C_I2DR (*(vuint8 *)(&__IPSBAR[0x310])) + + + +/* Bit definitions and macros for MCF_I2C_I2ADR */ +#define MCF_I2C_I2ADR_ADR(x) (((x)&0x7F)<<0x1) + +/* Bit definitions and macros for MCF_I2C_I2FDR */ +#define MCF_I2C_I2FDR_IC(x) (((x)&0x3F)<<0) + +/* Bit definitions and macros for MCF_I2C_I2CR */ +#define MCF_I2C_I2CR_RSTA (0x4) +#define MCF_I2C_I2CR_TXAK (0x8) +#define MCF_I2C_I2CR_MTX (0x10) +#define MCF_I2C_I2CR_MSTA (0x20) +#define MCF_I2C_I2CR_IIEN (0x40) +#define MCF_I2C_I2CR_IEN (0x80) + +/* Bit definitions and macros for MCF_I2C_I2SR */ +#define MCF_I2C_I2SR_RXAK (0x1) +#define MCF_I2C_I2SR_IIF (0x2) +#define MCF_I2C_I2SR_SRW (0x4) +#define MCF_I2C_I2SR_IAL (0x10) +#define MCF_I2C_I2SR_IBB (0x20) +#define MCF_I2C_I2SR_IAAS (0x40) +#define MCF_I2C_I2SR_ICF (0x80) + +/* Bit definitions and macros for MCF_I2C_I2DR */ +#define MCF_I2C_I2DR_DATA(x) (((x)&0xFF)<<0) + + +#endif /* __MCF5282_I2C_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_INTC.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_INTC.h new file mode 100644 index 000000000..10235efb7 --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_INTC.h @@ -0,0 +1,484 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_INTC_H__ +#define __MCF5282_INTC_H__ + + +/********************************************************************* +* +* Interrupt Controller (INTC) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_INTC0_IPRH (*(vuint32*)(&__IPSBAR[0xC00])) +#define MCF_INTC0_IPRL (*(vuint32*)(&__IPSBAR[0xC04])) +#define MCF_INTC0_IMRH (*(vuint32*)(&__IPSBAR[0xC08])) +#define MCF_INTC0_IMRL (*(vuint32*)(&__IPSBAR[0xC0C])) +#define MCF_INTC0_INTFRCH (*(vuint32*)(&__IPSBAR[0xC10])) +#define MCF_INTC0_INTFRCL (*(vuint32*)(&__IPSBAR[0xC14])) +#define MCF_INTC0_IRLR (*(vuint8 *)(&__IPSBAR[0xC18])) +#define MCF_INTC0_IACKLPR (*(vuint8 *)(&__IPSBAR[0xC19])) +#define MCF_INTC0_ICR01 (*(vuint8 *)(&__IPSBAR[0xC41])) +#define MCF_INTC0_ICR02 (*(vuint8 *)(&__IPSBAR[0xC42])) +#define MCF_INTC0_ICR03 (*(vuint8 *)(&__IPSBAR[0xC43])) +#define MCF_INTC0_ICR04 (*(vuint8 *)(&__IPSBAR[0xC44])) +#define MCF_INTC0_ICR05 (*(vuint8 *)(&__IPSBAR[0xC45])) +#define MCF_INTC0_ICR06 (*(vuint8 *)(&__IPSBAR[0xC46])) +#define MCF_INTC0_ICR07 (*(vuint8 *)(&__IPSBAR[0xC47])) +#define MCF_INTC0_ICR08 (*(vuint8 *)(&__IPSBAR[0xC48])) +#define MCF_INTC0_ICR09 (*(vuint8 *)(&__IPSBAR[0xC49])) +#define MCF_INTC0_ICR10 (*(vuint8 *)(&__IPSBAR[0xC4A])) +#define MCF_INTC0_ICR11 (*(vuint8 *)(&__IPSBAR[0xC4B])) +#define MCF_INTC0_ICR12 (*(vuint8 *)(&__IPSBAR[0xC4C])) +#define MCF_INTC0_ICR13 (*(vuint8 *)(&__IPSBAR[0xC4D])) +#define MCF_INTC0_ICR14 (*(vuint8 *)(&__IPSBAR[0xC4E])) +#define MCF_INTC0_ICR15 (*(vuint8 *)(&__IPSBAR[0xC4F])) +#define MCF_INTC0_ICR16 (*(vuint8 *)(&__IPSBAR[0xC50])) +#define MCF_INTC0_ICR17 (*(vuint8 *)(&__IPSBAR[0xC51])) +#define MCF_INTC0_ICR18 (*(vuint8 *)(&__IPSBAR[0xC52])) +#define MCF_INTC0_ICR19 (*(vuint8 *)(&__IPSBAR[0xC53])) +#define MCF_INTC0_ICR20 (*(vuint8 *)(&__IPSBAR[0xC54])) +#define MCF_INTC0_ICR21 (*(vuint8 *)(&__IPSBAR[0xC55])) +#define MCF_INTC0_ICR22 (*(vuint8 *)(&__IPSBAR[0xC56])) +#define MCF_INTC0_ICR23 (*(vuint8 *)(&__IPSBAR[0xC57])) +#define MCF_INTC0_ICR24 (*(vuint8 *)(&__IPSBAR[0xC58])) +#define MCF_INTC0_ICR25 (*(vuint8 *)(&__IPSBAR[0xC59])) +#define MCF_INTC0_ICR26 (*(vuint8 *)(&__IPSBAR[0xC5A])) +#define MCF_INTC0_ICR27 (*(vuint8 *)(&__IPSBAR[0xC5B])) +#define MCF_INTC0_ICR28 (*(vuint8 *)(&__IPSBAR[0xC5C])) +#define MCF_INTC0_ICR29 (*(vuint8 *)(&__IPSBAR[0xC5D])) +#define MCF_INTC0_ICR30 (*(vuint8 *)(&__IPSBAR[0xC5E])) +#define MCF_INTC0_ICR31 (*(vuint8 *)(&__IPSBAR[0xC5F])) +#define MCF_INTC0_ICR32 (*(vuint8 *)(&__IPSBAR[0xC60])) +#define MCF_INTC0_ICR33 (*(vuint8 *)(&__IPSBAR[0xC61])) +#define MCF_INTC0_ICR34 (*(vuint8 *)(&__IPSBAR[0xC62])) +#define MCF_INTC0_ICR35 (*(vuint8 *)(&__IPSBAR[0xC63])) +#define MCF_INTC0_ICR36 (*(vuint8 *)(&__IPSBAR[0xC64])) +#define MCF_INTC0_ICR37 (*(vuint8 *)(&__IPSBAR[0xC65])) +#define MCF_INTC0_ICR38 (*(vuint8 *)(&__IPSBAR[0xC66])) +#define MCF_INTC0_ICR39 (*(vuint8 *)(&__IPSBAR[0xC67])) +#define MCF_INTC0_ICR40 (*(vuint8 *)(&__IPSBAR[0xC68])) +#define MCF_INTC0_ICR41 (*(vuint8 *)(&__IPSBAR[0xC69])) +#define MCF_INTC0_ICR42 (*(vuint8 *)(&__IPSBAR[0xC6A])) +#define MCF_INTC0_ICR43 (*(vuint8 *)(&__IPSBAR[0xC6B])) +#define MCF_INTC0_ICR44 (*(vuint8 *)(&__IPSBAR[0xC6C])) +#define MCF_INTC0_ICR45 (*(vuint8 *)(&__IPSBAR[0xC6D])) +#define MCF_INTC0_ICR46 (*(vuint8 *)(&__IPSBAR[0xC6E])) +#define MCF_INTC0_ICR47 (*(vuint8 *)(&__IPSBAR[0xC6F])) +#define MCF_INTC0_ICR48 (*(vuint8 *)(&__IPSBAR[0xC70])) +#define MCF_INTC0_ICR49 (*(vuint8 *)(&__IPSBAR[0xC71])) +#define MCF_INTC0_ICR50 (*(vuint8 *)(&__IPSBAR[0xC72])) +#define MCF_INTC0_ICR51 (*(vuint8 *)(&__IPSBAR[0xC73])) +#define MCF_INTC0_ICR52 (*(vuint8 *)(&__IPSBAR[0xC74])) +#define MCF_INTC0_ICR53 (*(vuint8 *)(&__IPSBAR[0xC75])) +#define MCF_INTC0_ICR54 (*(vuint8 *)(&__IPSBAR[0xC76])) +#define MCF_INTC0_ICR55 (*(vuint8 *)(&__IPSBAR[0xC77])) +#define MCF_INTC0_ICR56 (*(vuint8 *)(&__IPSBAR[0xC78])) +#define MCF_INTC0_ICR57 (*(vuint8 *)(&__IPSBAR[0xC79])) +#define MCF_INTC0_ICR58 (*(vuint8 *)(&__IPSBAR[0xC7A])) +#define MCF_INTC0_ICR59 (*(vuint8 *)(&__IPSBAR[0xC7B])) +#define MCF_INTC0_ICR60 (*(vuint8 *)(&__IPSBAR[0xC7C])) +#define MCF_INTC0_ICR61 (*(vuint8 *)(&__IPSBAR[0xC7D])) +#define MCF_INTC0_ICR62 (*(vuint8 *)(&__IPSBAR[0xC7E])) +#define MCF_INTC0_ICR63 (*(vuint8 *)(&__IPSBAR[0xC7F])) +#define MCF_INTC0_SWIACK (*(vuint8 *)(&__IPSBAR[0xCE0])) +#define MCF_INTC0_L1IACK (*(vuint8 *)(&__IPSBAR[0xCE4])) +#define MCF_INTC0_L2IACK (*(vuint8 *)(&__IPSBAR[0xCE8])) +#define MCF_INTC0_L3IACK (*(vuint8 *)(&__IPSBAR[0xCEC])) +#define MCF_INTC0_L4IACK (*(vuint8 *)(&__IPSBAR[0xCF0])) +#define MCF_INTC0_L5IACK (*(vuint8 *)(&__IPSBAR[0xCF4])) +#define MCF_INTC0_L6IACK (*(vuint8 *)(&__IPSBAR[0xCF8])) +#define MCF_INTC0_L7IACK (*(vuint8 *)(&__IPSBAR[0xCFC])) +#define MCF_INTC0_ICR(x) (*(vuint8 *)(&__IPSBAR[0xC41 + ((x-1)*0x1)])) +#define MCF_INTC0_LIACK(x) (*(vuint8 *)(&__IPSBAR[0xCE4 + ((x-1)*0x4)])) + +#define MCF_INTC1_IPRH (*(vuint32*)(&__IPSBAR[0xD00])) +#define MCF_INTC1_IPRL (*(vuint32*)(&__IPSBAR[0xD04])) +#define MCF_INTC1_IMRH (*(vuint32*)(&__IPSBAR[0xD08])) +#define MCF_INTC1_IMRL (*(vuint32*)(&__IPSBAR[0xD0C])) +#define MCF_INTC1_INTFRCH (*(vuint32*)(&__IPSBAR[0xD10])) +#define MCF_INTC1_INTFRCL (*(vuint32*)(&__IPSBAR[0xD14])) +#define MCF_INTC1_IRLR (*(vuint8 *)(&__IPSBAR[0xD18])) +#define MCF_INTC1_IACKLPR (*(vuint8 *)(&__IPSBAR[0xD19])) +#define MCF_INTC1_ICR01 (*(vuint8 *)(&__IPSBAR[0xD41])) +#define MCF_INTC1_ICR02 (*(vuint8 *)(&__IPSBAR[0xD42])) +#define MCF_INTC1_ICR03 (*(vuint8 *)(&__IPSBAR[0xD43])) +#define MCF_INTC1_ICR04 (*(vuint8 *)(&__IPSBAR[0xD44])) +#define MCF_INTC1_ICR05 (*(vuint8 *)(&__IPSBAR[0xD45])) +#define MCF_INTC1_ICR06 (*(vuint8 *)(&__IPSBAR[0xD46])) +#define MCF_INTC1_ICR07 (*(vuint8 *)(&__IPSBAR[0xD47])) +#define MCF_INTC1_ICR08 (*(vuint8 *)(&__IPSBAR[0xD48])) +#define MCF_INTC1_ICR09 (*(vuint8 *)(&__IPSBAR[0xD49])) +#define MCF_INTC1_ICR10 (*(vuint8 *)(&__IPSBAR[0xD4A])) +#define MCF_INTC1_ICR11 (*(vuint8 *)(&__IPSBAR[0xD4B])) +#define MCF_INTC1_ICR12 (*(vuint8 *)(&__IPSBAR[0xD4C])) +#define MCF_INTC1_ICR13 (*(vuint8 *)(&__IPSBAR[0xD4D])) +#define MCF_INTC1_ICR14 (*(vuint8 *)(&__IPSBAR[0xD4E])) +#define MCF_INTC1_ICR15 (*(vuint8 *)(&__IPSBAR[0xD4F])) +#define MCF_INTC1_ICR16 (*(vuint8 *)(&__IPSBAR[0xD50])) +#define MCF_INTC1_ICR17 (*(vuint8 *)(&__IPSBAR[0xD51])) +#define MCF_INTC1_ICR18 (*(vuint8 *)(&__IPSBAR[0xD52])) +#define MCF_INTC1_ICR19 (*(vuint8 *)(&__IPSBAR[0xD53])) +#define MCF_INTC1_ICR20 (*(vuint8 *)(&__IPSBAR[0xD54])) +#define MCF_INTC1_ICR21 (*(vuint8 *)(&__IPSBAR[0xD55])) +#define MCF_INTC1_ICR22 (*(vuint8 *)(&__IPSBAR[0xD56])) +#define MCF_INTC1_ICR23 (*(vuint8 *)(&__IPSBAR[0xD57])) +#define MCF_INTC1_ICR24 (*(vuint8 *)(&__IPSBAR[0xD58])) +#define MCF_INTC1_ICR25 (*(vuint8 *)(&__IPSBAR[0xD59])) +#define MCF_INTC1_ICR26 (*(vuint8 *)(&__IPSBAR[0xD5A])) +#define MCF_INTC1_ICR27 (*(vuint8 *)(&__IPSBAR[0xD5B])) +#define MCF_INTC1_ICR28 (*(vuint8 *)(&__IPSBAR[0xD5C])) +#define MCF_INTC1_ICR29 (*(vuint8 *)(&__IPSBAR[0xD5D])) +#define MCF_INTC1_ICR30 (*(vuint8 *)(&__IPSBAR[0xD5E])) +#define MCF_INTC1_ICR31 (*(vuint8 *)(&__IPSBAR[0xD5F])) +#define MCF_INTC1_ICR32 (*(vuint8 *)(&__IPSBAR[0xD60])) +#define MCF_INTC1_ICR33 (*(vuint8 *)(&__IPSBAR[0xD61])) +#define MCF_INTC1_ICR34 (*(vuint8 *)(&__IPSBAR[0xD62])) +#define MCF_INTC1_ICR35 (*(vuint8 *)(&__IPSBAR[0xD63])) +#define MCF_INTC1_ICR36 (*(vuint8 *)(&__IPSBAR[0xD64])) +#define MCF_INTC1_ICR37 (*(vuint8 *)(&__IPSBAR[0xD65])) +#define MCF_INTC1_ICR38 (*(vuint8 *)(&__IPSBAR[0xD66])) +#define MCF_INTC1_ICR39 (*(vuint8 *)(&__IPSBAR[0xD67])) +#define MCF_INTC1_ICR40 (*(vuint8 *)(&__IPSBAR[0xD68])) +#define MCF_INTC1_ICR41 (*(vuint8 *)(&__IPSBAR[0xD69])) +#define MCF_INTC1_ICR42 (*(vuint8 *)(&__IPSBAR[0xD6A])) +#define MCF_INTC1_ICR43 (*(vuint8 *)(&__IPSBAR[0xD6B])) +#define MCF_INTC1_ICR44 (*(vuint8 *)(&__IPSBAR[0xD6C])) +#define MCF_INTC1_ICR45 (*(vuint8 *)(&__IPSBAR[0xD6D])) +#define MCF_INTC1_ICR46 (*(vuint8 *)(&__IPSBAR[0xD6E])) +#define MCF_INTC1_ICR47 (*(vuint8 *)(&__IPSBAR[0xD6F])) +#define MCF_INTC1_ICR48 (*(vuint8 *)(&__IPSBAR[0xD70])) +#define MCF_INTC1_ICR49 (*(vuint8 *)(&__IPSBAR[0xD71])) +#define MCF_INTC1_ICR50 (*(vuint8 *)(&__IPSBAR[0xD72])) +#define MCF_INTC1_ICR51 (*(vuint8 *)(&__IPSBAR[0xD73])) +#define MCF_INTC1_ICR52 (*(vuint8 *)(&__IPSBAR[0xD74])) +#define MCF_INTC1_ICR53 (*(vuint8 *)(&__IPSBAR[0xD75])) +#define MCF_INTC1_ICR54 (*(vuint8 *)(&__IPSBAR[0xD76])) +#define MCF_INTC1_ICR55 (*(vuint8 *)(&__IPSBAR[0xD77])) +#define MCF_INTC1_ICR56 (*(vuint8 *)(&__IPSBAR[0xD78])) +#define MCF_INTC1_ICR57 (*(vuint8 *)(&__IPSBAR[0xD79])) +#define MCF_INTC1_ICR58 (*(vuint8 *)(&__IPSBAR[0xD7A])) +#define MCF_INTC1_ICR59 (*(vuint8 *)(&__IPSBAR[0xD7B])) +#define MCF_INTC1_ICR60 (*(vuint8 *)(&__IPSBAR[0xD7C])) +#define MCF_INTC1_ICR61 (*(vuint8 *)(&__IPSBAR[0xD7D])) +#define MCF_INTC1_ICR62 (*(vuint8 *)(&__IPSBAR[0xD7E])) +#define MCF_INTC1_ICR63 (*(vuint8 *)(&__IPSBAR[0xD7F])) +#define MCF_INTC1_SWIACK (*(vuint8 *)(&__IPSBAR[0xDE0])) +#define MCF_INTC1_L1IACK (*(vuint8 *)(&__IPSBAR[0xDE4])) +#define MCF_INTC1_L2IACK (*(vuint8 *)(&__IPSBAR[0xDE8])) +#define MCF_INTC1_L3IACK (*(vuint8 *)(&__IPSBAR[0xDEC])) +#define MCF_INTC1_L4IACK (*(vuint8 *)(&__IPSBAR[0xDF0])) +#define MCF_INTC1_L5IACK (*(vuint8 *)(&__IPSBAR[0xDF4])) +#define MCF_INTC1_L6IACK (*(vuint8 *)(&__IPSBAR[0xDF8])) +#define MCF_INTC1_L7IACK (*(vuint8 *)(&__IPSBAR[0xDFC])) +#define MCF_INTC1_ICR(x) (*(vuint8 *)(&__IPSBAR[0xD41 + ((x-1)*0x1)])) +#define MCF_INTC1_LIACK(x) (*(vuint8 *)(&__IPSBAR[0xDE4 + ((x-1)*0x4)])) + +#define MCF_INTC_IPRH(x) (*(vuint32*)(&__IPSBAR[0xC00 + ((x)*0x100)])) +#define MCF_INTC_IPRL(x) (*(vuint32*)(&__IPSBAR[0xC04 + ((x)*0x100)])) +#define MCF_INTC_IMRH(x) (*(vuint32*)(&__IPSBAR[0xC08 + ((x)*0x100)])) +#define MCF_INTC_IMRL(x) (*(vuint32*)(&__IPSBAR[0xC0C + ((x)*0x100)])) +#define MCF_INTC_INTFRCH(x) (*(vuint32*)(&__IPSBAR[0xC10 + ((x)*0x100)])) +#define MCF_INTC_INTFRCL(x) (*(vuint32*)(&__IPSBAR[0xC14 + ((x)*0x100)])) +#define MCF_INTC_IRLR(x) (*(vuint8 *)(&__IPSBAR[0xC18 + ((x)*0x100)])) +#define MCF_INTC_IACKLPR(x) (*(vuint8 *)(&__IPSBAR[0xC19 + ((x)*0x100)])) +#define MCF_INTC_ICR01(x) (*(vuint8 *)(&__IPSBAR[0xC41 + ((x)*0x100)])) +#define MCF_INTC_ICR02(x) (*(vuint8 *)(&__IPSBAR[0xC42 + ((x)*0x100)])) +#define MCF_INTC_ICR03(x) (*(vuint8 *)(&__IPSBAR[0xC43 + ((x)*0x100)])) +#define MCF_INTC_ICR04(x) (*(vuint8 *)(&__IPSBAR[0xC44 + ((x)*0x100)])) +#define MCF_INTC_ICR05(x) (*(vuint8 *)(&__IPSBAR[0xC45 + ((x)*0x100)])) +#define MCF_INTC_ICR06(x) (*(vuint8 *)(&__IPSBAR[0xC46 + ((x)*0x100)])) +#define MCF_INTC_ICR07(x) (*(vuint8 *)(&__IPSBAR[0xC47 + ((x)*0x100)])) +#define MCF_INTC_ICR08(x) (*(vuint8 *)(&__IPSBAR[0xC48 + ((x)*0x100)])) +#define MCF_INTC_ICR09(x) (*(vuint8 *)(&__IPSBAR[0xC49 + ((x)*0x100)])) +#define MCF_INTC_ICR10(x) (*(vuint8 *)(&__IPSBAR[0xC4A + ((x)*0x100)])) +#define MCF_INTC_ICR11(x) (*(vuint8 *)(&__IPSBAR[0xC4B + ((x)*0x100)])) +#define MCF_INTC_ICR12(x) (*(vuint8 *)(&__IPSBAR[0xC4C + ((x)*0x100)])) +#define MCF_INTC_ICR13(x) (*(vuint8 *)(&__IPSBAR[0xC4D + ((x)*0x100)])) +#define MCF_INTC_ICR14(x) (*(vuint8 *)(&__IPSBAR[0xC4E + ((x)*0x100)])) +#define MCF_INTC_ICR15(x) (*(vuint8 *)(&__IPSBAR[0xC4F + ((x)*0x100)])) +#define MCF_INTC_ICR16(x) (*(vuint8 *)(&__IPSBAR[0xC50 + ((x)*0x100)])) +#define MCF_INTC_ICR17(x) (*(vuint8 *)(&__IPSBAR[0xC51 + ((x)*0x100)])) +#define MCF_INTC_ICR18(x) (*(vuint8 *)(&__IPSBAR[0xC52 + ((x)*0x100)])) +#define MCF_INTC_ICR19(x) (*(vuint8 *)(&__IPSBAR[0xC53 + ((x)*0x100)])) +#define MCF_INTC_ICR20(x) (*(vuint8 *)(&__IPSBAR[0xC54 + ((x)*0x100)])) +#define MCF_INTC_ICR21(x) (*(vuint8 *)(&__IPSBAR[0xC55 + ((x)*0x100)])) +#define MCF_INTC_ICR22(x) (*(vuint8 *)(&__IPSBAR[0xC56 + ((x)*0x100)])) +#define MCF_INTC_ICR23(x) (*(vuint8 *)(&__IPSBAR[0xC57 + ((x)*0x100)])) +#define MCF_INTC_ICR24(x) (*(vuint8 *)(&__IPSBAR[0xC58 + ((x)*0x100)])) +#define MCF_INTC_ICR25(x) (*(vuint8 *)(&__IPSBAR[0xC59 + ((x)*0x100)])) +#define MCF_INTC_ICR26(x) (*(vuint8 *)(&__IPSBAR[0xC5A + ((x)*0x100)])) +#define MCF_INTC_ICR27(x) (*(vuint8 *)(&__IPSBAR[0xC5B + ((x)*0x100)])) +#define MCF_INTC_ICR28(x) (*(vuint8 *)(&__IPSBAR[0xC5C + ((x)*0x100)])) +#define MCF_INTC_ICR29(x) (*(vuint8 *)(&__IPSBAR[0xC5D + ((x)*0x100)])) +#define MCF_INTC_ICR30(x) (*(vuint8 *)(&__IPSBAR[0xC5E + ((x)*0x100)])) +#define MCF_INTC_ICR31(x) (*(vuint8 *)(&__IPSBAR[0xC5F + ((x)*0x100)])) +#define MCF_INTC_ICR32(x) (*(vuint8 *)(&__IPSBAR[0xC60 + ((x)*0x100)])) +#define MCF_INTC_ICR33(x) (*(vuint8 *)(&__IPSBAR[0xC61 + ((x)*0x100)])) +#define MCF_INTC_ICR34(x) (*(vuint8 *)(&__IPSBAR[0xC62 + ((x)*0x100)])) +#define MCF_INTC_ICR35(x) (*(vuint8 *)(&__IPSBAR[0xC63 + ((x)*0x100)])) +#define MCF_INTC_ICR36(x) (*(vuint8 *)(&__IPSBAR[0xC64 + ((x)*0x100)])) +#define MCF_INTC_ICR37(x) (*(vuint8 *)(&__IPSBAR[0xC65 + ((x)*0x100)])) +#define MCF_INTC_ICR38(x) (*(vuint8 *)(&__IPSBAR[0xC66 + ((x)*0x100)])) +#define MCF_INTC_ICR39(x) (*(vuint8 *)(&__IPSBAR[0xC67 + ((x)*0x100)])) +#define MCF_INTC_ICR40(x) (*(vuint8 *)(&__IPSBAR[0xC68 + ((x)*0x100)])) +#define MCF_INTC_ICR41(x) (*(vuint8 *)(&__IPSBAR[0xC69 + ((x)*0x100)])) +#define MCF_INTC_ICR42(x) (*(vuint8 *)(&__IPSBAR[0xC6A + ((x)*0x100)])) +#define MCF_INTC_ICR43(x) (*(vuint8 *)(&__IPSBAR[0xC6B + ((x)*0x100)])) +#define MCF_INTC_ICR44(x) (*(vuint8 *)(&__IPSBAR[0xC6C + ((x)*0x100)])) +#define MCF_INTC_ICR45(x) (*(vuint8 *)(&__IPSBAR[0xC6D + ((x)*0x100)])) +#define MCF_INTC_ICR46(x) (*(vuint8 *)(&__IPSBAR[0xC6E + ((x)*0x100)])) +#define MCF_INTC_ICR47(x) (*(vuint8 *)(&__IPSBAR[0xC6F + ((x)*0x100)])) +#define MCF_INTC_ICR48(x) (*(vuint8 *)(&__IPSBAR[0xC70 + ((x)*0x100)])) +#define MCF_INTC_ICR49(x) (*(vuint8 *)(&__IPSBAR[0xC71 + ((x)*0x100)])) +#define MCF_INTC_ICR50(x) (*(vuint8 *)(&__IPSBAR[0xC72 + ((x)*0x100)])) +#define MCF_INTC_ICR51(x) (*(vuint8 *)(&__IPSBAR[0xC73 + ((x)*0x100)])) +#define MCF_INTC_ICR52(x) (*(vuint8 *)(&__IPSBAR[0xC74 + ((x)*0x100)])) +#define MCF_INTC_ICR53(x) (*(vuint8 *)(&__IPSBAR[0xC75 + ((x)*0x100)])) +#define MCF_INTC_ICR54(x) (*(vuint8 *)(&__IPSBAR[0xC76 + ((x)*0x100)])) +#define MCF_INTC_ICR55(x) (*(vuint8 *)(&__IPSBAR[0xC77 + ((x)*0x100)])) +#define MCF_INTC_ICR56(x) (*(vuint8 *)(&__IPSBAR[0xC78 + ((x)*0x100)])) +#define MCF_INTC_ICR57(x) (*(vuint8 *)(&__IPSBAR[0xC79 + ((x)*0x100)])) +#define MCF_INTC_ICR58(x) (*(vuint8 *)(&__IPSBAR[0xC7A + ((x)*0x100)])) +#define MCF_INTC_ICR59(x) (*(vuint8 *)(&__IPSBAR[0xC7B + ((x)*0x100)])) +#define MCF_INTC_ICR60(x) (*(vuint8 *)(&__IPSBAR[0xC7C + ((x)*0x100)])) +#define MCF_INTC_ICR61(x) (*(vuint8 *)(&__IPSBAR[0xC7D + ((x)*0x100)])) +#define MCF_INTC_ICR62(x) (*(vuint8 *)(&__IPSBAR[0xC7E + ((x)*0x100)])) +#define MCF_INTC_ICR63(x) (*(vuint8 *)(&__IPSBAR[0xC7F + ((x)*0x100)])) +#define MCF_INTC_SWIACK(x) (*(vuint8 *)(&__IPSBAR[0xCE0 + ((x)*0x100)])) +#define MCF_INTC_L1IACK(x) (*(vuint8 *)(&__IPSBAR[0xCE4 + ((x)*0x100)])) +#define MCF_INTC_L2IACK(x) (*(vuint8 *)(&__IPSBAR[0xCE8 + ((x)*0x100)])) +#define MCF_INTC_L3IACK(x) (*(vuint8 *)(&__IPSBAR[0xCEC + ((x)*0x100)])) +#define MCF_INTC_L4IACK(x) (*(vuint8 *)(&__IPSBAR[0xCF0 + ((x)*0x100)])) +#define MCF_INTC_L5IACK(x) (*(vuint8 *)(&__IPSBAR[0xCF4 + ((x)*0x100)])) +#define MCF_INTC_L6IACK(x) (*(vuint8 *)(&__IPSBAR[0xCF8 + ((x)*0x100)])) +#define MCF_INTC_L7IACK(x) (*(vuint8 *)(&__IPSBAR[0xCFC + ((x)*0x100)])) + + +/* Bit definitions and macros for MCF_INTC_IPRH */ +#define MCF_INTC_IPRH_INT32 (0x1) +#define MCF_INTC_IPRH_INT33 (0x2) +#define MCF_INTC_IPRH_INT34 (0x4) +#define MCF_INTC_IPRH_INT35 (0x8) +#define MCF_INTC_IPRH_INT36 (0x10) +#define MCF_INTC_IPRH_INT37 (0x20) +#define MCF_INTC_IPRH_INT38 (0x40) +#define MCF_INTC_IPRH_INT39 (0x80) +#define MCF_INTC_IPRH_INT40 (0x100) +#define MCF_INTC_IPRH_INT41 (0x200) +#define MCF_INTC_IPRH_INT42 (0x400) +#define MCF_INTC_IPRH_INT43 (0x800) +#define MCF_INTC_IPRH_INT44 (0x1000) +#define MCF_INTC_IPRH_INT45 (0x2000) +#define MCF_INTC_IPRH_INT46 (0x4000) +#define MCF_INTC_IPRH_INT47 (0x8000) +#define MCF_INTC_IPRH_INT48 (0x10000) +#define MCF_INTC_IPRH_INT49 (0x20000) +#define MCF_INTC_IPRH_INT50 (0x40000) +#define MCF_INTC_IPRH_INT51 (0x80000) +#define MCF_INTC_IPRH_INT52 (0x100000) +#define MCF_INTC_IPRH_INT53 (0x200000) +#define MCF_INTC_IPRH_INT54 (0x400000) +#define MCF_INTC_IPRH_INT55 (0x800000) +#define MCF_INTC_IPRH_INT56 (0x1000000) +#define MCF_INTC_IPRH_INT57 (0x2000000) +#define MCF_INTC_IPRH_INT58 (0x4000000) +#define MCF_INTC_IPRH_INT59 (0x8000000) +#define MCF_INTC_IPRH_INT60 (0x10000000) +#define MCF_INTC_IPRH_INT61 (0x20000000) +#define MCF_INTC_IPRH_INT62 (0x40000000) +#define MCF_INTC_IPRH_INT63 (0x80000000) + +/* Bit definitions and macros for MCF_INTC_IPRL */ +#define MCF_INTC_IPRL_INT1 (0x2) +#define MCF_INTC_IPRL_INT2 (0x4) +#define MCF_INTC_IPRL_INT3 (0x8) +#define MCF_INTC_IPRL_INT4 (0x10) +#define MCF_INTC_IPRL_INT5 (0x20) +#define MCF_INTC_IPRL_INT6 (0x40) +#define MCF_INTC_IPRL_INT7 (0x80) +#define MCF_INTC_IPRL_INT8 (0x100) +#define MCF_INTC_IPRL_INT9 (0x200) +#define MCF_INTC_IPRL_INT10 (0x400) +#define MCF_INTC_IPRL_INT11 (0x800) +#define MCF_INTC_IPRL_INT12 (0x1000) +#define MCF_INTC_IPRL_INT13 (0x2000) +#define MCF_INTC_IPRL_INT14 (0x4000) +#define MCF_INTC_IPRL_INT15 (0x8000) +#define MCF_INTC_IPRL_INT16 (0x10000) +#define MCF_INTC_IPRL_INT17 (0x20000) +#define MCF_INTC_IPRL_INT18 (0x40000) +#define MCF_INTC_IPRL_INT19 (0x80000) +#define MCF_INTC_IPRL_INT20 (0x100000) +#define MCF_INTC_IPRL_INT21 (0x200000) +#define MCF_INTC_IPRL_INT22 (0x400000) +#define MCF_INTC_IPRL_INT23 (0x800000) +#define MCF_INTC_IPRL_INT24 (0x1000000) +#define MCF_INTC_IPRL_INT25 (0x2000000) +#define MCF_INTC_IPRL_INT26 (0x4000000) +#define MCF_INTC_IPRL_INT27 (0x8000000) +#define MCF_INTC_IPRL_INT28 (0x10000000) +#define MCF_INTC_IPRL_INT29 (0x20000000) +#define MCF_INTC_IPRL_INT30 (0x40000000) +#define MCF_INTC_IPRL_INT31 (0x80000000) + +/* Bit definitions and macros for MCF_INTC_IMRH */ +#define MCF_INTC_IMRH_INT_MASK32 (0x1) +#define MCF_INTC_IMRH_INT_MASK33 (0x2) +#define MCF_INTC_IMRH_INT_MASK34 (0x4) +#define MCF_INTC_IMRH_INT_MASK35 (0x8) +#define MCF_INTC_IMRH_INT_MASK36 (0x10) +#define MCF_INTC_IMRH_INT_MASK37 (0x20) +#define MCF_INTC_IMRH_INT_MASK38 (0x40) +#define MCF_INTC_IMRH_INT_MASK39 (0x80) +#define MCF_INTC_IMRH_INT_MASK40 (0x100) +#define MCF_INTC_IMRH_INT_MASK41 (0x200) +#define MCF_INTC_IMRH_INT_MASK42 (0x400) +#define MCF_INTC_IMRH_INT_MASK43 (0x800) +#define MCF_INTC_IMRH_INT_MASK44 (0x1000) +#define MCF_INTC_IMRH_INT_MASK45 (0x2000) +#define MCF_INTC_IMRH_INT_MASK46 (0x4000) +#define MCF_INTC_IMRH_INT_MASK47 (0x8000) +#define MCF_INTC_IMRH_INT_MASK48 (0x10000) +#define MCF_INTC_IMRH_INT_MASK49 (0x20000) +#define MCF_INTC_IMRH_INT_MASK50 (0x40000) +#define MCF_INTC_IMRH_INT_MASK51 (0x80000) +#define MCF_INTC_IMRH_INT_MASK52 (0x100000) +#define MCF_INTC_IMRH_INT_MASK53 (0x200000) +#define MCF_INTC_IMRH_INT_MASK54 (0x400000) +#define MCF_INTC_IMRH_INT_MASK55 (0x800000) +#define MCF_INTC_IMRH_INT_MASK56 (0x1000000) +#define MCF_INTC_IMRH_INT_MASK57 (0x2000000) +#define MCF_INTC_IMRH_INT_MASK58 (0x4000000) +#define MCF_INTC_IMRH_INT_MASK59 (0x8000000) +#define MCF_INTC_IMRH_INT_MASK60 (0x10000000) +#define MCF_INTC_IMRH_INT_MASK61 (0x20000000) +#define MCF_INTC_IMRH_INT_MASK62 (0x40000000) +#define MCF_INTC_IMRH_INT_MASK63 (0x80000000) + +/* Bit definitions and macros for MCF_INTC_IMRL */ +#define MCF_INTC_IMRL_MASKALL (0x1) +#define MCF_INTC_IMRL_INT_MASK1 (0x2) +#define MCF_INTC_IMRL_INT_MASK2 (0x4) +#define MCF_INTC_IMRL_INT_MASK3 (0x8) +#define MCF_INTC_IMRL_INT_MASK4 (0x10) +#define MCF_INTC_IMRL_INT_MASK5 (0x20) +#define MCF_INTC_IMRL_INT_MASK6 (0x40) +#define MCF_INTC_IMRL_INT_MASK7 (0x80) +#define MCF_INTC_IMRL_INT_MASK8 (0x100) +#define MCF_INTC_IMRL_INT_MASK9 (0x200) +#define MCF_INTC_IMRL_INT_MASK10 (0x400) +#define MCF_INTC_IMRL_INT_MASK11 (0x800) +#define MCF_INTC_IMRL_INT_MASK12 (0x1000) +#define MCF_INTC_IMRL_INT_MASK13 (0x2000) +#define MCF_INTC_IMRL_INT_MASK14 (0x4000) +#define MCF_INTC_IMRL_INT_MASK15 (0x8000) +#define MCF_INTC_IMRL_INT_MASK16 (0x10000) +#define MCF_INTC_IMRL_INT_MASK17 (0x20000) +#define MCF_INTC_IMRL_INT_MASK18 (0x40000) +#define MCF_INTC_IMRL_INT_MASK19 (0x80000) +#define MCF_INTC_IMRL_INT_MASK20 (0x100000) +#define MCF_INTC_IMRL_INT_MASK21 (0x200000) +#define MCF_INTC_IMRL_INT_MASK22 (0x400000) +#define MCF_INTC_IMRL_INT_MASK23 (0x800000) +#define MCF_INTC_IMRL_INT_MASK24 (0x1000000) +#define MCF_INTC_IMRL_INT_MASK25 (0x2000000) +#define MCF_INTC_IMRL_INT_MASK26 (0x4000000) +#define MCF_INTC_IMRL_INT_MASK27 (0x8000000) +#define MCF_INTC_IMRL_INT_MASK28 (0x10000000) +#define MCF_INTC_IMRL_INT_MASK29 (0x20000000) +#define MCF_INTC_IMRL_INT_MASK30 (0x40000000) +#define MCF_INTC_IMRL_INT_MASK31 (0x80000000) + +/* Bit definitions and macros for MCF_INTC_INTFRCH */ +#define MCF_INTC_INTFRCH_INTFRC32 (0x1) +#define MCF_INTC_INTFRCH_INTFRC33 (0x2) +#define MCF_INTC_INTFRCH_INTFRC34 (0x4) +#define MCF_INTC_INTFRCH_INTFRC35 (0x8) +#define MCF_INTC_INTFRCH_INTFRC36 (0x10) +#define MCF_INTC_INTFRCH_INTFRC37 (0x20) +#define MCF_INTC_INTFRCH_INTFRC38 (0x40) +#define MCF_INTC_INTFRCH_INTFRC39 (0x80) +#define MCF_INTC_INTFRCH_INTFRC40 (0x100) +#define MCF_INTC_INTFRCH_INTFRC41 (0x200) +#define MCF_INTC_INTFRCH_INTFRC42 (0x400) +#define MCF_INTC_INTFRCH_INTFRC43 (0x800) +#define MCF_INTC_INTFRCH_INTFRC44 (0x1000) +#define MCF_INTC_INTFRCH_INTFRC45 (0x2000) +#define MCF_INTC_INTFRCH_INTFRC46 (0x4000) +#define MCF_INTC_INTFRCH_INTFRC47 (0x8000) +#define MCF_INTC_INTFRCH_INTFRC48 (0x10000) +#define MCF_INTC_INTFRCH_INTFRC49 (0x20000) +#define MCF_INTC_INTFRCH_INTFRC50 (0x40000) +#define MCF_INTC_INTFRCH_INTFRC51 (0x80000) +#define MCF_INTC_INTFRCH_INTFRC52 (0x100000) +#define MCF_INTC_INTFRCH_INTFRC53 (0x200000) +#define MCF_INTC_INTFRCH_INTFRC54 (0x400000) +#define MCF_INTC_INTFRCH_INTFRC55 (0x800000) +#define MCF_INTC_INTFRCH_INTFRC56 (0x1000000) +#define MCF_INTC_INTFRCH_INTFRC57 (0x2000000) +#define MCF_INTC_INTFRCH_INTFRC58 (0x4000000) +#define MCF_INTC_INTFRCH_INTFRC59 (0x8000000) +#define MCF_INTC_INTFRCH_INTFRC60 (0x10000000) +#define MCF_INTC_INTFRCH_INTFRC61 (0x20000000) +#define MCF_INTC_INTFRCH_INTFRC62 (0x40000000) +#define MCF_INTC_INTFRCH_INTFRC63 (0x80000000) + +/* Bit definitions and macros for MCF_INTC_INTFRCL */ +#define MCF_INTC_INTFRCL_INTFRC1 (0x2) +#define MCF_INTC_INTFRCL_INTFRC2 (0x4) +#define MCF_INTC_INTFRCL_INTFRC3 (0x8) +#define MCF_INTC_INTFRCL_INTFRC4 (0x10) +#define MCF_INTC_INTFRCL_INTFRC5 (0x20) +#define MCF_INTC_INTFRCL_INTFRC6 (0x40) +#define MCF_INTC_INTFRCL_INTFRC7 (0x80) +#define MCF_INTC_INTFRCL_INTFRC8 (0x100) +#define MCF_INTC_INTFRCL_INTFRC9 (0x200) +#define MCF_INTC_INTFRCL_INTFRC10 (0x400) +#define MCF_INTC_INTFRCL_INTFRC11 (0x800) +#define MCF_INTC_INTFRCL_INTFRC12 (0x1000) +#define MCF_INTC_INTFRCL_INTFRC13 (0x2000) +#define MCF_INTC_INTFRCL_INTFRC14 (0x4000) +#define MCF_INTC_INTFRCL_INTFRC15 (0x8000) +#define MCF_INTC_INTFRCL_INTFRC16 (0x10000) +#define MCF_INTC_INTFRCL_INTFRC17 (0x20000) +#define MCF_INTC_INTFRCL_INTFRC18 (0x40000) +#define MCF_INTC_INTFRCL_INTFRC19 (0x80000) +#define MCF_INTC_INTFRCL_INTFRC20 (0x100000) +#define MCF_INTC_INTFRCL_INTFRC21 (0x200000) +#define MCF_INTC_INTFRCL_INTFRC22 (0x400000) +#define MCF_INTC_INTFRCL_INTFRC23 (0x800000) +#define MCF_INTC_INTFRCL_INTFRC24 (0x1000000) +#define MCF_INTC_INTFRCL_INTFRC25 (0x2000000) +#define MCF_INTC_INTFRCL_INTFRC26 (0x4000000) +#define MCF_INTC_INTFRCL_INTFRC27 (0x8000000) +#define MCF_INTC_INTFRCL_INTFRC28 (0x10000000) +#define MCF_INTC_INTFRCL_INTFRC29 (0x20000000) +#define MCF_INTC_INTFRCL_INTFRC30 (0x40000000) +#define MCF_INTC_INTFRCL_INTFRC31 (0x80000000) + +/* Bit definitions and macros for MCF_INTC_IRLR */ +#define MCF_INTC_IRLR_IRQ(x) (((x)&0x7F)<<0x1) + +/* Bit definitions and macros for MCF_INTC_IACKLPR */ +#define MCF_INTC_IACKLPR_PRI(x) (((x)&0xF)<<0) +#define MCF_INTC_IACKLPR_LEVEL(x) (((x)&0x7)<<0x4) + +/* Bit definitions and macros for MCF_INTC_ICR */ +#define MCF_INTC_ICR_IP(x) (((x)&0x7)<<0) +#define MCF_INTC_ICR_IL(x) (((x)&0x7)<<0x3) + +/* Bit definitions and macros for MCF_INTC_SWIACK */ +#define MCF_INTC_SWIACK_VECTOR(x) (((x)&0xFF)<<0) + +/* Bit definitions and macros for MCF_INTC_LIACK */ +#define MCF_INTC_LIACK_VECTOR(x) (((x)&0xFF)<<0) + + +#endif /* __MCF5282_INTC_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_PAD.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_PAD.h new file mode 100644 index 000000000..0a39dc9df --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_PAD.h @@ -0,0 +1,159 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_PAD_H__ +#define __MCF5282_PAD_H__ + + +/********************************************************************* +* +* Common GPIO Registers +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_PAD_PBCDPAR (*(vuint8 *)(&__IPSBAR[0x100050])) +#define MCF_PAD_PFPAR (*(vuint8 *)(&__IPSBAR[0x100051])) +#define MCF_PAD_PEPAR (*(vuint16*)(&__IPSBAR[0x100052])) +#define MCF_PAD_PJPAR (*(vuint8 *)(&__IPSBAR[0x100054])) +#define MCF_PAD_PSDPAR (*(vuint8 *)(&__IPSBAR[0x100055])) +#define MCF_PAD_PASPAR (*(vuint16*)(&__IPSBAR[0x100056])) +#define MCF_PAD_PEHLPAR (*(vuint8 *)(&__IPSBAR[0x100058])) +#define MCF_PAD_PQSPAR (*(vuint8 *)(&__IPSBAR[0x100059])) +#define MCF_PAD_PTCPAR (*(vuint8 *)(&__IPSBAR[0x10005A])) +#define MCF_PAD_PTDPAR (*(vuint8 *)(&__IPSBAR[0x10005B])) +#define MCF_PAD_PUAPAR (*(vuint8 *)(&__IPSBAR[0x10005C])) + + +/* Bit definitions and macros for MCF_PAD_PBCDPAR */ +#define MCF_PAD_PBCDPAR_PCDPA (0x40) +#define MCF_PAD_PBCDPAR_PBPA (0x80) + +/* Bit definitions and macros for MCF_PAD_PFPAR */ +#define MCF_PAD_PFPAR_PFPA5 (0x20) +#define MCF_PAD_PFPAR_PFPA6 (0x40) +#define MCF_PAD_PFPAR_PFPA7 (0x80) + +/* Bit definitions and macros for MCF_PAD_PEPAR */ +#define MCF_PAD_PEPAR_PEPA0(x) (((x)&0x3)<<0) +#define MCF_PAD_PEPAR_PEPA0_GPIO (0) +#define MCF_PAD_PEPAR_PEPA0_SYNCB (0x2) +#define MCF_PAD_PEPAR_PEPA0_TIP (0x3) +#define MCF_PAD_PEPAR_PEPA1(x) (((x)&0x3)<<0x2) +#define MCF_PAD_PEPAR_PEPA1_GPIO (0) +#define MCF_PAD_PEPAR_PEPA1_SYNCA (0x8) +#define MCF_PAD_PEPAR_PEPA1_TS (0xC) +#define MCF_PAD_PEPAR_PEPA2 (0x10) +#define MCF_PAD_PEPAR_PEPA3 (0x40) +#define MCF_PAD_PEPAR_PEPA4 (0x100) +#define MCF_PAD_PEPAR_PEPA5 (0x400) +#define MCF_PAD_PEPAR_PEPA6 (0x1000) +#define MCF_PAD_PEPAR_PEPA7 (0x4000) + +/* Bit definitions and macros for MCF_PAD_PJPAR */ +#define MCF_PAD_PJPAR_PJPA0 (0x1) +#define MCF_PAD_PJPAR_PJPA1 (0x2) +#define MCF_PAD_PJPAR_PJPA2 (0x4) +#define MCF_PAD_PJPAR_PJPA3 (0x8) +#define MCF_PAD_PJPAR_PJPA4 (0x10) +#define MCF_PAD_PJPAR_PJPA5 (0x20) +#define MCF_PAD_PJPAR_PJPA6 (0x40) +#define MCF_PAD_PJPAR_PJPA7 (0x80) + +/* Bit definitions and macros for MCF_PAD_PSDPAR */ +#define MCF_PAD_PSDPAR_PSDPA (0x80) + +/* Bit definitions and macros for MCF_PAD_PASPAR */ +#define MCF_PAD_PASPAR_PASPA0(x) (((x)&0x3)<<0) +#define MCF_PAD_PASPAR_PASPA0_GPIO (0) +#define MCF_PAD_PASPAR_PASPA0_UTXD2 (0x2) +#define MCF_PAD_PASPAR_PASPA0_SCL (0x3) +#define MCF_PAD_PASPAR_PASPA1(x) (((x)&0x3)<<0x2) +#define MCF_PAD_PASPAR_PASPA1_GPIO (0) +#define MCF_PAD_PASPAR_PASPA1_URXD2 (0x8) +#define MCF_PAD_PASPAR_PASPA1_SDA (0xC) +#define MCF_PAD_PASPAR_PASPA2(x) (((x)&0x3)<<0x4) +#define MCF_PAD_PASPAR_PASPA2_GPIO (0) +#define MCF_PAD_PASPAR_PASPA2_UTXD2 (0x20) +#define MCF_PAD_PASPAR_PASPA2_CANTX (0x30) +#define MCF_PAD_PASPAR_PASPA3(x) (((x)&0x3)<<0x6) +#define MCF_PAD_PASPAR_PASPA3_GPIO (0) +#define MCF_PAD_PASPAR_PASPA3_URXD2 (0x80) +#define MCF_PAD_PASPAR_PASPA3_CANRX (0xC0) +#define MCF_PAD_PASPAR_PASPA4(x) (((x)&0x3)<<0x8) +#define MCF_PAD_PASPAR_PASPA4_GPIO (0) +#define MCF_PAD_PASPAR_PASPA4_UTXD2 (0x200) +#define MCF_PAD_PASPAR_PASPA4_EMDC (0x300) +#define MCF_PAD_PASPAR_PASPA5(x) (((x)&0x3)<<0xA) +#define MCF_PAD_PASPAR_PASPA5_GPIO (0) +#define MCF_PAD_PASPAR_PASPA5_URXD2 (0x800) +#define MCF_PAD_PASPAR_PASPA5_EMDIO (0xC00) + +/* Bit definitions and macros for MCF_PAD_PEHLPAR */ +#define MCF_PAD_PEHLPAR_PELPA (0x40) +#define MCF_PAD_PEHLPAR_PEHPA (0x80) + +/* Bit definitions and macros for MCF_PAD_PQSPAR */ +#define MCF_PAD_PQSPAR_PQSPA0 (0x1) +#define MCF_PAD_PQSPAR_PQSPA1 (0x2) +#define MCF_PAD_PQSPAR_PQSPA2 (0x4) +#define MCF_PAD_PQSPAR_PQSPA3 (0x8) +#define MCF_PAD_PQSPAR_PQSPA4 (0x10) +#define MCF_PAD_PQSPAR_PQSPA5 (0x20) +#define MCF_PAD_PQSPAR_PQSPA6 (0x40) + +/* Bit definitions and macros for MCF_PAD_PTCPAR */ +#define MCF_PAD_PTCPAR_PTCPA0(x) (((x)&0x3)<<0) +#define MCF_PAD_PTCPAR_PTCPA0_GPIO (0) +#define MCF_PAD_PTCPAR_PTCPA0_UCTS0 (0x1) +#define MCF_PAD_PTCPAR_PTCPA0_UCTS1 (0x2) +#define MCF_PAD_PTCPAR_PTCPA0_TOUT2 (0x3) +#define MCF_PAD_PTCPAR_PTCPA1(x) (((x)&0x3)<<0x2) +#define MCF_PAD_PTCPAR_PTCPA1_GPIO (0) +#define MCF_PAD_PTCPAR_PTCPA1_UCTS0 (0x4) +#define MCF_PAD_PTCPAR_PTCPA1_UCTS1 (0x8) +#define MCF_PAD_PTCPAR_PTCPA1_TIN2 (0xC) +#define MCF_PAD_PTCPAR_PTCPA2(x) (((x)&0x3)<<0x4) +#define MCF_PAD_PTCPAR_PTCPA2_GPIO (0) +#define MCF_PAD_PTCPAR_PTCPA2_URTS0 (0x10) +#define MCF_PAD_PTCPAR_PTCPA2_URTS1 (0x20) +#define MCF_PAD_PTCPAR_PTCPA2_TOUT3 (0x30) +#define MCF_PAD_PTCPAR_PTCPA3(x) (((x)&0x3)<<0x6) +#define MCF_PAD_PTCPAR_PTCPA3_GPIO (0) +#define MCF_PAD_PTCPAR_PTCPA3_URTS0 (0x40) +#define MCF_PAD_PTCPAR_PTCPA3_URTS1 (0x80) +#define MCF_PAD_PTCPAR_PTCPA3_TIN3 (0xC0) + +/* Bit definitions and macros for MCF_PAD_PTDPAR */ +#define MCF_PAD_PTDPAR_PTDPA0(x) (((x)&0x3)<<0) +#define MCF_PAD_PTDPAR_PTDPA0_GPIO (0) +#define MCF_PAD_PTDPAR_PTDPA0_UCTS0 (0x1) +#define MCF_PAD_PTDPAR_PTDPA0_UCTS1 (0x2) +#define MCF_PAD_PTDPAR_PTDPA0_TOUT0 (0x3) +#define MCF_PAD_PTDPAR_PTDPA1(x) (((x)&0x3)<<0x2) +#define MCF_PAD_PTDPAR_PTDPA2_GPIO (0) +#define MCF_PAD_PTDPAR_PTDPA2_UCTS0 (0x4) +#define MCF_PAD_PTDPAR_PTDPA2_UCTS1 (0x8) +#define MCF_PAD_PTDPAR_PTDPA2_TIN0 (0xC) +#define MCF_PAD_PTDPAR_PTDPA2(x) (((x)&0x3)<<0x4) +#define MCF_PAD_PTDPAR_PTDPA2_URTS0 (0x10) +#define MCF_PAD_PTDPAR_PTDPA2_URTS1 (0x20) +#define MCF_PAD_PTDPAR_PTDPA2_TOUT1 (0x30) +#define MCF_PAD_PTDPAR_PTDPA3(x) (((x)&0x3)<<0x6) +#define MCF_PAD_PTDPAR_PTDPA3_GPIO (0) +#define MCF_PAD_PTDPAR_PTDPA3_URTS0 (0x40) +#define MCF_PAD_PTDPAR_PTDPA3_URTS1 (0x80) +#define MCF_PAD_PTDPAR_PTDPA3_TIN1 (0xC0) + +/* Bit definitions and macros for MCF_PAD_PUAPAR */ +#define MCF_PAD_PUAPAR_PUAPA0 (0x1) +#define MCF_PAD_PUAPAR_PUAPA1 (0x2) +#define MCF_PAD_PUAPAR_PUAPA2 (0x4) +#define MCF_PAD_PUAPAR_PUAPA3 (0x8) + + +#endif /* __MCF5282_PAD_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_PIT.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_PIT.h new file mode 100644 index 000000000..a7eebee6c --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_PIT.h @@ -0,0 +1,57 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_PIT_H__ +#define __MCF5282_PIT_H__ + + +/********************************************************************* +* +* Programmable Interrupt Timer (PIT) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_PIT0_PCSR (*(vuint16*)(&__IPSBAR[0x150000])) +#define MCF_PIT0_PMR (*(vuint16*)(&__IPSBAR[0x150002])) +#define MCF_PIT0_PCNTR (*(vuint16*)(&__IPSBAR[0x150004])) + +#define MCF_PIT1_PCSR (*(vuint16*)(&__IPSBAR[0x160000])) +#define MCF_PIT1_PMR (*(vuint16*)(&__IPSBAR[0x160002])) +#define MCF_PIT1_PCNTR (*(vuint16*)(&__IPSBAR[0x160004])) + +#define MCF_PIT2_PCSR (*(vuint16*)(&__IPSBAR[0x170000])) +#define MCF_PIT2_PMR (*(vuint16*)(&__IPSBAR[0x170002])) +#define MCF_PIT2_PCNTR (*(vuint16*)(&__IPSBAR[0x170004])) + +#define MCF_PIT3_PCSR (*(vuint16*)(&__IPSBAR[0x180000])) +#define MCF_PIT3_PMR (*(vuint16*)(&__IPSBAR[0x180002])) +#define MCF_PIT3_PCNTR (*(vuint16*)(&__IPSBAR[0x180004])) + +#define MCF_PIT_PCSR(x) (*(vuint16*)(&__IPSBAR[0x150000 + ((x)*0x10000)])) +#define MCF_PIT_PMR(x) (*(vuint16*)(&__IPSBAR[0x150002 + ((x)*0x10000)])) +#define MCF_PIT_PCNTR(x) (*(vuint16*)(&__IPSBAR[0x150004 + ((x)*0x10000)])) + + +/* Bit definitions and macros for MCF_PIT_PCSR */ +#define MCF_PIT_PCSR_EN (0x1) +#define MCF_PIT_PCSR_RLD (0x2) +#define MCF_PIT_PCSR_PIF (0x4) +#define MCF_PIT_PCSR_PIE (0x8) +#define MCF_PIT_PCSR_OVW (0x10) +#define MCF_PIT_PCSR_HALTED (0x20) +#define MCF_PIT_PCSR_DOZE (0x40) +#define MCF_PIT_PCSR_PRE(x) (((x)&0xF)<<0x8) + +/* Bit definitions and macros for MCF_PIT_PMR */ +#define MCF_PIT_PMR_PM(x) (((x)&0xFFFF)<<0) + +/* Bit definitions and macros for MCF_PIT_PCNTR */ +#define MCF_PIT_PCNTR_PC(x) (((x)&0xFFFF)<<0) + + +#endif /* __MCF5282_PIT_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_PMM.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_PMM.h new file mode 100644 index 000000000..cfe0b1cf4 --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_PMM.h @@ -0,0 +1,41 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_PMM_H__ +#define __MCF5282_PMM_H__ + + +/********************************************************************* +* +* Power Management (PMM) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_PMM_LPICR (*(vuint8 *)(&__IPSBAR[0x12])) +#define MCF_PMM_LPCR (*(vuint8 *)(&__IPSBAR[0x110007])) + + +/* Bit definitions and macros for MCF_PMM_LPICR */ +#define MCF_PMM_LPICR_XLPM_IPL(x) (((x)&0x7)<<0x4) +#define MCF_PMM_LPICR_ENBSTOP (0x80) + +/* Bit definitions and macros for MCF_PMM_LPCR */ +#define MCF_PMM_LPCR_LVDSE (0x2) +#define MCF_PMM_LPCR_STPMD(x) (((x)&0x3)<<0x3) +#define MCF_PMM_LPCR_STPMD_SYS_DISABLED (0) +#define MCF_PMM_LPCR_STPMD_SYS_CLKOUT_DISABLED (0x8) +#define MCF_PMM_LPCR_STPMD_ONLY_OSC_ENABLED (0x10) +#define MCF_PMM_LPCR_STPMD_ALL_DISABLED (0x18) +#define MCF_PMM_LPCR_LPMD(x) (((x)&0x3)<<0x6) +#define MCF_PMM_LPCR_LPMD_RUN (0) +#define MCF_PMM_LPCR_LPMD_DOZE (0x40) +#define MCF_PMM_LPCR_LPMD_WAIT (0x80) +#define MCF_PMM_LPCR_LPMD_STOP (0xC0) + + +#endif /* __MCF5282_PMM_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_QADC.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_QADC.h new file mode 100644 index 000000000..cb2dfc67b --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_QADC.h @@ -0,0 +1,108 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_QADC_H__ +#define __MCF5282_QADC_H__ + + +/********************************************************************* +* +* Queued Analog-to-Digital Converter (QADC) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_QADC_QADCMCR (*(vuint16*)(&__IPSBAR[0x190000])) +#define MCF_QADC_PORTQA (*(vuint8 *)(&__IPSBAR[0x190006])) +#define MCF_QADC_PORTQB (*(vuint8 *)(&__IPSBAR[0x190007])) +#define MCF_QADC_DDRQA (*(vuint8 *)(&__IPSBAR[0x190008])) +#define MCF_QADC_DDRQB (*(vuint8 *)(&__IPSBAR[0x190009])) +#define MCF_QADC_QACR0 (*(vuint16*)(&__IPSBAR[0x19000A])) +#define MCF_QADC_QACR1 (*(vuint16*)(&__IPSBAR[0x19000C])) +#define MCF_QADC_QACR2 (*(vuint16*)(&__IPSBAR[0x19000E])) +#define MCF_QADC_QASR0 (*(vuint16*)(&__IPSBAR[0x190010])) +#define MCF_QADC_QASR1 (*(vuint16*)(&__IPSBAR[0x190012])) + +/* Other macros */ +#define MCF_QADC_CCW(x) (*(vuint16*)(&__IPSBAR[0x190200 + (x*2)])) +#define MCF_QADC_CCW_CHAN(x) (((x)&0x3F)<<0) +#define MCF_QADC_CCW_IST(x) (((x)&0x3)<<0x6) +#define MCF_QADC_CCW_IST_QCLK2 (0) +#define MCF_QADC_CCW_IST_QCLK4 (0x40) +#define MCF_QADC_CCW_IST_QCLK8 (0x80) +#define MCF_QADC_CCW_IST_QCLK16 (0xC0) +#define MCF_QADC_CCW_BYP (0x100) +#define MCF_QADC_CCW_P (0x200) +#define MCF_QADC_RJURR(x) (*(vuint16*)(&__IPSBAR[0x190280 + (x*2)])) +#define MCF_QADC_LJSRR(x) (*(vuint16*)(&__IPSBAR[0x190300 + (x*2)])) +#define MCF_QADC_LJURR(x) (*(vuint16*)(&__IPSBAR[0x190380 + (x*2)])) + + +/* Bit definitions and macros for MCF_QADC_QADCMCR */ +#define MCF_QADC_QADCMCR_SUPV (0x80) +#define MCF_QADC_QADCMCR_QDBG (0x4000) +#define MCF_QADC_QADCMCR_QSTOP (0x8000) + +/* Bit definitions and macros for MCF_QADC_PORTQA */ +#define MCF_QADC_PORTQA_PQA0 (0x1) +#define MCF_QADC_PORTQA_PQA1 (0x2) +#define MCF_QADC_PORTQA_PQA2 (0x8) +#define MCF_QADC_PORTQA_PQA3 (0x10) + +/* Bit definitions and macros for MCF_QADC_PORTQB */ +#define MCF_QADC_PORTQB_PQB0 (0x1) +#define MCF_QADC_PORTQB_PQB1 (0x2) +#define MCF_QADC_PORTQB_PQB2 (0x4) +#define MCF_QADC_PORTQB_PQB3 (0x8) + +/* Bit definitions and macros for MCF_QADC_DDRQA */ +#define MCF_QADC_DDRQA_DDQA0 (0x1) +#define MCF_QADC_DDRQA_DDQA1 (0x2) +#define MCF_QADC_DDRQA_DDQA2 (0x8) +#define MCF_QADC_DDRQA_DDQA3 (0x10) + +/* Bit definitions and macros for MCF_QADC_DDRQB */ +#define MCF_QADC_DDRQB_DDQB0 (0x1) +#define MCF_QADC_DDRQB_DDQB1 (0x2) +#define MCF_QADC_DDRQB_DDQB2 (0x4) +#define MCF_QADC_DDRQB_DDQB3 (0x8) + +/* Bit definitions and macros for MCF_QADC_QACR0 */ +#define MCF_QADC_QACR0_QPR(x) (((x)&0x7F)<<0) +#define MCF_QADC_QACR0_TRG (0x1000) +#define MCF_QADC_QACR0_MUX (0x8000) + +/* Bit definitions and macros for MCF_QADC_QACR1 */ +#define MCF_QADC_QACR1_MQ1(x) (((x)&0x1F)<<0x8) +#define MCF_QADC_QACR1_SSE1 (0x2000) +#define MCF_QADC_QACR1_PIE1 (0x4000) +#define MCF_QADC_QACR1_CIE1 (0x8000) + +/* Bit definitions and macros for MCF_QADC_QACR2 */ +#define MCF_QADC_QACR2_BQ2(x) (((x)&0x7F)<<0) +#define MCF_QADC_QACR2_RESUME (0x80) +#define MCF_QADC_QACR2_MQ2(x) (((x)&0x1F)<<0x8) +#define MCF_QADC_QACR2_SSE2 (0x2000) +#define MCF_QADC_QACR2_PIE2 (0x4000) +#define MCF_QADC_QACR2_CIE2 (0x8000) + +/* Bit definitions and macros for MCF_QADC_QASR0 */ +#define MCF_QADC_QASR0_CWP(x) (((x)&0x3F)<<0) +#define MCF_QADC_QASR0_QS(x) (((x)&0xF)<<0x6) +#define MCF_QADC_QASR0_TOR2 (0x400) +#define MCF_QADC_QASR0_TOR1 (0x800) +#define MCF_QADC_QASR0_PF2 (0x1000) +#define MCF_QADC_QASR0_CF2 (0x2000) +#define MCF_QADC_QASR0_PF1 (0x4000) +#define MCF_QADC_QASR0_CF1 (0x8000) + +/* Bit definitions and macros for MCF_QADC_QASR1 */ +#define MCF_QADC_QASR1_CWPQ2(x) (((x)&0x3F)<<0) +#define MCF_QADC_QASR1_CWPQ1(x) (((x)&0x3F)<<0x8) + + +#endif /* __MCF5282_QADC_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_QSPI.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_QSPI.h new file mode 100644 index 000000000..f8d94784f --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_QSPI.h @@ -0,0 +1,78 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_QSPI_H__ +#define __MCF5282_QSPI_H__ + + +/********************************************************************* +* +* Queued Serial Peripheral Interface (QSPI) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_QSPI_QMR (*(vuint16*)(&__IPSBAR[0x340])) +#define MCF_QSPI_QDLYR (*(vuint16*)(&__IPSBAR[0x344])) +#define MCF_QSPI_QWR (*(vuint16*)(&__IPSBAR[0x348])) +#define MCF_QSPI_QIR (*(vuint16*)(&__IPSBAR[0x34C])) +#define MCF_QSPI_QAR (*(vuint16*)(&__IPSBAR[0x350])) +#define MCF_QSPI_QDR (*(vuint16*)(&__IPSBAR[0x354])) + + +/* Bit definitions and macros for MCF_QSPI_QMR */ +#define MCF_QSPI_QMR_BAUD(x) (((x)&0xFF)<<0) +#define MCF_QSPI_QMR_CPHA (0x100) +#define MCF_QSPI_QMR_CPOL (0x200) +#define MCF_QSPI_QMR_BITS(x) (((x)&0xF)<<0xA) +#define MCF_QSPI_QMR_DOHIE (0x4000) +#define MCF_QSPI_QMR_MSTR (0x8000) + +/* Bit definitions and macros for MCF_QSPI_QDLYR */ +#define MCF_QSPI_QDLYR_DTL(x) (((x)&0xFF)<<0) +#define MCF_QSPI_QDLYR_QCD(x) (((x)&0x7F)<<0x8) +#define MCF_QSPI_QDLYR_SPE (0x8000) + +/* Bit definitions and macros for MCF_QSPI_QWR */ +#define MCF_QSPI_QWR_NEWQP(x) (((x)&0xF)<<0) +#define MCF_QSPI_QWR_CPTQP(x) (((x)&0xF)<<0x4) +#define MCF_QSPI_QWR_ENDQP(x) (((x)&0xF)<<0x8) +#define MCF_QSPI_QWR_CSIV (0x1000) +#define MCF_QSPI_QWR_WRTO (0x2000) +#define MCF_QSPI_QWR_WREN (0x4000) +#define MCF_QSPI_QWR_HALT (0x8000) + +/* Bit definitions and macros for MCF_QSPI_QIR */ +#define MCF_QSPI_QIR_SPIF (0x1) +#define MCF_QSPI_QIR_ABRT (0x4) +#define MCF_QSPI_QIR_WCEF (0x8) +#define MCF_QSPI_QIR_SPIFE (0x100) +#define MCF_QSPI_QIR_ABRTE (0x400) +#define MCF_QSPI_QIR_WCEFE (0x800) +#define MCF_QSPI_QIR_ABRTL (0x1000) +#define MCF_QSPI_QIR_ABRTB (0x4000) +#define MCF_QSPI_QIR_WCEFB (0x8000) + +/* Bit definitions and macros for MCF_QSPI_QAR */ +#define MCF_QSPI_QAR_ADDR(x) (((x)&0x3F)<<0) +#define MCF_QSPI_QAR_TRANS (0) +#define MCF_QSPI_QAR_RECV (0x10) +#define MCF_QSPI_QAR_CMD (0x20) + +/* Bit definitions and macros for MCF_QSPI_QDR */ +#define MCF_QSPI_QDR_DATA(x) (((x)&0xFFFF)<<0) +#define MCF_QSPI_QDR_CONT (0x8000) +#define MCF_QSPI_QDR_BITSE (0x4000) +#define MCF_QSPI_QDR_DT (0x2000) +#define MCF_QSPI_QDR_DSCK (0x1000) +#define MCF_QSPI_QDR_QSPI_CS3 (0x800) +#define MCF_QSPI_QDR_QSPI_CS2 (0x400) +#define MCF_QSPI_QDR_QSPI_CS1 (0x200) +#define MCF_QSPI_QDR_QSPI_CS0 (0x100) + + +#endif /* __MCF5282_QSPI_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_RCM.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_RCM.h new file mode 100644 index 000000000..8e1ebe702 --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_RCM.h @@ -0,0 +1,41 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_RCM_H__ +#define __MCF5282_RCM_H__ + + +/********************************************************************* +* +* Reset Controller Module (RCM) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_RCM_RCR (*(vuint8 *)(&__IPSBAR[0x110000])) +#define MCF_RCM_RSR (*(vuint8 *)(&__IPSBAR[0x110001])) + + +/* Bit definitions and macros for MCF_RCM_RCR */ +#define MCF_RCM_RCR_LVDE (0x1) +#define MCF_RCM_RCR_LVDRE (0x4) +#define MCF_RCM_RCR_LVDIE (0x8) +#define MCF_RCM_RCR_LVDF (0x10) +#define MCF_RCM_RCR_FRCRSTOUT (0x40) +#define MCF_RCM_RCR_SOFTRST (0x80) + +/* Bit definitions and macros for MCF_RCM_RSR */ +#define MCF_RCM_RSR_LOL (0x1) +#define MCF_RCM_RSR_LOC (0x2) +#define MCF_RCM_RSR_EXT (0x4) +#define MCF_RCM_RSR_POR (0x8) +#define MCF_RCM_RSR_WDR (0x10) +#define MCF_RCM_RSR_SOFT (0x20) +#define MCF_RCM_RSR_LVD (0x40) + + +#endif /* __MCF5282_RCM_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_SCM.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_SCM.h new file mode 100644 index 000000000..d6f4bb85c --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_SCM.h @@ -0,0 +1,152 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_SCM_H__ +#define __MCF5282_SCM_H__ + + +/********************************************************************* +* +* System Control Module (SCM) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_SCM_RAMBAR (*(vuint32*)(&__IPSBAR[0x8])) +#define MCF_SCM_CRSR (*(vuint8 *)(&__IPSBAR[0x10])) +#define MCF_SCM_CWCR (*(vuint8 *)(&__IPSBAR[0x11])) +#define MCF_SCM_CWSR (*(vuint8 *)(&__IPSBAR[0x13])) +#define MCF_SCM_DMAREQC (*(vuint32*)(&__IPSBAR[0x14])) +#define MCF_SCM_MPARK (*(vuint32*)(&__IPSBAR[0x1C])) +#define MCF_SCM_MPR (*(vuint8 *)(&__IPSBAR[0x20])) +#define MCF_SCM_PACR0 (*(vuint8 *)(&__IPSBAR[0x24])) +#define MCF_SCM_PACR1 (*(vuint8 *)(&__IPSBAR[0x25])) +#define MCF_SCM_PACR2 (*(vuint8 *)(&__IPSBAR[0x26])) +#define MCF_SCM_PACR3 (*(vuint8 *)(&__IPSBAR[0x27])) +#define MCF_SCM_PACR4 (*(vuint8 *)(&__IPSBAR[0x28])) +#define MCF_SCM_PACR5 (*(vuint8 *)(&__IPSBAR[0x2A])) +#define MCF_SCM_PACR6 (*(vuint8 *)(&__IPSBAR[0x2B])) +#define MCF_SCM_PACR7 (*(vuint8 *)(&__IPSBAR[0x2C])) +#define MCF_SCM_PACR8 (*(vuint8 *)(&__IPSBAR[0x2E])) +#define MCF_SCM_GPACR0 (*(vuint8 *)(&__IPSBAR[0x30])) +#define MCF_SCM_GPACR1 (*(vuint8 *)(&__IPSBAR[0x31])) +#define MCF_SCM_GPACR(x) (*(vuint8 *)(&__IPSBAR[0x30 + ((x)*0x1)])) + +/* Other macros */ +#define MCF_SCM_IPSBAR (*(vuint32*)(&__IPSBAR[0x0])) +#define MCF_SCM_IPSBAR_V (0x1) +#define MCF_SCM_IPSBAR_BA(x) ((x)&0xC0000000) + + +/* Bit definitions and macros for MCF_SCM_RAMBAR */ +#define MCF_SCM_RAMBAR_BDE (0x200) +#define MCF_SCM_RAMBAR_BA(x) ((x)&0xFFFF0000) + +/* Bit definitions and macros for MCF_SCM_CRSR */ +#define MCF_SCM_CRSR_CWDR (0x20) +#define MCF_SCM_CRSR_EXT (0x80) + +/* Bit definitions and macros for MCF_SCM_CWCR */ +#define MCF_SCM_CWCR_CWTIF (0x1) +#define MCF_SCM_CWCR_CWTAVAL (0x2) +#define MCF_SCM_CWCR_CWTA (0x4) +#define MCF_SCM_CWCR_CWT(x) (((x)&0x7)<<0x3) +#define MCF_SCM_CWCR_CWT_2_9 (0) +#define MCF_SCM_CWCR_CWT_2_11 (0x8) +#define MCF_SCM_CWCR_CWT_2_13 (0x10) +#define MCF_SCM_CWCR_CWT_2_15 (0x18) +#define MCF_SCM_CWCR_CWT_2_19 (0x20) +#define MCF_SCM_CWCR_CWT_2_23 (0x28) +#define MCF_SCM_CWCR_CWT_2_27 (0x30) +#define MCF_SCM_CWCR_CWT_2_31 (0x38) +#define MCF_SCM_CWCR_CWRI (0x40) +#define MCF_SCM_CWCR_CWE (0x80) + +/* Bit definitions and macros for MCF_SCM_CWSR */ +#define MCF_SCM_CWSR_CWSR(x) (((x)&0xFF)<<0) + +/* Bit definitions and macros for MCF_SCM_DMAREQC */ +#define MCF_SCM_DMAREQC_DMAC0(x) (((x)&0xF)<<0) +#define MCF_SCM_DMAREQC_DMAC1(x) (((x)&0xF)<<0x4) +#define MCF_SCM_DMAREQC_DMAC2(x) (((x)&0xF)<<0x8) +#define MCF_SCM_DMAREQC_DMAC3(x) (((x)&0xF)<<0xC) + +/* Bit definitions and macros for MCF_SCM_MPARK */ +#define MCF_SCM_MPARK_LCKOUT_TIME(x) (((x)&0xF)<<0x8) +#define MCF_SCM_MPARK_PRKLAST (0x1000) +#define MCF_SCM_MPARK_TIMEOUT (0x2000) +#define MCF_SCM_MPARK_FIXED (0x4000) +#define MCF_SCM_MPARK_M1_PRTY(x) (((x)&0x3)<<0x10) +#define MCF_SCM_MPARK_M0_PRTY(x) (((x)&0x3)<<0x12) +#define MCF_SCM_MPARK_M2_PRTY(x) (((x)&0x3)<<0x14) +#define MCF_SCM_MPARK_M3_PRTY(x) (((x)&0x3)<<0x16) +#define MCF_SCM_MPARK_BCR24BIT (0x1000000) +#define MCF_SCM_MPARK_M2_P_EN (0x2000000) + +/* Bit definitions and macros for MCF_SCM_MPR */ +#define MCF_SCM_MPR_MPR(x) (((x)&0xF)<<0) + +/* Bit definitions and macros for MCF_SCM_PACR0 */ +#define MCF_SCM_PACR0_ACCESS_CTRL0(x) (((x)&0x7)<<0) +#define MCF_SCM_PACR0_LOCK0 (0x8) +#define MCF_SCM_PACR0_ACCESS_CTRL1(x) (((x)&0x7)<<0x4) +#define MCF_SCM_PACR0_LOCK1 (0x80) + +/* Bit definitions and macros for MCF_SCM_PACR1 */ +#define MCF_SCM_PACR1_ACCESS_CTRL0(x) (((x)&0x7)<<0) +#define MCF_SCM_PACR1_LOCK0 (0x8) +#define MCF_SCM_PACR1_ACCESS_CTRL1(x) (((x)&0x7)<<0x4) +#define MCF_SCM_PACR1_LOCK1 (0x80) + +/* Bit definitions and macros for MCF_SCM_PACR2 */ +#define MCF_SCM_PACR2_ACCESS_CTRL0(x) (((x)&0x7)<<0) +#define MCF_SCM_PACR2_LOCK0 (0x8) +#define MCF_SCM_PACR2_ACCESS_CTRL1(x) (((x)&0x7)<<0x4) +#define MCF_SCM_PACR2_LOCK1 (0x80) + +/* Bit definitions and macros for MCF_SCM_PACR3 */ +#define MCF_SCM_PACR3_ACCESS_CTRL0(x) (((x)&0x7)<<0) +#define MCF_SCM_PACR3_LOCK0 (0x8) +#define MCF_SCM_PACR3_ACCESS_CTRL1(x) (((x)&0x7)<<0x4) +#define MCF_SCM_PACR3_LOCK1 (0x80) + +/* Bit definitions and macros for MCF_SCM_PACR4 */ +#define MCF_SCM_PACR4_ACCESS_CTRL0(x) (((x)&0x7)<<0) +#define MCF_SCM_PACR4_LOCK0 (0x8) +#define MCF_SCM_PACR4_ACCESS_CTRL1(x) (((x)&0x7)<<0x4) +#define MCF_SCM_PACR4_LOCK1 (0x80) + +/* Bit definitions and macros for MCF_SCM_PACR5 */ +#define MCF_SCM_PACR5_ACCESS_CTRL0(x) (((x)&0x7)<<0) +#define MCF_SCM_PACR5_LOCK0 (0x8) +#define MCF_SCM_PACR5_ACCESS_CTRL1(x) (((x)&0x7)<<0x4) +#define MCF_SCM_PACR5_LOCK1 (0x80) + +/* Bit definitions and macros for MCF_SCM_PACR6 */ +#define MCF_SCM_PACR6_ACCESS_CTRL0(x) (((x)&0x7)<<0) +#define MCF_SCM_PACR6_LOCK0 (0x8) +#define MCF_SCM_PACR6_ACCESS_CTRL1(x) (((x)&0x7)<<0x4) +#define MCF_SCM_PACR6_LOCK1 (0x80) + +/* Bit definitions and macros for MCF_SCM_PACR7 */ +#define MCF_SCM_PACR7_ACCESS_CTRL0(x) (((x)&0x7)<<0) +#define MCF_SCM_PACR7_LOCK0 (0x8) +#define MCF_SCM_PACR7_ACCESS_CTRL1(x) (((x)&0x7)<<0x4) +#define MCF_SCM_PACR7_LOCK1 (0x80) + +/* Bit definitions and macros for MCF_SCM_PACR8 */ +#define MCF_SCM_PACR8_ACCESS_CTRL0(x) (((x)&0x7)<<0) +#define MCF_SCM_PACR8_LOCK0 (0x8) +#define MCF_SCM_PACR8_ACCESS_CTRL1(x) (((x)&0x7)<<0x4) +#define MCF_SCM_PACR8_LOCK1 (0x80) + +/* Bit definitions and macros for MCF_SCM_GPACR */ +#define MCF_SCM_GPACR_ACCESS_CTRL(x) (((x)&0xF)<<0) +#define MCF_SCM_GPACR_LOCK (0x80) + + +#endif /* __MCF5282_SCM_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_SDRAMC.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_SDRAMC.h new file mode 100644 index 000000000..0564610a7 --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_SDRAMC.h @@ -0,0 +1,82 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_SDRAMC_H__ +#define __MCF5282_SDRAMC_H__ + + +/********************************************************************* +* +* Synchronous DRAM Controller (SDRAMC) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_SDRAMC_DCR (*(vuint16*)(&__IPSBAR[0x40])) +#define MCF_SDRAMC_DACR0 (*(vuint32*)(&__IPSBAR[0x48])) +#define MCF_SDRAMC_DMR0 (*(vuint32*)(&__IPSBAR[0x4C])) +#define MCF_SDRAMC_DACR1 (*(vuint32*)(&__IPSBAR[0x50])) +#define MCF_SDRAMC_DMR1 (*(vuint32*)(&__IPSBAR[0x54])) +#define MCF_SDRAMC_DACR(x) (*(vuint32*)(&__IPSBAR[0x48 + ((x)*0x8)])) +#define MCF_SDRAMC_DMR(x) (*(vuint32*)(&__IPSBAR[0x4C + ((x)*0x8)])) + + +/* Bit definitions and macros for MCF_SDRAMC_DCR */ +#define MCF_SDRAMC_DCR_RC(x) (((x)&0x1FF)<<0) +#define MCF_SDRAMC_DCR_RTIM(x) (((x)&0x3)<<0x9) +#define MCF_SDRAMC_DCR_RTIM_3 (0) +#define MCF_SDRAMC_DCR_RTIM_6 (0x200) +#define MCF_SDRAMC_DCR_RTIM_9 (0x400) +#define MCF_SDRAMC_DCR_IS (0x800) +#define MCF_SDRAMC_DCR_COC (0x1000) +#define MCF_SDRAMC_DCR_NAM (0x2000) + +/* Bit definitions and macros for MCF_SDRAMC_DACR */ +#define MCF_SDRAMC_DACR_IP (0x8) +#define MCF_SDRAMC_DACR_PS(x) (((x)&0x3)<<0x4) +#define MCF_SDRAMC_DACR_PS_32 (0) +#define MCF_SDRAMC_DACR_PS_8 (0x10) +#define MCF_SDRAMC_DACR_PS_16 (0x20) +#define MCF_SDRAMC_DACR_IMRS (0x40) +#define MCF_SDRAMC_DACR_CBM(x) (((x)&0x7)<<0x8) +#define MCF_SDRAMC_DACR_CASL(x) (((x)&0x3)<<0xC) +#define MCF_SDRAMC_DACR_RE (0x8000) +#define MCF_SDRAMC_DACR_BA(x) ((x)&0xFFFC0000) +#define MCF_SDRAMC_DACR_CASL_1 (0) +#define MCF_SDRAMC_DACR_CASL_2 (0x1000) +#define MCF_SDRAMC_DACR_CASL_3 (0x2000) + +/* Bit definitions and macros for MCF_SDRAMC_DMR */ +#define MCF_SDRAMC_DMR_V (0x1) +#define MCF_SDRAMC_DMR_UD (0x2) +#define MCF_SDRAMC_DMR_UC (0x4) +#define MCF_SDRAMC_DMR_SD (0x8) +#define MCF_SDRAMC_DMR_SC (0x10) +#define MCF_SDRAMC_DMR_AM (0x20) +#define MCF_SDRAMC_DMR_CI (0x40) +#define MCF_SDRAMC_DMR_WP (0x100) +#define MCF_SDRAMC_DMR_BAM(x) (((x)&0x3FFF)<<0x12) +#define MCF_SDRAMC_DMR_BAM_4G (0xFFFC0000) +#define MCF_SDRAMC_DMR_BAM_2G (0x7FFC0000) +#define MCF_SDRAMC_DMR_BAM_1G (0x3FFC0000) +#define MCF_SDRAMC_DMR_BAM_1024M (0x3FFC0000) +#define MCF_SDRAMC_DMR_BAM_512M (0x1FFC0000) +#define MCF_SDRAMC_DMR_BAM_256M (0xFFC0000) +#define MCF_SDRAMC_DMR_BAM_128M (0x7FC0000) +#define MCF_SDRAMC_DMR_BAM_64M (0x3FC0000) +#define MCF_SDRAMC_DMR_BAM_32M (0x1FC0000) +#define MCF_SDRAMC_DMR_BAM_16M (0xFC0000) +#define MCF_SDRAMC_DMR_BAM_8M (0x7C0000) +#define MCF_SDRAMC_DMR_BAM_4M (0x3C0000) +#define MCF_SDRAMC_DMR_BAM_2M (0x1C0000) +#define MCF_SDRAMC_DMR_BAM_1M (0xC0000) +#define MCF_SDRAMC_DMR_BAM_1024K (0xC0000) +#define MCF_SDRAMC_DMR_BAM_512K (0x40000) +#define MCF_SDRAMC_DMR_BAM_256K (0) + + +#endif /* __MCF5282_SDRAMC_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_UART.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_UART.h new file mode 100644 index 000000000..4de3d0175 --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_UART.h @@ -0,0 +1,194 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_UART_H__ +#define __MCF5282_UART_H__ + + +/********************************************************************* +* +* Universal Asynchronous Receiver Transmitter (UART) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_UART0_UMR1 (*(vuint8 *)(&__IPSBAR[0x200])) +#define MCF_UART0_UMR2 (*(vuint8 *)(&__IPSBAR[0x200])) +#define MCF_UART0_USR (*(vuint8 *)(&__IPSBAR[0x204])) +#define MCF_UART0_UCSR (*(vuint8 *)(&__IPSBAR[0x204])) +#define MCF_UART0_UCR (*(vuint8 *)(&__IPSBAR[0x208])) +#define MCF_UART0_URB (*(vuint8 *)(&__IPSBAR[0x20C])) +#define MCF_UART0_UTB (*(vuint8 *)(&__IPSBAR[0x20C])) +#define MCF_UART0_UIPCR (*(vuint8 *)(&__IPSBAR[0x210])) +#define MCF_UART0_UACR (*(vuint8 *)(&__IPSBAR[0x210])) +#define MCF_UART0_UIMR (*(vuint8 *)(&__IPSBAR[0x214])) +#define MCF_UART0_UISR (*(vuint8 *)(&__IPSBAR[0x214])) +#define MCF_UART0_UBG1 (*(vuint8 *)(&__IPSBAR[0x218])) +#define MCF_UART0_UBG2 (*(vuint8 *)(&__IPSBAR[0x21C])) +#define MCF_UART0_UIP (*(vuint8 *)(&__IPSBAR[0x234])) +#define MCF_UART0_UOP1 (*(vuint8 *)(&__IPSBAR[0x238])) +#define MCF_UART0_UOP0 (*(vuint8 *)(&__IPSBAR[0x23C])) + +#define MCF_UART1_UMR1 (*(vuint8 *)(&__IPSBAR[0x240])) +#define MCF_UART1_UMR2 (*(vuint8 *)(&__IPSBAR[0x240])) +#define MCF_UART1_USR (*(vuint8 *)(&__IPSBAR[0x244])) +#define MCF_UART1_UCSR (*(vuint8 *)(&__IPSBAR[0x244])) +#define MCF_UART1_UCR (*(vuint8 *)(&__IPSBAR[0x248])) +#define MCF_UART1_URB (*(vuint8 *)(&__IPSBAR[0x24C])) +#define MCF_UART1_UTB (*(vuint8 *)(&__IPSBAR[0x24C])) +#define MCF_UART1_UIPCR (*(vuint8 *)(&__IPSBAR[0x250])) +#define MCF_UART1_UACR (*(vuint8 *)(&__IPSBAR[0x250])) +#define MCF_UART1_UIMR (*(vuint8 *)(&__IPSBAR[0x254])) +#define MCF_UART1_UISR (*(vuint8 *)(&__IPSBAR[0x254])) +#define MCF_UART1_UBG1 (*(vuint8 *)(&__IPSBAR[0x258])) +#define MCF_UART1_UBG2 (*(vuint8 *)(&__IPSBAR[0x25C])) +#define MCF_UART1_UIP (*(vuint8 *)(&__IPSBAR[0x274])) +#define MCF_UART1_UOP1 (*(vuint8 *)(&__IPSBAR[0x278])) +#define MCF_UART1_UOP0 (*(vuint8 *)(&__IPSBAR[0x27C])) + +#define MCF_UART2_UMR1 (*(vuint8 *)(&__IPSBAR[0x280])) +#define MCF_UART2_UMR2 (*(vuint8 *)(&__IPSBAR[0x280])) +#define MCF_UART2_USR (*(vuint8 *)(&__IPSBAR[0x284])) +#define MCF_UART2_UCSR (*(vuint8 *)(&__IPSBAR[0x284])) +#define MCF_UART2_UCR (*(vuint8 *)(&__IPSBAR[0x288])) +#define MCF_UART2_URB (*(vuint8 *)(&__IPSBAR[0x28C])) +#define MCF_UART2_UTB (*(vuint8 *)(&__IPSBAR[0x28C])) +#define MCF_UART2_UIPCR (*(vuint8 *)(&__IPSBAR[0x290])) +#define MCF_UART2_UACR (*(vuint8 *)(&__IPSBAR[0x290])) +#define MCF_UART2_UIMR (*(vuint8 *)(&__IPSBAR[0x294])) +#define MCF_UART2_UISR (*(vuint8 *)(&__IPSBAR[0x294])) +#define MCF_UART2_UBG1 (*(vuint8 *)(&__IPSBAR[0x298])) +#define MCF_UART2_UBG2 (*(vuint8 *)(&__IPSBAR[0x29C])) +#define MCF_UART2_UIP (*(vuint8 *)(&__IPSBAR[0x2B4])) +#define MCF_UART2_UOP1 (*(vuint8 *)(&__IPSBAR[0x2B8])) +#define MCF_UART2_UOP0 (*(vuint8 *)(&__IPSBAR[0x2BC])) + +#define MCF_UART_UMR(x) (*(vuint8 *)(&__IPSBAR[0x200 + ((x)*0x40)])) +#define MCF_UART_USR(x) (*(vuint8 *)(&__IPSBAR[0x204 + ((x)*0x40)])) +#define MCF_UART_UCSR(x) (*(vuint8 *)(&__IPSBAR[0x204 + ((x)*0x40)])) +#define MCF_UART_UCR(x) (*(vuint8 *)(&__IPSBAR[0x208 + ((x)*0x40)])) +#define MCF_UART_URB(x) (*(vuint8 *)(&__IPSBAR[0x20C + ((x)*0x40)])) +#define MCF_UART_UTB(x) (*(vuint8 *)(&__IPSBAR[0x20C + ((x)*0x40)])) +#define MCF_UART_UIPCR(x) (*(vuint8 *)(&__IPSBAR[0x210 + ((x)*0x40)])) +#define MCF_UART_UACR(x) (*(vuint8 *)(&__IPSBAR[0x210 + ((x)*0x40)])) +#define MCF_UART_UIMR(x) (*(vuint8 *)(&__IPSBAR[0x214 + ((x)*0x40)])) +#define MCF_UART_UISR(x) (*(vuint8 *)(&__IPSBAR[0x214 + ((x)*0x40)])) +#define MCF_UART_UBG1(x) (*(vuint8 *)(&__IPSBAR[0x218 + ((x)*0x40)])) +#define MCF_UART_UBG2(x) (*(vuint8 *)(&__IPSBAR[0x21C + ((x)*0x40)])) +#define MCF_UART_UIP(x) (*(vuint8 *)(&__IPSBAR[0x234 + ((x)*0x40)])) +#define MCF_UART_UOP1(x) (*(vuint8 *)(&__IPSBAR[0x238 + ((x)*0x40)])) +#define MCF_UART_UOP0(x) (*(vuint8 *)(&__IPSBAR[0x23C + ((x)*0x40)])) + +/* Bit definitions and macros for MCF_UART_UMR */ +#define MCF_UART_UMR_BC(x) (((x)&0x3)<<0) +#define MCF_UART_UMR_BC_5 (0) +#define MCF_UART_UMR_BC_6 (0x1) +#define MCF_UART_UMR_BC_7 (0x2) +#define MCF_UART_UMR_BC_8 (0x3) +#define MCF_UART_UMR_PT (0x4) +#define MCF_UART_UMR_PM(x) (((x)&0x3)<<0x3) +#define MCF_UART_UMR_ERR (0x20) +#define MCF_UART_UMR_RXIRQ (0x40) +#define MCF_UART_UMR_RXRTS (0x80) +#define MCF_UART_UMR_PM_MULTI_ADDR (0x1C) +#define MCF_UART_UMR_PM_MULTI_DATA (0x18) +#define MCF_UART_UMR_PM_NONE (0x10) +#define MCF_UART_UMR_PM_FORCE_HI (0xC) +#define MCF_UART_UMR_PM_FORCE_LO (0x8) +#define MCF_UART_UMR_PM_ODD (0x4) +#define MCF_UART_UMR_PM_EVEN (0) +#define MCF_UART_UMR_SB(x) (((x)&0xF)<<0) +#define MCF_UART_UMR_SB_STOP_BITS_1 (0x7) +#define MCF_UART_UMR_SB_STOP_BITS_15 (0x8) +#define MCF_UART_UMR_SB_STOP_BITS_2 (0xF) +#define MCF_UART_UMR_TXCTS (0x10) +#define MCF_UART_UMR_TXRTS (0x20) +#define MCF_UART_UMR_CM(x) (((x)&0x3)<<0x6) +#define MCF_UART_UMR_CM_NORMAL (0) +#define MCF_UART_UMR_CM_ECHO (0x40) +#define MCF_UART_UMR_CM_LOCAL_LOOP (0x80) +#define MCF_UART_UMR_CM_REMOTE_LOOP (0xC0) + +/* Bit definitions and macros for MCF_UART_USR */ +#define MCF_UART_USR_RXRDY (0x1) +#define MCF_UART_USR_FFULL (0x2) +#define MCF_UART_USR_TXRDY (0x4) +#define MCF_UART_USR_TXEMP (0x8) +#define MCF_UART_USR_OE (0x10) +#define MCF_UART_USR_PE (0x20) +#define MCF_UART_USR_FE (0x40) +#define MCF_UART_USR_RB (0x80) + +/* Bit definitions and macros for MCF_UART_UCSR */ +#define MCF_UART_UCSR_TCS(x) (((x)&0xF)<<0) +#define MCF_UART_UCSR_TCS_SYS_CLK (0xD) +#define MCF_UART_UCSR_TCS_CTM16 (0xE) +#define MCF_UART_UCSR_TCS_CTM (0xF) +#define MCF_UART_UCSR_RCS(x) (((x)&0xF)<<0x4) +#define MCF_UART_UCSR_RCS_SYS_CLK (0xD0) +#define MCF_UART_UCSR_RCS_CTM16 (0xE0) +#define MCF_UART_UCSR_RCS_CTM (0xF0) + +/* Bit definitions and macros for MCF_UART_UCR */ +#define MCF_UART_UCR_RC(x) (((x)&0x3)<<0) +#define MCF_UART_UCR_RX_ENABLED (0x1) +#define MCF_UART_UCR_RX_DISABLED (0x2) +#define MCF_UART_UCR_TC(x) (((x)&0x3)<<0x2) +#define MCF_UART_UCR_TX_ENABLED (0x4) +#define MCF_UART_UCR_TX_DISABLED (0x8) +#define MCF_UART_UCR_MISC(x) (((x)&0x7)<<0x4) +#define MCF_UART_UCR_NONE (0) +#define MCF_UART_UCR_RESET_MR (0x10) +#define MCF_UART_UCR_RESET_RX (0x20) +#define MCF_UART_UCR_RESET_TX (0x30) +#define MCF_UART_UCR_RESET_ERROR (0x40) +#define MCF_UART_UCR_RESET_BKCHGINT (0x50) +#define MCF_UART_UCR_START_BREAK (0x60) +#define MCF_UART_UCR_STOP_BREAK (0x70) + +/* Bit definitions and macros for MCF_UART_URB */ +#define MCF_UART_URB_RB(x) (((x)&0xFF)<<0) + +/* Bit definitions and macros for MCF_UART_UTB */ +#define MCF_UART_UTB_TB(x) (((x)&0xFF)<<0) + +/* Bit definitions and macros for MCF_UART_UIPCR */ +#define MCF_UART_UIPCR_CTS (0x1) +#define MCF_UART_UIPCR_COS (0x10) + +/* Bit definitions and macros for MCF_UART_UACR */ +#define MCF_UART_UACR_IEC (0x1) + +/* Bit definitions and macros for MCF_UART_UIMR */ +#define MCF_UART_UIMR_TXRDY (0x1) +#define MCF_UART_UIMR_FFULL_RXRDY (0x2) +#define MCF_UART_UIMR_DB (0x4) +#define MCF_UART_UIMR_COS (0x80) + +/* Bit definitions and macros for MCF_UART_UISR */ +#define MCF_UART_UISR_TXRDY (0x1) +#define MCF_UART_UISR_FFULL_RXRDY (0x2) +#define MCF_UART_UISR_DB (0x4) +#define MCF_UART_UISR_COS (0x80) + +/* Bit definitions and macros for MCF_UART_UBG1 */ +#define MCF_UART_UBG1_Divider_MSB(x) (((x)&0xFF)<<0) + +/* Bit definitions and macros for MCF_UART_UBG2 */ +#define MCF_UART_UBG2_Divider_LSB(x) (((x)&0xFF)<<0) + +/* Bit definitions and macros for MCF_UART_UIP */ +#define MCF_UART_UIP_CTS (0x1) + +/* Bit definitions and macros for MCF_UART_UOP1 */ +#define MCF_UART_UOP1_RTS (0x1) + +/* Bit definitions and macros for MCF_UART_UOP0 */ +#define MCF_UART_UOP0_RTS (0x1) + + +#endif /* __MCF5282_UART_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_WTM.h b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_WTM.h new file mode 100644 index 000000000..e042b32ee --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/MCF5282/MCF5282_WTM.h @@ -0,0 +1,41 @@ +/* Coldfire C Header File + * Copyright Freescale Semiconductor Inc + * All rights reserved. + * + * 2007/03/19 Revision: 0.9 + */ + +#ifndef __MCF5282_WTM_H__ +#define __MCF5282_WTM_H__ + + +/********************************************************************* +* +* Watchdog Timer Module (WTM) +* +*********************************************************************/ + +/* Register read/write macros */ +#define MCF_WTM_WCR (*(vuint16*)(&__IPSBAR[0x140000])) +#define MCF_WTM_WMR (*(vuint16*)(&__IPSBAR[0x140002])) +#define MCF_WTM_WCNTR (*(vuint16*)(&__IPSBAR[0x140004])) +#define MCF_WTM_WSR (*(vuint16*)(&__IPSBAR[0x140006])) + + +/* Bit definitions and macros for MCF_WTM_WCR */ +#define MCF_WTM_WCR_EN (0x1) +#define MCF_WTM_WCR_HALTED (0x2) +#define MCF_WTM_WCR_DOZE (0x4) +#define MCF_WTM_WCR_WAIT (0x8) + +/* Bit definitions and macros for MCF_WTM_WMR */ +#define MCF_WTM_WMR_WM(x) (((x)&0xFFFF)<<0) + +/* Bit definitions and macros for MCF_WTM_WCNTR */ +#define MCF_WTM_WCNTR_WC(x) (((x)&0xFFFF)<<0) + +/* Bit definitions and macros for MCF_WTM_WSR */ +#define MCF_WTM_WSR_WS(x) (((x)&0xFFFF)<<0) + + +#endif /* __MCF5282_WTM_H__ */ diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/Makefile b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/Makefile new file mode 100644 index 000000000..f2fe83ff7 --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/Makefile @@ -0,0 +1,96 @@ +RM := rm -rf + +FREERTOS_SOURCE_DIR=./../../../Source +PORT_SOURCE_DIR=./../../../Source/portable/GCC/ColdFire_V2 +COMMON_DEMO_CODE_DIR=./../../Common/Minimal +OUTPUT_DIR=./bin +CPU=528x +LINKER_SCRIPT=m5282evb-ram-hosted.ld +OUTPUT_FILENAME=RTOSDemo.elf +CC=m68k-elf-gcc +AS=m68K-elf-as +VPATH=$(FREERTOS_SOURCE_DIR) : $(PORT_SOURCE_DIR) : $(COMMON_DEMO_CODE_DIR) : $(FREERTOS_SOURCE_DIR)/portable/MemMang : . : ./ParTest + +OBJS = $(OUTPUT_DIR)/portasm.o \ + $(OUTPUT_DIR)/main.o \ + $(OUTPUT_DIR)/ParTest.o \ + $(OUTPUT_DIR)/BlockQ.o \ + $(OUTPUT_DIR)/blocktim.o \ + $(OUTPUT_DIR)/death.o \ + $(OUTPUT_DIR)/integer.o \ + $(OUTPUT_DIR)/PollQ.o \ + $(OUTPUT_DIR)/semtest.o \ + $(OUTPUT_DIR)/GenQTest.o \ + $(OUTPUT_DIR)/QPeek.o \ + $(OUTPUT_DIR)/recmutex.o \ + $(OUTPUT_DIR)/port.o \ + $(OUTPUT_DIR)/list.o \ + $(OUTPUT_DIR)/tasks.o \ + $(OUTPUT_DIR)/queue.o \ + $(OUTPUT_DIR)/heap_2.o \ + $(OUTPUT_DIR)/FreeRTOS_Timer.o + +C_DEPS = $(OBJS:.o=.d) + + +CFLAGS= -I"$(FREERTOS_SOURCE_DIR)/include" \ + -I"include" \ + -I"$(COMMON_DEMO_CODE_DIR)/../include" \ + -I"$(PORT_SOURCE_DIR)" \ + -I./MCF5282 \ + -I. \ + -D COLDFIRE_V2_GCC \ + -O0 \ + -g3 \ + -Wall \ + -Wextra \ + -c \ + -ffunction-sections \ + -fdata-sections \ + -fmessage-length=0 \ + -funsigned-char \ + -Wextra \ + -mcpu=$(CPU) \ + -MMD \ + -MP \ + -MF"$(@:%.o=%.d)" \ + -MT"$(@:%.o=%.d)" + +ASFLAGS= -m528x \ + --register-prefix-optional \ + --bitwise-or + +LIBS= + +# Add inputs and outputs from these tool invocations to the build variables + +# All Target +all: $(OUTPUT_DIR)/$(OUTPUT_FILENAME) + +# Tool invocations +$(OUTPUT_DIR)/$(OUTPUT_FILENAME): $(OBJS) + $(CC) -nostartfiles --gc-sections -Xlinker -Map=$(OUTPUT_DIR)/output.map -mcpu=$(CPU) -T $(LINKER_SCRIPT) -o"$(OUTPUT_DIR)/$(OUTPUT_FILENAME)" $(OBJS) $(USER_OBJS) $(LIBS) + +$(OUTPUT_DIR)/%.o: %.c Makefile + $(CC) $(CFLAGS) -o"$@" "$<" + +$(OUTPUT_DIR)/%.o: %.S + $(AS) $(ASFLAGS) -o"$@" "$<" + +# Other Targets +clean: + -$(RM) $(OBJS) $(C_DEPS) $(EXECUTABLES) $(OUTPUT_DIR)/$(OUTPUT_FILENAME) + -@echo ' ' + +# +# The rule to create the target directory +# +$(OUTPUT_DIR): + @mkdir $(OUTPUT_DIR) + + +.PHONY: all clean dependents +.SECONDARY: post-build + +-include $(wildcard $(OUTPUT_DIR)/*.d) __dummy__ + diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/ParTest/ParTest.c b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/ParTest/ParTest.c new file mode 100644 index 000000000..8100d3dca --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/ParTest/ParTest.c @@ -0,0 +1,154 @@ +/* + FreeRTOS.org V5.0.3 - Copyright (C) 2003-2008 Richard Barry. + + This file is part of the FreeRTOS.org distribution. + + FreeRTOS.org is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + FreeRTOS.org is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with FreeRTOS.org; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + A special exception to the GPL can be applied should you wish to distribute + a combined work that includes FreeRTOS.org, without being obliged to provide + the source code for any proprietary components. See the licensing section + of http://www.FreeRTOS.org for full details of how and when the exception + can be applied. + + *************************************************************************** + *************************************************************************** + * * + * SAVE TIME AND MONEY! We can port FreeRTOS.org to your own hardware, * + * and even write all or part of your application on your behalf. * + * See http://www.OpenRTOS.com for details of the services we provide to * + * expedite your project. * + * * + *************************************************************************** + *************************************************************************** + + Please ensure to read the configuration and relevant port sections of the + online documentation. + + http://www.FreeRTOS.org - Documentation, latest information, license and + contact details. + + http://www.SafeRTOS.com - A version that is certified for use in safety + critical systems. + + http://www.OpenRTOS.com - Commercial support, development, porting, + licensing and training services. +*/ + +/* + Changes from V2.5.2 + + + All LED's are turned off to start. +*/ + + +#include "FreeRTOS.h" +#include "task.h" +#include "partest.h" + +#define partstNUM_LEDs 4 + +#define LED0_POS 0x01 +#define LED1_POS 0x04 +#define LED2_POS 0x01 +#define LED3_POS 0x04 + +static const unsigned portCHAR ucLEDDefinitions[ partstNUM_LEDs ] = { LED0_POS, LED1_POS, LED2_POS, LED3_POS }; + +/*----------------------------------------------------------- + * Simple parallel port IO routines. + *-----------------------------------------------------------*/ + +void vParTestInitialise( void ) +{ + /* Set the LEDs to outputs. */ + MCF_GPIO_DDRTD |= ( LED0_POS | LED1_POS ); + MCF_GPIO_DDRTC |= ( LED2_POS | LED3_POS ); + + /* Turn LEDs off. */ + MCF_GPIO_SETTC |= ( LED0_POS | LED1_POS ); + MCF_GPIO_SETTD |= ( LED2_POS | LED3_POS ); +} +/*-----------------------------------------------------------*/ + +void vParTestSetLED( unsigned portBASE_TYPE uxLED, signed portBASE_TYPE xValue ) +{ + if( uxLED < 2 ) + { + if( xValue != 0 ) + { + taskENTER_CRITICAL(); + MCF_GPIO_PORTTD |= ucLEDDefinitions[ uxLED ]; + taskEXIT_CRITICAL(); + } + else + { + taskENTER_CRITICAL(); + MCF_GPIO_PORTTD &= ~ucLEDDefinitions[ uxLED ]; + taskEXIT_CRITICAL(); + } + } + else if( uxLED < 4 ) + { + if( xValue != 0 ) + { + taskENTER_CRITICAL(); + MCF_GPIO_PORTTC |= ucLEDDefinitions[ uxLED ]; + taskEXIT_CRITICAL(); + } + else + { + taskENTER_CRITICAL(); + MCF_GPIO_PORTTC &= ~ucLEDDefinitions[ uxLED ]; + taskEXIT_CRITICAL(); + } + } +} +/*-----------------------------------------------------------*/ + +void vParTestToggleLED( unsigned portBASE_TYPE uxLED ) +{ + if( uxLED < 2 ) + { + taskENTER_CRITICAL(); + { + if( ( MCF_GPIO_PORTTD & ucLEDDefinitions[ uxLED ] ) == ( unsigned portCHAR ) 0 ) + { + MCF_GPIO_PORTTD |= ucLEDDefinitions[ uxLED ]; + } + else + { + MCF_GPIO_PORTTD &= ~ucLEDDefinitions[ uxLED ]; + } + } + taskEXIT_CRITICAL(); + } + else if( uxLED < 4 ) + { + taskENTER_CRITICAL(); + { + if( ( MCF_GPIO_PORTTC & ucLEDDefinitions[ uxLED ] ) == ( unsigned portCHAR ) 0 ) + { + MCF_GPIO_PORTTC |= ucLEDDefinitions[ uxLED ]; + } + else + { + MCF_GPIO_PORTTC &= ~ucLEDDefinitions[ uxLED ]; + } + } + taskEXIT_CRITICAL(); + } +} + diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/bin/output.map b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/bin/output.map new file mode 100644 index 000000000..4f68cea70 --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/bin/output.map @@ -0,0 +1,2042 @@ +Archive member included because of file (symbol) + +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-atexit.o) + (atexit) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-exit.o) + (exit) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-impure.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-exit.o) (_global_impure_ptr) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memcmp.o) + ./bin/tasks.o (memcmp) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memcpy.o) + ./bin/tasks.o (memcpy) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memset.o) + ./bin/tasks.o (memset) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-sprintf.o) + ./bin/tasks.o (sprintf) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strcat.o) + ./bin/tasks.o (strcat) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strcpy.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strcat.o) (strcpy) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strlen.o) + ./bin/tasks.o (strlen) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strncpy.o) + ./bin/tasks.o (strncpy) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-vfprintf.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-sprintf.o) (_vfprintf_r) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-wsetup.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-vfprintf.o) (__swsetup_r) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-__atexit.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-atexit.o) (__register_exitproc) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-__call_atexit.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-exit.o) (__call_exitprocs) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-dtoa.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-vfprintf.o) (_dtoa_r) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fflush.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-vfprintf.o) (_fflush_r) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-findfp.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-vfprintf.o) (__sinit) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fini.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-__call_atexit.o) (__libc_fini_array) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-freer.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-wsetup.o) (_free_r) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fvwrite.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-vfprintf.o) (__sfvwrite_r) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fwalk.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-findfp.o) (_fwalk) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-locale.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-vfprintf.o) (_localeconv_r) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-makebuf.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-wsetup.o) (__smakebuf_r) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-mallocr.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-findfp.o) (_malloc_r) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memchr.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-vfprintf.o) (memchr) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memmove.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fvwrite.o) (memmove) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-mlock.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-freer.o) (__malloc_lock) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-mprec.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-dtoa.o) (_Bfree) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-reallocr.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fvwrite.o) (_realloc_r) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-s_isinfd.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-vfprintf.o) (__isinfd) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-s_isnand.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-vfprintf.o) (__isnand) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-sbrkr.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-freer.o) (_sbrk_r) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-stdio.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-findfp.o) (__sclose) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strcmp.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-locale.o) (strcmp) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-writer.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-stdio.o) (_write_r) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-callocr.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-mprec.o) (_calloc_r) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-closer.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-stdio.o) (_close_r) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fclose.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-findfp.o) (fclose) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fstatr.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-makebuf.o) (_fstat_r) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-isattyr.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-makebuf.o) (_isatty_r) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-lseekr.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-stdio.o) (_lseek_r) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-readr.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-stdio.o) (_read_r) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-reent.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-sbrkr.o) (errno) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_double.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-dtoa.o) (__adddf3) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_floatex.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_double.o) (_fpCCR) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_eqdf2.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-vfprintf.o) (__eqdf2) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_nedf2.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-vfprintf.o) (__nedf2) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_gtdf2.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-dtoa.o) (__gtdf2) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_gedf2.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-dtoa.o) (__gedf2) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_ltdf2.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-vfprintf.o) (__ltdf2) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_udivdi3.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-vfprintf.o) (__udivdi3) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_umoddi3.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-vfprintf.o) (__umoddi3) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(fpgnulib.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-dtoa.o) (__floatunsidf) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3.a(start_c.o) + (__cs3_start_c) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3.a(m5282evb-reset.o) + (__cs3_reset_m5282evb) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-_exit.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-exit.o) (_exit) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-close.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-closer.o) (close) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-fstat.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fstatr.o) (fstat) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-isatty.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-isattyr.o) (isatty) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-lseek.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-lseekr.o) (lseek) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-read.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-readr.o) (read) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-sbrk.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-sbrkr.o) (sbrk) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-write.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-writer.o) (write) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-gdb.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-lseek.o) (__cs3_hosted_to_gdb_lseek_flags) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(start.o) + (_start) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire-vector.o) + (__cs3_interrupt_vector_coldfire) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_other_interrupt.o) + (__cs3_isr_interrupt_6) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_unimplemented_opcode.o) + (__cs3_isr_unimplemented_line_a_opcode) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_breakpoint_debug_interrupt.o) + (__cs3_isr_non_pc_breakpoint_debug_interrupt) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_trap_interrupt.o) + (__cs3_isr_trap0) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_fp_interrupt.o) + (__cs3_isr_fp_branch_unordered) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_access_error.o) + (__cs3_isr_access_error) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_address_error.o) + (__cs3_isr_address_error) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_illegal_instruction.o) + (__cs3_isr_illegal_instruction) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_divide_by_zero.o) + (__cs3_isr_divide_by_zero) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_privilege_violation.o) + (__cs3_isr_privilege_violation) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_trace.o) + (__cs3_isr_trace) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_format_error.o) + (__cs3_isr_format_error) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_spurious_interrupt.o) + (__cs3_isr_spurious_interrupt) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_unsupported_instruction.o) + (__cs3_isr_unsupported_instruction) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-errno.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-close.o) (__errno) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-init.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3.a(start_c.o) (__libc_init_array) +c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3.a(heap.o) + c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-sbrk.o) (__cs3_heap_limit) + +Allocating common symbols +Common symbol size file + +errno 0x4 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-reent.o) +xHighPriorityTask 0x4 ./bin/QPeek.o +xMediumPriorityTask + 0x4 ./bin/QPeek.o +xHighestPriorityTask + 0x4 ./bin/QPeek.o +xCreatedTask 0x4 ./bin/death.o + +Memory Configuration + +Name Origin Length Attributes +ram 0x00000000 0x01000000 xrw +rom 0xffe00000 0x00200000 xr +rombar 0xf0000000 0x00080000 xr +rambar 0x20000000 0x00010000 xrw +ipsbar 0x40000000 0x20000000 rw +*default* 0x00000000 0xffffffff + +Linker script and memory map + +LOAD ./bin/portasm.o +LOAD ./bin/main.o +LOAD ./bin/ParTest.o +LOAD ./bin/BlockQ.o +LOAD ./bin/blocktim.o +LOAD ./bin/death.o +LOAD ./bin/integer.o +LOAD ./bin/PollQ.o +LOAD ./bin/semtest.o +LOAD ./bin/GenQTest.o +LOAD ./bin/QPeek.o +LOAD ./bin/recmutex.o +LOAD ./bin/port.o +LOAD ./bin/list.o +LOAD ./bin/tasks.o +LOAD ./bin/queue.o +LOAD ./bin/heap_2.o +LOAD ./bin/FreeRTOS_Timer.o +LOAD c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a +LOAD c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a +LOAD c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a +START GROUP +LOAD c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a +LOAD c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a +LOAD c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3.a +LOAD c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a +LOAD c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a +END GROUP + 0x000149d8 PROVIDE (__cs3_heap_start, _end) + 0x01000000 PROVIDE (__cs3_heap_end, (__cs3_region_start_ram + __cs3_region_size_ram)) + 0x00000003 PROVIDE (__cs3_region_num, ((__cs3_regions_end - __cs3_regions) / 0x14)) + 0x01000000 PROVIDE (__cs3_stack, (__cs3_region_start_ram + __cs3_region_size_ram)) + +.text 0x00000000 0xdccc + CREATE_OBJECT_SYMBOLS + 0x00000000 __cs3_region_start_ram = . + *(.cs3.region-head.ram) + 0x00000001 ASSERT ((. == __cs3_region_start_ram), .cs3.region-head.ram not permitted) + 0x00000000 __cs3_interrupt_vector = __cs3_interrupt_vector_coldfire + *(.cs3.interrupt_vector) + .cs3.interrupt_vector + 0x00000000 0x400 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire-vector.o) + 0x00000000 __cs3_interrupt_vector_coldfire + 0x00000001 ASSERT ((. != __cs3_interrupt_vector_coldfire), No interrupt vector) + 0x0000dba0 PROVIDE (__cs3_reset_m5282evb, _start) + 0x00000400 __cs3_reset = __cs3_reset_m5282evb + *(.cs3.reset) + .cs3.reset 0x00000400 0xe6 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3.a(m5282evb-reset.o) + 0x00000400 __cs3_reset_m5282evb + *(.text .text.* .gnu.linkonce.t.*) + *fill* 0x000004e6 0x2 00 + .text 0x000004e8 0x36 ./bin/portasm.o + *fill* 0x0000051e 0x2 00 + .text 0x00000520 0x0 ./bin/main.o + .text.main 0x00000520 0x6c ./bin/main.o + 0x00000520 main + .text.prvSetupHardware + 0x0000058c 0xe ./bin/main.o + .text.vApplicationStackOverflowHook + 0x0000059a 0x6 ./bin/main.o + 0x0000059a vApplicationStackOverflowHook + .text 0x000005a0 0x0 ./bin/ParTest.o + .text.vParTestInitialise + 0x000005a0 0x60 ./bin/ParTest.o + 0x000005a0 vParTestInitialise + .text.vParTestSetLED + 0x00000600 0xf0 ./bin/ParTest.o + 0x00000600 vParTestSetLED + .text.vParTestToggleLED + 0x000006f0 0x106 ./bin/ParTest.o + 0x000006f0 vParTestToggleLED + *fill* 0x000007f6 0x2 00 + .text 0x000007f8 0x0 ./bin/BlockQ.o + .text.vStartBlockingQueueTasks + 0x000007f8 0x26c ./bin/BlockQ.o + 0x000007f8 vStartBlockingQueueTasks + .text.vBlockingQueueProducer + 0x00000a64 0x6e ./bin/BlockQ.o + .text.vBlockingQueueConsumer + 0x00000ad2 0x88 ./bin/BlockQ.o + .text.xAreBlockingQueuesStillRunning + 0x00000b5a 0xc8 ./bin/BlockQ.o + 0x00000b5a xAreBlockingQueuesStillRunning + *fill* 0x00000c22 0x2 00 + .text 0x00000c24 0x0 ./bin/blocktim.o + .text.vCreateBlockTimeTasks + 0x00000c24 0x86 ./bin/blocktim.o + 0x00000c24 vCreateBlockTimeTasks + .text.vPrimaryBlockTimeTestTask + 0x00000caa 0x452 ./bin/blocktim.o + .text.vSecondaryBlockTimeTestTask + 0x000010fc 0x132 ./bin/blocktim.o + .text.xAreBlockTimeTestTasksStillRunning + 0x0000122e 0x62 ./bin/blocktim.o + 0x0000122e xAreBlockTimeTestTasksStillRunning + .text 0x00001290 0x0 ./bin/death.o + .text.vCreateSuicidalTasks + 0x00001290 0x64 ./bin/death.o + 0x00001290 vCreateSuicidalTasks + .text.vSuicidalTask + 0x000012f4 0x72 ./bin/death.o + .text.vCreateTasks + 0x00001366 0x9e ./bin/death.o + .text.xIsCreateTaskStillRunning + 0x00001404 0x7c ./bin/death.o + 0x00001404 xIsCreateTaskStillRunning + .text 0x00001480 0x0 ./bin/integer.o + .text.vStartIntegerMathTasks + 0x00001480 0x56 ./bin/integer.o + 0x00001480 vStartIntegerMathTasks + .text.vCompeteingIntMathTask + 0x000014d6 0x78 ./bin/integer.o + .text.xAreIntegerMathsTaskStillRunning + 0x0000154e 0x56 ./bin/integer.o + 0x0000154e xAreIntegerMathsTaskStillRunning + .text 0x000015a4 0x0 ./bin/PollQ.o + .text.vStartPolledQueueTasks + 0x000015a4 0x8e ./bin/PollQ.o + 0x000015a4 vStartPolledQueueTasks + .text.vPolledQueueProducer + 0x00001632 0x8a ./bin/PollQ.o + .text.vPolledQueueConsumer + 0x000016bc 0xa2 ./bin/PollQ.o + .text.xArePollingQueuesStillRunning + 0x0000175e 0x38 ./bin/PollQ.o + 0x0000175e xArePollingQueuesStillRunning + *fill* 0x00001796 0x2 00 + .text 0x00001798 0x0 ./bin/semtest.o + .text.vStartSemaphoreTasks + 0x00001798 0x1ee ./bin/semtest.o + 0x00001798 vStartSemaphoreTasks + .text.prvSemaphoreTest + 0x00001986 0x148 ./bin/semtest.o + .text.xAreSemaphoreTasksStillRunning + 0x00001ace 0x76 ./bin/semtest.o + 0x00001ace xAreSemaphoreTasksStillRunning + .text 0x00001b44 0x0 ./bin/GenQTest.o + .text.vStartGenericQueueTasks + 0x00001b44 0xf2 ./bin/GenQTest.o + 0x00001b44 vStartGenericQueueTasks + .text.prvSendFrontAndBackTest + 0x00001c36 0x486 ./bin/GenQTest.o + .text.prvLowPriorityMutexTask + 0x000020bc 0x128 ./bin/GenQTest.o + .text.prvMediumPriorityMutexTask + 0x000021e4 0x1e ./bin/GenQTest.o + .text.prvHighPriorityMutexTask + 0x00002202 0x60 ./bin/GenQTest.o + .text.xAreGenericQueueTasksStillRunning + 0x00002262 0x70 ./bin/GenQTest.o + 0x00002262 xAreGenericQueueTasksStillRunning + *fill* 0x000022d2 0x2 00 + .text 0x000022d4 0x0 ./bin/QPeek.o + .text.vStartQueuePeekTasks + 0x000022d4 0xda ./bin/QPeek.o + 0x000022d4 vStartQueuePeekTasks + .text.prvHighestPriorityPeekTask + 0x000023ae 0x156 ./bin/QPeek.o + .text.prvHighPriorityPeekTask + 0x00002504 0xba ./bin/QPeek.o + .text.prvMediumPriorityPeekTask + 0x000025be 0x7e ./bin/QPeek.o + .text.prvLowPriorityPeekTask + 0x0000263c 0x17a ./bin/QPeek.o + .text.xAreQueuePeekTasksStillRunning + 0x000027b6 0x4c ./bin/QPeek.o + 0x000027b6 xAreQueuePeekTasksStillRunning + *fill* 0x00002802 0x2 00 + .text 0x00002804 0x0 ./bin/recmutex.o + .text.vStartRecursiveMutexTasks + 0x00002804 0xae ./bin/recmutex.o + 0x00002804 vStartRecursiveMutexTasks + .text.prvRecursiveMutexControllingTask + 0x000028b2 0xe6 ./bin/recmutex.o + .text.prvRecursiveMutexBlockingTask + 0x00002998 0xa2 ./bin/recmutex.o + .text.prvRecursiveMutexPollingTask + 0x00002a3a 0x80 ./bin/recmutex.o + .text.xAreRecursiveMutexTasksStillRunning + 0x00002aba 0x96 ./bin/recmutex.o + 0x00002aba xAreRecursiveMutexTasksStillRunning + .text 0x00002b50 0x0 ./bin/port.o + .text.pxPortInitialiseStack + 0x00002b50 0xa ./bin/port.o + 0x00002b50 pxPortInitialiseStack + .text.xPortStartScheduler + 0x00002b5a 0xe ./bin/port.o + 0x00002b5a xPortStartScheduler + .text.vPortEndScheduler + 0x00002b68 0x8 ./bin/port.o + 0x00002b68 vPortEndScheduler + .text.vPortEnterCritical + 0x00002b70 0x16 ./bin/port.o + 0x00002b70 vPortEnterCritical + .text.vPortExitCritical + 0x00002b86 0x16 ./bin/port.o + 0x00002b86 vPortExitCritical + .text.uxPortSetInterruptMaskFromISR + 0x00002b9c 0xa ./bin/port.o + 0x00002b9c uxPortSetInterruptMaskFromISR + .text.vPortClearInterruptMaskFromISR + 0x00002ba6 0x8 ./bin/port.o + 0x00002ba6 vPortClearInterruptMaskFromISR + *fill* 0x00002bae 0x2 00 + .text 0x00002bb0 0x0 ./bin/list.o + .text.vListInitialise + 0x00002bb0 0x42 ./bin/list.o + 0x00002bb0 vListInitialise + .text.vListInitialiseItem + 0x00002bf2 0x10 ./bin/list.o + 0x00002bf2 vListInitialiseItem + .text.vListInsertEnd + 0x00002c02 0x72 ./bin/list.o + 0x00002c02 vListInsertEnd + .text.vListInsert + 0x00002c74 0x98 ./bin/list.o + 0x00002c74 vListInsert + .text.vListRemove + 0x00002d0c 0x72 ./bin/list.o + 0x00002d0c vListRemove + *fill* 0x00002d7e 0x2 00 + .text 0x00002d80 0x0 ./bin/tasks.o + .text.xTaskCreate + 0x00002d80 0x198 ./bin/tasks.o + 0x00002d80 xTaskCreate + .text.vTaskDelete + 0x00002f18 0xa2 ./bin/tasks.o + 0x00002f18 vTaskDelete + .text.vTaskDelayUntil + 0x00002fba 0xe8 ./bin/tasks.o + 0x00002fba vTaskDelayUntil + .text.vTaskDelay + 0x000030a2 0x94 ./bin/tasks.o + 0x000030a2 vTaskDelay + .text.uxTaskPriorityGet + 0x00003136 0x44 ./bin/tasks.o + 0x00003136 uxTaskPriorityGet + .text.vTaskPrioritySet + 0x0000317a 0x142 ./bin/tasks.o + 0x0000317a vTaskPrioritySet + .text.vTaskSuspend + 0x000032bc 0x8c ./bin/tasks.o + 0x000032bc vTaskSuspend + .text.xTaskIsTaskSuspended + 0x00003348 0x48 ./bin/tasks.o + 0x00003348 xTaskIsTaskSuspended + .text.vTaskResume + 0x00003390 0xa0 ./bin/tasks.o + 0x00003390 vTaskResume + .text.xTaskResumeFromISR + 0x00003430 0xd4 ./bin/tasks.o + 0x00003430 xTaskResumeFromISR + .text.vTaskStartScheduler + 0x00003504 0x4e ./bin/tasks.o + 0x00003504 vTaskStartScheduler + .text.vTaskEndScheduler + 0x00003552 0x14 ./bin/tasks.o + 0x00003552 vTaskEndScheduler + .text.vTaskSuspendAll + 0x00003566 0x22 ./bin/tasks.o + 0x00003566 vTaskSuspendAll + .text.xTaskResumeAll + 0x00003588 0x152 ./bin/tasks.o + 0x00003588 xTaskResumeAll + .text.xTaskGetTickCount + 0x000036da 0x22 ./bin/tasks.o + 0x000036da xTaskGetTickCount + .text.uxTaskGetNumberOfTasks + 0x000036fc 0x22 ./bin/tasks.o + 0x000036fc uxTaskGetNumberOfTasks + .text.vTaskList + 0x0000371e 0x140 ./bin/tasks.o + 0x0000371e vTaskList + .text.vTaskStartTrace + 0x0000385e 0x42 ./bin/tasks.o + 0x0000385e vTaskStartTrace + .text.ulTaskEndTrace + 0x000038a0 0x3c ./bin/tasks.o + 0x000038a0 ulTaskEndTrace + .text.vTaskIncrementTick + 0x000038dc 0x132 ./bin/tasks.o + 0x000038dc vTaskIncrementTick + .text.vTaskSwitchContext + 0x00003a0e 0x1b6 ./bin/tasks.o + 0x00003a0e vTaskSwitchContext + .text.vTaskPlaceOnEventList + 0x00003bc4 0xb4 ./bin/tasks.o + 0x00003bc4 vTaskPlaceOnEventList + .text.xTaskRemoveFromEventList + 0x00003c78 0xea ./bin/tasks.o + 0x00003c78 xTaskRemoveFromEventList + .text.vTaskSetTimeOutState + 0x00003d62 0x22 ./bin/tasks.o + 0x00003d62 vTaskSetTimeOutState + .text.xTaskCheckForTimeOut + 0x00003d84 0xb4 ./bin/tasks.o + 0x00003d84 xTaskCheckForTimeOut + .text.vTaskMissedYield + 0x00003e38 0x10 ./bin/tasks.o + 0x00003e38 vTaskMissedYield + .text.prvIdleTask + 0x00003e48 0xc ./bin/tasks.o + .text.prvInitialiseTCBVariables + 0x00003e54 0x9c ./bin/tasks.o + .text.prvInitialiseTaskLists + 0x00003ef0 0x98 ./bin/tasks.o + .text.prvCheckTasksWaitingTermination + 0x00003f88 0xb6 ./bin/tasks.o + .text.prvAllocateTCBAndStack + 0x0000403e 0x86 ./bin/tasks.o + .text.prvListTaskWithinSingleList + 0x000040c4 0x134 ./bin/tasks.o + .text.usTaskCheckFreeStackSpace + 0x000041f8 0x46 ./bin/tasks.o + 0x000041f8 usTaskCheckFreeStackSpace + .text.uxTaskGetStackHighWaterMark + 0x0000423e 0x44 ./bin/tasks.o + 0x0000423e uxTaskGetStackHighWaterMark + .text.prvDeleteTCB + 0x00004282 0x26 ./bin/tasks.o + .text.xTaskGetCurrentTaskHandle + 0x000042a8 0x22 ./bin/tasks.o + 0x000042a8 xTaskGetCurrentTaskHandle + .text.vTaskPriorityInherit + 0x000042ca 0xe2 ./bin/tasks.o + 0x000042ca vTaskPriorityInherit + .text.vTaskPriorityDisinherit + 0x000043ac 0xac ./bin/tasks.o + 0x000043ac vTaskPriorityDisinherit + .text 0x00004458 0x0 ./bin/queue.o + .text.xQueueCreate + 0x00004458 0x11e ./bin/queue.o + 0x00004458 xQueueCreate + .text.xQueueCreateMutex + 0x00004576 0xae ./bin/queue.o + 0x00004576 xQueueCreateMutex + .text.xQueueGiveMutexRecursive + 0x00004624 0x64 ./bin/queue.o + 0x00004624 xQueueGiveMutexRecursive + .text.xQueueTakeMutexRecursive + 0x00004688 0x74 ./bin/queue.o + 0x00004688 xQueueTakeMutexRecursive + .text.xQueueGenericSend + 0x000046fc 0x19a ./bin/queue.o + 0x000046fc xQueueGenericSend + .text.xQueueGenericSendFromISR + 0x00004896 0xaa ./bin/queue.o + 0x00004896 xQueueGenericSendFromISR + .text.xQueueGenericReceive + 0x00004940 0x21c ./bin/queue.o + 0x00004940 xQueueGenericReceive + .text.xQueueReceiveFromISR + 0x00004b5c 0xac ./bin/queue.o + 0x00004b5c xQueueReceiveFromISR + .text.uxQueueMessagesWaiting + 0x00004c08 0x22 ./bin/queue.o + 0x00004c08 uxQueueMessagesWaiting + .text.uxQueueMessagesWaitingFromISR + 0x00004c2a 0x16 ./bin/queue.o + 0x00004c2a uxQueueMessagesWaitingFromISR + .text.vQueueDelete + 0x00004c40 0x30 ./bin/queue.o + 0x00004c40 vQueueDelete + .text.prvCopyDataToQueue + 0x00004c70 0x132 ./bin/queue.o + .text.prvCopyDataFromQueue + 0x00004da2 0x72 ./bin/queue.o + .text.prvUnlockQueue + 0x00004e14 0xc8 ./bin/queue.o + .text.prvIsQueueEmpty + 0x00004edc 0x36 ./bin/queue.o + .text.xQueueIsQueueEmptyFromISR + 0x00004f12 0x2a ./bin/queue.o + 0x00004f12 xQueueIsQueueEmptyFromISR + .text.prvIsQueueFull + 0x00004f3c 0x3e ./bin/queue.o + .text.xQueueIsQueueFullFromISR + 0x00004f7a 0x32 ./bin/queue.o + 0x00004f7a xQueueIsQueueFullFromISR + .text.vQueueAddToRegistry + 0x00004fac 0x58 ./bin/queue.o + 0x00004fac vQueueAddToRegistry + .text.vQueueUnregisterQueue + 0x00005004 0x42 ./bin/queue.o + *fill* 0x00005046 0x2 00 + .text 0x00005048 0x0 ./bin/heap_2.o + .text.pvPortMalloc + 0x00005048 0x1be ./bin/heap_2.o + 0x00005048 pvPortMalloc + .text.vPortFree + 0x00005206 0x7a ./bin/heap_2.o + 0x00005206 vPortFree + .text 0x00005280 0x0 ./bin/FreeRTOS_Timer.o + .text.vApplicationSetupInterrupts + 0x00005280 0x76 ./bin/FreeRTOS_Timer.o + .text.__cs3_isr_interrupt_127 + 0x000052f6 0x24 ./bin/FreeRTOS_Timer.o + 0x000052f6 __cs3_isr_interrupt_127 + .text.__cs3_isr_interrupt_119 + 0x0000531a 0x3a ./bin/FreeRTOS_Timer.o + 0x0000531a __cs3_isr_interrupt_119 + .text 0x00005354 0x18 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-atexit.o) + 0x00005354 atexit + .text 0x0000536c 0x32 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-exit.o) + 0x0000536c exit + *fill* 0x0000539e 0x2 00 + .text 0x000053a0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-impure.o) + .text 0x000053a0 0x72 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memcmp.o) + 0x000053a0 memcmp + *fill* 0x00005412 0x2 00 + .text 0x00005414 0x70 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memcpy.o) + 0x00005414 memcpy + .text 0x00005484 0x6c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memset.o) + 0x00005484 memset + .text 0x000054f0 0xba c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-sprintf.o) + 0x0000554e _sprintf_r + 0x000054f0 sprintf + *fill* 0x000055aa 0x2 00 + .text 0x000055ac 0x7c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strcat.o) + 0x000055ac strcat + .text 0x00005628 0x22 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strcpy.o) + 0x00005628 strcpy + *fill* 0x0000564a 0x2 00 + .text 0x0000564c 0x1a c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strlen.o) + 0x0000564c strlen + *fill* 0x00005666 0x2 00 + .text 0x00005668 0x8e c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strncpy.o) + 0x00005668 strncpy + *fill* 0x000056f6 0x2 00 + .text 0x000056f8 0x1cd4 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-vfprintf.o) + 0x0000573c _vfprintf_r + 0x000073ae vfprintf + .text 0x000073cc 0x13e c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-wsetup.o) + 0x000073cc __swsetup_r + *fill* 0x0000750a 0x2 00 + .text 0x0000750c 0xe8 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-__atexit.o) + 0x0000750c __register_exitproc + .text 0x000075f4 0x10e c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-__call_atexit.o) + 0x000075f4 __call_exitprocs + *fill* 0x00007702 0x2 00 + .text 0x00007704 0x15b4 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-dtoa.o) + 0x0000789e _dtoa_r + .text 0x00008cb8 0x198 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fflush.o) + 0x00008e1e fflush + 0x00008cb8 _fflush_r + .text 0x00008e50 0x25e c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-findfp.o) + 0x00008eaa __sinit + 0x00008f62 __sfmoreglue + 0x00008f50 _cleanup + 0x00008f36 _cleanup_r + 0x00008fd0 __sfp + *fill* 0x000090ae 0x2 00 + .text 0x000090b0 0x42 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fini.o) + 0x000090b0 __libc_fini_array + *fill* 0x000090f2 0x2 00 + .text 0x000090f4 0x422 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-freer.o) + 0x000091e4 _free_r + 0x000090f4 _malloc_trim_r + *fill* 0x00009516 0x2 00 + .text 0x00009518 0x418 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fvwrite.o) + 0x00009518 __sfvwrite_r + .text 0x00009930 0xe4 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fwalk.o) + 0x00009930 _fwalk + 0x000099a0 _fwalk_reent + .text 0x00009a14 0xa6 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-locale.o) + 0x00009a42 _setlocale_r + 0x00009a14 __locale_charset + 0x00009a22 _localeconv_r + 0x00009aa2 setlocale + 0x00009a30 localeconv + *fill* 0x00009aba 0x2 00 + .text 0x00009abc 0x174 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-makebuf.o) + 0x00009abc __smakebuf_r + .text 0x00009c30 0x79a c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-mallocr.o) + 0x00009c30 _malloc_r + *fill* 0x0000a3ca 0x2 00 + .text 0x0000a3cc 0xd2 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memchr.o) + 0x0000a3cc memchr + *fill* 0x0000a49e 0x2 00 + .text 0x0000a4a0 0xb6 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memmove.o) + 0x0000a4a0 memmove + *fill* 0x0000a556 0x2 00 + .text 0x0000a558 0x10 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-mlock.o) + 0x0000a560 __malloc_unlock + 0x0000a558 __malloc_lock + .text 0x0000a568 0xc32 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-mprec.o) + 0x0000a8e2 _mprec_log10 + 0x0000a998 __any_on + 0x0000aa04 _Balloc + 0x0000a850 __ratio + 0x0000af10 __i2b + 0x0000a760 __b2d + 0x0000b0c4 __s2b + 0x0000a680 __mcmp + 0x0000a590 __hi0bits + 0x0000aff6 __pow5mult + 0x0000acf4 __lshift + 0x0000ada2 __multiply + 0x0000aaa0 __d2b + 0x0000a954 __copybits + 0x0000a6de __ulp + 0x0000abb4 __mdiff + 0x0000a5f4 __lo0bits + 0x0000af32 __multadd + 0x0000a568 _Bfree + *fill* 0x0000b19a 0x2 00 + .text 0x0000b19c 0x502 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-reallocr.o) + 0x0000b19c _realloc_r + *fill* 0x0000b69e 0x2 00 + .text 0x0000b6a0 0x42 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-s_isinfd.o) + 0x0000b6a0 __isinfd + *fill* 0x0000b6e2 0x2 00 + .text 0x0000b6e4 0x34 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-s_isnand.o) + 0x0000b6e4 __isnand + .text 0x0000b718 0x32 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-sbrkr.o) + 0x0000b718 _sbrk_r + *fill* 0x0000b74a 0x2 00 + .text 0x0000b74c 0x162 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-stdio.o) + 0x0000b764 __sseek + 0x0000b85e __sread + 0x0000b74c __sclose + 0x0000b7c4 __swrite + *fill* 0x0000b8ae 0x2 00 + .text 0x0000b8b0 0x70 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strcmp.o) + 0x0000b8b0 strcmp + .text 0x0000b920 0x3e c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-writer.o) + 0x0000b920 _write_r + *fill* 0x0000b95e 0x2 00 + .text 0x0000b960 0x92 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-callocr.o) + 0x0000b960 _calloc_r + *fill* 0x0000b9f2 0x2 00 + .text 0x0000b9f4 0x32 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-closer.o) + 0x0000b9f4 _close_r + *fill* 0x0000ba26 0x2 00 + .text 0x0000ba28 0xf6 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fclose.o) + 0x0000ba28 _fclose_r + 0x0000bb08 fclose + *fill* 0x0000bb1e 0x2 00 + .text 0x0000bb20 0x36 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fstatr.o) + 0x0000bb20 _fstat_r + *fill* 0x0000bb56 0x2 00 + .text 0x0000bb58 0x32 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-isattyr.o) + 0x0000bb58 _isatty_r + *fill* 0x0000bb8a 0x2 00 + .text 0x0000bb8c 0x3e c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-lseekr.o) + 0x0000bb8c _lseek_r + *fill* 0x0000bbca 0x2 00 + .text 0x0000bbcc 0x3e c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-readr.o) + 0x0000bbcc _read_r + *fill* 0x0000bc0a 0x2 00 + .text 0x0000bc0c 0x170 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-reent.o) + 0x0000bc76 cleanup_glue + 0x0000bcaa _reclaim_reent + 0x0000bc0c _wrapup_reent + .text 0x0000bd7c 0xba0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_double.o) + 0x0000c87a __cmpdf2 + 0x0000bddc __adddf3 + 0x0000c744 __negdf2 + 0x0000c454 __divdf3 + 0x0000c7a2 __cmpdf2_internal + 0x0000c278 __muldf3 + 0x0000bdd6 __subdf3 + .text 0x0000c91c 0x74 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_floatex.o) + 0x0000c928 $_exception_handler + 0x0000c91c __clear_sticky_bit + .text 0x0000c990 0x22 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_eqdf2.o) + 0x0000c990 __eqdf2 + *fill* 0x0000c9b2 0x2 00 + .text 0x0000c9b4 0x22 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_nedf2.o) + 0x0000c9b4 __nedf2 + *fill* 0x0000c9d6 0x2 00 + .text 0x0000c9d8 0x22 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_gtdf2.o) + 0x0000c9d8 __gtdf2 + *fill* 0x0000c9fa 0x2 00 + .text 0x0000c9fc 0x22 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_gedf2.o) + 0x0000c9fc __gedf2 + *fill* 0x0000ca1e 0x2 00 + .text 0x0000ca20 0x22 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_ltdf2.o) + 0x0000ca20 __ltdf2 + *fill* 0x0000ca42 0x2 00 + .text 0x0000ca44 0x3ae c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_udivdi3.o) + 0x0000ca44 __udivdi3 + *fill* 0x0000cdf2 0x2 00 + .text 0x0000cdf4 0x38a c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_umoddi3.o) + 0x0000cdf4 __umoddi3 + *fill* 0x0000d17e 0x2 00 + .text 0x0000d180 0x480 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(fpgnulib.o) + 0x0000d5e6 __fixsfsi + 0x0000d2e8 __floatsidf + 0x0000d3be __extendsfdf2 + 0x0000d276 __floatunsidf + 0x0000d568 __fixdfsi + 0x0000d3a4 __floatsisf + 0x0000d45a __truncdfsf2 + 0x0000d180 __unordsf2 + 0x0000d38a __floatunsisf + 0x0000d1e2 __unorddf2 + .text 0x0000d600 0x94 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3.a(start_c.o) + 0x0000d600 __cs3_start_c + .text 0x0000d694 0x20 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3.a(m5282evb-reset.o) + .text 0x0000d6b4 0x16 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-_exit.o) + 0x0000d6b4 _exit + *fill* 0x0000d6ca 0x2 00 + .text 0x0000d6cc 0x40 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-close.o) + 0x0000d6cc close + .text 0x0000d70c 0x54 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-fstat.o) + 0x0000d70c fstat + .text 0x0000d760 0x40 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-isatty.o) + 0x0000d760 isatty + .text 0x0000d7a0 0x60 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-lseek.o) + 0x0000d7a0 lseek + .text 0x0000d800 0x4c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-read.o) + 0x0000d800 read + .text 0x0000d84c 0x54 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-sbrk.o) + 0x0000d84c sbrk + .text 0x0000d8a0 0x4c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-write.o) + 0x0000d8a0 write + .text 0x0000d8ec 0x2b2 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-gdb.o) + 0x0000d8ec __cs3_hosted_to_gdb_mode_t + 0x0000d9d6 __cs3_hosted_from_gdb_stat + 0x0000d9b0 __cs3_hosted_to_gdb_lseek_flags + 0x0000da32 __cs3_hosted_from_gdb_timeval + 0x0000d96a __cs3_hosted_to_gdb_open_flags + 0x0000da4a __cs3_hosted_from_gdb_errno + *fill* 0x0000db9e 0x2 00 + .text 0x0000dba0 0x14 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(start.o) + 0x0000dba0 _start + .text 0x0000dbb4 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire-vector.o) + .text 0x0000dbb4 0xa c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_other_interrupt.o) + 0x0000dbb4 __cs3_isr_interrupt_181 + 0x0000dbb4 __cs3_isr_interrupt_194 + 0x0000dbb4 __cs3_isr_interrupt_74 + 0x0000dbb4 __cs3_isr_interrupt_157 + 0x0000dbb4 __cs3_isr_interrupt_133 + 0x0000dbb4 __cs3_isr_interrupt_221 + 0x0000dbb4 __cs3_isr_interrupt_145 + 0x0000dbb4 __cs3_isr_interrupt_100 + 0x0000dbb4 __cs3_isr_interrupt_97 + 0x0000dbb4 __cs3_isr_interrupt_250 + 0x0000dbb4 __cs3_isr_interrupt_114 + 0x0000dbb4 __cs3_isr_interrupt_152 + 0x0000dbb4 __cs3_isr_interrupt_82 + 0x0000dbb4 __cs3_isr_interrupt_237 + 0x0000dbb4 __cs3_isr_interrupt_143 + 0x0000dbb4 __cs3_isr_interrupt_148 + 0x0000dbb4 __cs3_isr_interrupt_107 + 0x0000dbb4 __cs3_isr_interrupt_103 + 0x0000dbb4 __cs3_isr_interrupt_219 + 0x0000dbb4 __cs3_isr_interrupt_87 + 0x0000dbb4 __cs3_isr_interrupt_174 + 0x0000dbb4 __cs3_isr_interrupt_220 + 0x0000dbb4 __cs3_isr_interrupt_254 + 0x0000dbb4 __cs3_isr_interrupt_189 + 0x0000dbb4 __cs3_isr_interrupt_233 + 0x0000dbb4 __cs3_isr_interrupt_238 + 0x0000dbb4 __cs3_isr_interrupt_227 + 0x0000dbb4 __cs3_isr_interrupt_162 + 0x0000dbb4 __cs3_isr_interrupt_173 + 0x0000dbb4 __cs3_isr_interrupt_208 + 0x0000dbb4 __cs3_isr_interrupt_244 + 0x0000dbb4 __cs3_isr_interrupt_139 + 0x0000dbb4 __cs3_isr_interrupt_149 + 0x0000dbb4 __cs3_isr_interrupt_201 + 0x0000dbb4 __cs3_isr_interrupt_247 + 0x0000dbb4 __cs3_isr_interrupt_104 + 0x0000dbb4 __cs3_isr_interrupt_155 + 0x0000dbb4 __cs3_isr_interrupt_95 + 0x0000dbb4 __cs3_isr_interrupt_204 + 0x0000dbb4 __cs3_isr_interrupt_179 + 0x0000dbb4 __cs3_isr_interrupt_112 + 0x0000dbb4 __cs3_isr_interrupt_80 + 0x0000dbb4 __cs3_isr_interrupt_184 + 0x0000dbb4 __cs3_isr_interrupt_242 + 0x0000dbb4 __cs3_isr_interrupt_68 + 0x0000dbb4 __cs3_isr_interrupt_84 + 0x0000dbb4 __cs3_isr_interrupt_108 + 0x0000dbb4 __cs3_isr_interrupt_77 + 0x0000dbb4 __cs3_isr_interrupt_30 + 0x0000dbb4 __cs3_isr_interrupt_158 + 0x0000dbb4 __cs3_isr_interrupt_215 + 0x0000dbb4 __cs3_isr_interrupt_91 + 0x0000dbb4 __cs3_isr_interrupt_156 + 0x0000dbb4 __cs3_isr_interrupt_115 + 0x0000dbb4 __cs3_isr_interrupt_113 + 0x0000dbb4 __cs3_isr_interrupt_125 + 0x0000dbb4 __cs3_isr_interrupt_79 + 0x0000dbb4 __cs3_isr_interrupt_27 + 0x0000dbb4 __cs3_isr_interrupt_146 + 0x0000dbb4 __cs3_isr_interrupt_131 + 0x0000dbb4 __cs3_isr_interrupt_101 + 0x0000dbb4 __cs3_isr_interrupt_65 + 0x0000dbb4 __cs3_isr_interrupt_192 + 0x0000dbb4 __cs3_isr_interrupt_141 + 0x0000dbb4 __cs3_isr_interrupt_150 + 0x0000dbb4 __cs3_isr_interrupt_231 + 0x0000dbb4 __cs3_isr_interrupt_154 + 0x0000dbb4 __cs3_isr_interrupt_111 + 0x0000dbb4 __cs3_isr_interrupt_248 + 0x0000dbb4 __cs3_isr_interrupt_191 + 0x0000dbb4 __cs3_isr_interrupt_178 + 0x0000dbb4 __cs3_isr_interrupt_205 + 0x0000dbb4 __cs3_isr_interrupt_17 + 0x0000dbb4 __cs3_isr_interrupt_140 + 0x0000dbb4 __cs3_isr_interrupt_6 + 0x0000dbb4 __cs3_isr_interrupt_226 + 0x0000dbb4 __cs3_isr_interrupt_252 + 0x0000dbb4 __cs3_isr_interrupt_209 + 0x0000dbb4 __cs3_isr_interrupt_202 + 0x0000dbb4 __cs3_isr_interrupt_245 + 0x0000dbb4 __cs3_isr_interrupt_19 + 0x0000dbb4 __cs3_isr_interrupt_171 + 0x0000dbb4 __cs3_isr_interrupt_234 + 0x0000dbb4 __cs3_isr_interrupt_232 + 0x0000dbb4 __cs3_isr_interrupt_239 + 0x0000dbb4 __cs3_isr_interrupt_21 + 0x0000dbb4 __cs3_isr_interrupt_62 + 0x0000dbb4 __cs3_isr_interrupt_98 + 0x0000dbb4 __cs3_isr_interrupt_240 + 0x0000dbb4 __cs3_isr_interrupt_106 + 0x0000dbb4 __cs3_isr_interrupt_109 + 0x0000dbb4 __cs3_isr_interrupt_190 + 0x0000dbb4 __cs3_isr_interrupt_193 + 0x0000dbb4 __cs3_isr_interrupt_57 + 0x0000dbb4 __cs3_isr_interrupt_168 + 0x0000dbb4 __cs3_isr_interrupt_153 + 0x0000dbb4 __cs3_isr_interrupt_81 + 0x0000dbb4 __cs3_isr_interrupt_110 + 0x0000dbb4 __cs3_isr_interrupt_163 + 0x0000dbb4 __cs3_isr_interrupt_123 + 0x0000dbb4 __cs3_isr_interrupt_185 + 0x0000dbb4 __cs3_isr_interrupt_70 + 0x0000dbb4 __cs3_isr_interrupt_136 + 0x0000dbb4 __cs3_isr_interrupt_134 + 0x0000dbb4 __cs3_isr_interrupt_230 + 0x0000dbb4 __cs3_isr_interrupt_94 + 0x0000dbb4 __cs3_isr_interrupt_85 + 0x0000dbb4 __cs3_isr_interrupt_186 + 0x0000dbb4 __cs3_isr_interrupt_58 + 0x0000dbb4 __cs3_isr_interrupt_196 + 0x0000dbb4 __cs3_isr_interrupt_132 + 0x0000dbb4 __cs3_isr_interrupt_29 + 0x0000dbb4 __cs3_isr_interrupt_15 + 0x0000dbb4 __cs3_isr_interrupt_224 + 0x0000dbb4 __cs3_isr_interrupt_207 + 0x0000dbb4 __cs3_isr_interrupt_182 + 0x0000dbb4 __cs3_isr_interrupt_255 + 0x0000dbb4 __cs3_isr_interrupt_217 + 0x0000dbb4 __cs3_isr_interrupt_92 + 0x0000dbb4 __cs3_isr_interrupt_128 + 0x0000dbb4 __cs3_isr_interrupt_212 + 0x0000dbb4 __cs3_isr_interrupt_210 + 0x0000dbb4 __cs3_isr_interrupt_188 + 0x0000dbb4 __cs3_isr_interrupt_117 + 0x0000dbb4 __cs3_isr_interrupt_144 + 0x0000dbb4 __cs3_isr_interrupt_175 + 0x0000dbb4 __cs3_isr_interrupt_172 + 0x0000dbb4 __cs3_isr_interrupt_83 + 0x0000dbb4 __cs3_isr_interrupt_253 + 0x0000dbb4 __cs3_isr_interrupt_73 + 0x0000dbb4 __cs3_isr_interrupt_78 + 0x0000dbb4 __cs3_isr_interrupt_75 + 0x0000dbb4 __cs3_isr_interrupt_228 + 0x0000dbb4 __cs3_isr_interrupt_169 + 0x0000dbb4 __cs3_isr_interrupt_7 + 0x0000dbb4 __cs3_isr_interrupt_124 + 0x0000dbb4 __cs3_isr_interrupt_170 + 0x0000dbb4 __cs3_isr_interrupt_22 + 0x0000dbb4 __cs3_isr_interrupt_63 + 0x0000dbb4 __cs3_isr_interrupt_183 + 0x0000dbb4 __cs3_isr_interrupt_161 + 0x0000dbb4 __cs3_isr_interrupt_137 + 0x0000dbb4 __cs3_isr_interrupt_31 + 0x0000dbb4 __cs3_isr_interrupt_195 + 0x0000dbb4 __cs3_isr_interrupt_229 + 0x0000dbb4 __cs3_isr_interrupt_243 + 0x0000dbb4 __cs3_isr_interrupt_200 + 0x0000dbb4 __cs3_isr_interrupt_89 + 0x0000dbb4 __cs3_isr_interrupt_88 + 0x0000dbb4 __cs3_isr_interrupt_187 + 0x0000dbb4 __cs3_isr_interrupt_236 + 0x0000dbb4 __cs3_isr_interrupt_151 + 0x0000dbb4 __cs3_isr_interrupt_105 + 0x0000dbb4 __cs3_isr_interrupt_199 + 0x0000dbb4 __cs3_isr_interrupt_96 + 0x0000dbb4 __cs3_isr_interrupt_166 + 0x0000dbb4 __cs3_isr_interrupt_121 + 0x0000dbb4 __cs3_isr_interrupt_71 + 0x0000dbb4 __cs3_isr_interrupt_20 + 0x0000dbb4 __cs3_isr_interrupt_218 + 0x0000dbb4 __cs3_isr_interrupt_213 + 0x0000dbb4 __cs3_isr_interrupt_86 + 0x0000dbb4 __cs3_isr_interrupt_138 + 0x0000dbb4 __cs3_isr_interrupt_180 + 0x0000dbb4 __cs3_isr_interrupt_225 + 0x0000dbb4 __cs3_isr_interrupt_59 + 0x0000dbb4 __cs3_isr_interrupt_56 + 0x0000dbb4 __cs3_isr_interrupt_249 + 0x0000dbb4 __cs3_isr_interrupt_93 + 0x0000dbb4 __cs3_isr_interrupt_167 + 0x0000dbb4 __cs3_isr_interrupt_206 + 0x0000dbb4 __cs3_isr_interrupt_122 + 0x0000dbb4 __cs3_isr_interrupt_147 + 0x0000dbb4 __cs3_isr_interrupt_25 + 0x0000dbb4 __cs3_isr_interrupt_159 + 0x0000dbb4 __cs3_isr_interrupt_102 + 0x0000dbb4 __cs3_isr_interrupt_142 + 0x0000dbb4 __cs3_isr_interrupt_16 + 0x0000dbb4 __cs3_isr_interrupt_99 + 0x0000dbb4 __cs3_isr_interrupt_176 + 0x0000dbb4 __cs3_isr_interrupt_135 + 0x0000dbb4 __cs3_isr_interrupt_130 + 0x0000dbb4 __cs3_isr_interrupt_60 + 0x0000dbb4 __cs3_isr_interrupt_116 + 0x0000dbb4 __cs3_isr_interrupt_222 + 0x0000dbb4 __cs3_isr_interrupt_28 + 0x0000dbb4 __cs3_isr_interrupt_177 + 0x0000dbb4 __cs3_isr_interrupt_165 + 0x0000dbb4 __cs3_isr_interrupt_160 + 0x0000dbb4 __cs3_isr_interrupt_120 + 0x0000dbb4 __cs3_isr_interrupt_67 + 0x0000dbb4 __cs3_isr_interrupt_198 + 0x0000dbb4 __cs3_isr_interrupt_66 + 0x0000dbb4 __cs3_isr_interrupt_129 + 0x0000dbb4 __cs3_isr_interrupt_76 + 0x0000dbb4 __cs3_isr_interrupt_214 + 0x0000dbb4 __cs3_isr_interrupt_69 + 0x0000dbb4 __cs3_isr_interrupt_26 + 0x0000dbb4 __cs3_isr_other_interrupt + 0x0000dbb4 __cs3_isr_interrupt_90 + 0x0000dbb4 __cs3_isr_interrupt_18 + 0x0000dbb4 __cs3_isr_interrupt_241 + 0x0000dbb4 __cs3_isr_interrupt_235 + 0x0000dbb4 __cs3_isr_interrupt_216 + 0x0000dbb4 __cs3_isr_interrupt_211 + 0x0000dbb4 __cs3_isr_interrupt_246 + 0x0000dbb4 __cs3_isr_interrupt_118 + 0x0000dbb4 __cs3_isr_interrupt_223 + 0x0000dbb4 __cs3_isr_interrupt_203 + 0x0000dbb4 __cs3_isr_interrupt_126 + 0x0000dbb4 __cs3_isr_interrupt_197 + 0x0000dbb4 __cs3_isr_interrupt_23 + 0x0000dbb4 __cs3_isr_interrupt_64 + 0x0000dbb4 __cs3_isr_interrupt_251 + 0x0000dbb4 __cs3_isr_interrupt_164 + 0x0000dbb4 __cs3_isr_interrupt_72 + *fill* 0x0000dbbe 0x2 00 + .text 0x0000dbc0 0xa c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_unimplemented_opcode.o) + 0x0000dbc0 __cs3_isr_unimplemented_opcode + 0x0000dbc0 __cs3_isr_unimplemented_line_a_opcode + 0x0000dbc0 __cs3_isr_unimplemented_line_f_opcode + *fill* 0x0000dbca 0x2 00 + .text 0x0000dbcc 0xa c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_breakpoint_debug_interrupt.o) + 0x0000dbcc __cs3_isr_breakpoint_debug_interrupt + 0x0000dbcc __cs3_isr_pc_breakpoint_debug_interrupt + 0x0000dbcc __cs3_isr_non_pc_breakpoint_debug_interrupt + *fill* 0x0000dbd6 0x2 00 + .text 0x0000dbd8 0xa c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_trap_interrupt.o) + 0x0000dbd8 __cs3_isr_trap7 + 0x0000dbd8 __cs3_isr_trap2 + 0x0000dbd8 __cs3_isr_trap14 + 0x0000dbd8 __cs3_isr_trap13 + 0x0000dbd8 __cs3_isr_trap_interrupt + 0x0000dbd8 __cs3_isr_trap8 + 0x0000dbd8 __cs3_isr_trap9 + 0x0000dbd8 __cs3_isr_trap1 + 0x0000dbd8 __cs3_isr_trap4 + 0x0000dbd8 __cs3_isr_trap15 + 0x0000dbd8 __cs3_isr_trap6 + 0x0000dbd8 __cs3_isr_trap10 + 0x0000dbd8 __cs3_isr_trap5 + 0x0000dbd8 __cs3_isr_trap0 + 0x0000dbd8 __cs3_isr_trap3 + 0x0000dbd8 __cs3_isr_trap12 + 0x0000dbd8 __cs3_isr_trap11 + *fill* 0x0000dbe2 0x2 00 + .text 0x0000dbe4 0xa c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_fp_interrupt.o) + 0x0000dbe4 __cs3_isr_fp_divide_by_zero + 0x0000dbe4 __cs3_isr_fp_interrupt + 0x0000dbe4 __cs3_isr_fp_operand_error + 0x0000dbe4 __cs3_isr_fp_inexact_result + 0x0000dbe4 __cs3_isr_fp_input_not_a_number + 0x0000dbe4 __cs3_isr_fp_overflow + 0x0000dbe4 __cs3_isr_fp_input_denormalized_number + 0x0000dbe4 __cs3_isr_fp_branch_unordered + 0x0000dbe4 __cs3_isr_fp_underflow + *fill* 0x0000dbee 0x2 00 + .text 0x0000dbf0 0xa c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_access_error.o) + 0x0000dbf0 __cs3_isr_access_error + *fill* 0x0000dbfa 0x2 00 + .text 0x0000dbfc 0xa c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_address_error.o) + 0x0000dbfc __cs3_isr_address_error + *fill* 0x0000dc06 0x2 00 + .text 0x0000dc08 0xa c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_illegal_instruction.o) + 0x0000dc08 __cs3_isr_illegal_instruction + *fill* 0x0000dc12 0x2 00 + .text 0x0000dc14 0xa c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_divide_by_zero.o) + 0x0000dc14 __cs3_isr_divide_by_zero + *fill* 0x0000dc1e 0x2 00 + .text 0x0000dc20 0xa c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_privilege_violation.o) + 0x0000dc20 __cs3_isr_privilege_violation + *fill* 0x0000dc2a 0x2 00 + .text 0x0000dc2c 0xa c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_trace.o) + 0x0000dc2c __cs3_isr_trace + *fill* 0x0000dc36 0x2 00 + .text 0x0000dc38 0xa c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_format_error.o) + 0x0000dc38 __cs3_isr_format_error + *fill* 0x0000dc42 0x2 00 + .text 0x0000dc44 0xa c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_spurious_interrupt.o) + 0x0000dc44 __cs3_isr_spurious_interrupt + *fill* 0x0000dc4e 0x2 00 + .text 0x0000dc50 0xa c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_unsupported_instruction.o) + 0x0000dc50 __cs3_isr_unsupported_instruction + *fill* 0x0000dc5a 0x2 00 + .text 0x0000dc5c 0xe c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-errno.o) + 0x0000dc5c __errno + *fill* 0x0000dc6a 0x2 00 + .text 0x0000dc6c 0x60 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-init.o) + 0x0000dc6c __libc_init_array + .text 0x0000dccc 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3.a(heap.o) + 0x0000dccc . = ALIGN (0x4) + *crtbegin.o(.jcr) + *(EXCLUDE_FILE(*crtend.o) .jcr) + *crtend.o(.jcr) + 0x0000dccc . = ALIGN (0x4) + *(.gcc_except_table .gcc_except_table.*) + +.eh_frame_hdr + *(.eh_frame_hdr) + +.eh_frame 0x0000dccc 0x6c + *(.eh_frame) + .eh_frame 0x0000dccc 0x40 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_udivdi3.o) + .eh_frame 0x0000dd0c 0x2c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_umoddi3.o) + 0x40 (size before relaxing) + +.rodata 0x0000dd38 0x3d0 + *(.rodata .rodata.* .gnu.linkonce.r.*) + .rodata.ucLEDDefinitions + 0x0000dd38 0x4 ./bin/ParTest.o + .rodata 0x0000dd3c 0x30 ./bin/BlockQ.o + .rodata 0x0000dd6c 0x1f ./bin/blocktim.o + *fill* 0x0000dd8b 0x1 00 + .rodata.uxMaxNumberOfExtraTasksRunning + 0x0000dd8c 0x4 ./bin/death.o + .rodata 0x0000dd90 0x18 ./bin/death.o + .rodata 0x0000dda8 0x8 ./bin/integer.o + .rodata 0x0000ddb0 0x20 ./bin/PollQ.o + .rodata 0x0000ddd0 0x3e ./bin/semtest.o + .rodata 0x0000de0e 0x37 ./bin/GenQTest.o + .rodata 0x0000de45 0x2b ./bin/QPeek.o + .rodata 0x0000de70 0x1f ./bin/recmutex.o + .rodata 0x0000de8f 0x1a ./bin/tasks.o + .rodata.ucExpectedStackBytes.3510 + 0x0000dea9 0x14 ./bin/tasks.o + *fill* 0x0000debd 0x1 00 + .rodata.heapSTRUCT_SIZE + 0x0000debe 0x2 ./bin/heap_2.o + .rodata 0x0000dec0 0x4 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-impure.o) + 0x0000dec0 _global_impure_ptr + .rodata.str1.1 + 0x0000dec4 0x2 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-impure.o) + .rodata.str1.1 + 0x0000dec6 0x55 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-vfprintf.o) + .rodata 0x0000df1b 0x20 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-vfprintf.o) + .rodata.str1.1 + 0x0000df3b 0xd c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-dtoa.o) + 0xf (size before relaxing) + .rodata.str1.1 + 0x0000df48 0xd c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-locale.o) + 0x10 (size before relaxing) + *fill* 0x0000df55 0x1 00 + .rodata 0x0000df56 0x34 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-locale.o) + .rodata 0x0000df8a 0x124 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-mprec.o) + 0x0000e07a __mprec_tinytens + 0x0000df8a __mprec_tens + 0x0000e052 __mprec_bigtens + 0x0000e0b0 . = ALIGN (0x4) + *fill* 0x0000e0ae 0x2 00 + 0x0000e0b0 _init = . + 0x0000e0b0 0x4 LONG 0x4e560000 + *(.init) + 0x0000e0b4 0x2 SHORT 0x4e5e + 0x0000e0b6 0x2 SHORT 0x4e75 + 0x0000e0b8 . = ALIGN (0x4) + 0x0000e0b8 __preinit_array_start = . + *(.preinit_array) + 0x0000e0b8 __preinit_array_end = . + 0x0000e0b8 . = ALIGN (0x4) + 0x0000e0b8 __init_array_start = . + *(SORT(.init_array.*)) + *(.init_array) + 0x0000e0b8 __init_array_end = . + 0x0000e0b8 . = ALIGN (0x4) + 0x0000e0b8 _fini = . + 0x0000e0b8 0x4 LONG 0x4e560000 + *(.fini) + 0x0000e0bc 0x2 SHORT 0x4e5e + 0x0000e0be 0x2 SHORT 0x4e75 + 0x0000e0c0 . = ALIGN (0x4) + 0x0000e0c0 __fini_array_start = . + *(.fini_array) + *(SORT(.fini_array.*)) + 0x0000e0c0 __fini_array_end = . + 0x0000e0c0 . = ALIGN (0x4) + *crtbegin.o(.ctors) + *(EXCLUDE_FILE(*crtend.o) .ctors) + *(SORT(.ctors.*)) + .ctors.65535 0x0000e0c0 0x4 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-__call_atexit.o) + .ctors.65535 0x0000e0c4 0x4 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3.a(m5282evb-reset.o) + *crtend.o(.ctors) + 0x0000e0c8 . = ALIGN (0x4) + *crtbegin.o(.dtors) + *(EXCLUDE_FILE(*crtend.o) .dtors) + *(SORT(.dtors.*)) + *crtend.o(.dtors) + *(.lit) + 0x0000e0c8 . = ALIGN (0x4) + 0x0000e0c8 __cs3_regions = . + 0x0000e0c8 0x4 LONG 0x0 + 0x0000e0cc 0x4 LONG 0x0 __cs3_region_init_ram + 0x0000e0d0 0x4 LONG 0x0 __cs3_region_start_ram + 0x0000e0d4 0x4 LONG 0xe950 __cs3_region_init_size_ram + 0x0000e0d8 0x4 LONG 0x6088 __cs3_region_zero_size_ram + 0x0000e0dc 0x4 LONG 0x0 + 0x0000e0e0 0x4 LONG 0xf0000000 __cs3_region_init_rombar + 0x0000e0e4 0x4 LONG 0xf0000000 __cs3_region_start_rombar + 0x0000e0e8 0x4 LONG 0x0 __cs3_region_init_size_rombar + 0x0000e0ec 0x4 LONG 0x0 __cs3_region_zero_size_rombar + 0x0000e0f0 0x4 LONG 0x0 + 0x0000e0f4 0x4 LONG 0x20000000 __cs3_region_init_rambar + 0x0000e0f8 0x4 LONG 0x20000000 __cs3_region_start_rambar + 0x0000e0fc 0x4 LONG 0x0 __cs3_region_init_size_rambar + 0x0000e100 0x4 LONG 0x0 __cs3_region_zero_size_rambar + 0x0000e104 __cs3_regions_end = . + 0x0000e108 . = ALIGN (0x8) + *fill* 0x0000e104 0x4 00 + 0x0000e108 . = ALIGN (0x8) + 0x0000e108 _etext = . + +.cs3.rom 0xffe00000 0x0 + 0xffe00000 __cs3_region_start_rom = . + *(.cs3.region-head.rom) + *(.rom) + 0xffe00000 . = ALIGN (0x8) + +.cs3.rom.bss 0xffe00000 0x0 + *(.rom.b) + 0xffe00000 . = ALIGN (0x8) + 0x00000000 __cs3_region_end_rom = (__cs3_region_start_rom + 0x200000) + 0x00200000 __cs3_region_size_rom = 0x200000 + 0xffe00000 __cs3_region_init_rom = LOADADDR (.cs3.rom) + 0x00000000 __cs3_region_init_size_rom = (LOADADDR (.cs3.rom.bss) - LOADADDR (.cs3.rom)) + 0x00000000 __cs3_region_zero_size_rom = SIZEOF (.cs3.rom.bss) + +.cs3.rombar 0xf0000000 0x0 + 0xf0000000 __cs3_region_start_rombar = . + *(.cs3.region-head.rombar) + *(.rombar) + 0xf0000000 . = ALIGN (0x8) + +.cs3.rombar.bss + 0xf0000000 0x0 + *(.rombar.b) + 0xf0000000 . = ALIGN (0x8) + 0xf0080000 __cs3_region_end_rombar = (__cs3_region_start_rombar + 0x80000) + 0x00080000 __cs3_region_size_rombar = 0x80000 + 0xf0000000 __cs3_region_init_rombar = LOADADDR (.cs3.rombar) + 0x00000000 __cs3_region_init_size_rombar = (LOADADDR (.cs3.rombar.bss) - LOADADDR (.cs3.rombar)) + 0x00000000 __cs3_region_zero_size_rombar = SIZEOF (.cs3.rombar.bss) + +.cs3.rambar 0x20000000 0x0 + 0x20000000 __cs3_region_start_rambar = . + *(.cs3.region-head.rambar) + *(.rambar) + 0x20000000 . = ALIGN (0x8) + +.cs3.rambar.bss + 0x20000000 0x0 + *(.rambar.b) + 0x20000000 . = ALIGN (0x8) + 0x20010000 __cs3_region_end_rambar = (__cs3_region_start_rambar + 0x10000) + 0x00010000 __cs3_region_size_rambar = 0x10000 + 0x20000000 __cs3_region_init_rambar = LOADADDR (.cs3.rambar) + 0x00000000 __cs3_region_init_size_rambar = (LOADADDR (.cs3.rambar.bss) - LOADADDR (.cs3.rambar)) + 0x00000000 __cs3_region_zero_size_rambar = SIZEOF (.cs3.rambar.bss) + +.cs3.ipsbar 0x40000000 0x0 + 0x40000000 __cs3_region_start_ipsbar = . + *(.cs3.region-head.ipsbar) + 0x40000000 . = ALIGN (0x8) + 0x60000000 __cs3_region_end_ipsbar = (__cs3_region_start_ipsbar + 0x20000000) + 0x20000000 __cs3_region_size_ipsbar = 0x20000000 + +.data 0x0000e108 0x848 + *(.got.plt) + *(.got) + *(.shdata) + *(.data .data.* .gnu.linkonce.d.*) + .data 0x0000e108 0x0 ./bin/portasm.o + .data 0x0000e108 0x0 ./bin/main.o + .data 0x0000e108 0x0 ./bin/ParTest.o + .data 0x0000e108 0x0 ./bin/BlockQ.o + .data 0x0000e108 0x0 ./bin/blocktim.o + .data 0x0000e108 0x0 ./bin/death.o + .data.usLastCreationCount.2182 + 0x0000e108 0x2 ./bin/death.o + *fill* 0x0000e10a 0x2 00 + .data 0x0000e10c 0x0 ./bin/integer.o + .data 0x0000e10c 0x0 ./bin/PollQ.o + .data 0x0000e10c 0x0 ./bin/semtest.o + .data 0x0000e10c 0x0 ./bin/GenQTest.o + .data 0x0000e10c 0x0 ./bin/QPeek.o + .data 0x0000e10c 0x0 ./bin/recmutex.o + .data 0x0000e10c 0x0 ./bin/port.o + .data.ulCriticalNesting + 0x0000e10c 0x4 ./bin/port.o + .data 0x0000e110 0x0 ./bin/list.o + .data 0x0000e110 0x0 ./bin/tasks.o + .data.uxPreviousTask + 0x0000e110 0x4 ./bin/tasks.o + .data 0x0000e114 0x0 ./bin/queue.o + .data 0x0000e114 0x0 ./bin/heap_2.o + .data 0x0000e114 0x0 ./bin/FreeRTOS_Timer.o + .data 0x0000e114 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-atexit.o) + .data 0x0000e114 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-exit.o) + .data 0x0000e114 0x3f6 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-impure.o) + 0x0000e114 _impure_ptr + *fill* 0x0000e50a 0x2 00 + .data 0x0000e50c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memcmp.o) + .data 0x0000e50c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memcpy.o) + .data 0x0000e50c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memset.o) + .data 0x0000e50c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-sprintf.o) + .data 0x0000e50c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strcat.o) + .data 0x0000e50c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strcpy.o) + .data 0x0000e50c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strlen.o) + .data 0x0000e50c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strncpy.o) + .data 0x0000e50c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-vfprintf.o) + .data 0x0000e50c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-wsetup.o) + .data 0x0000e50c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-__atexit.o) + .data 0x0000e50c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-__call_atexit.o) + .data 0x0000e50c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-dtoa.o) + .data 0x0000e50c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fflush.o) + .data 0x0000e50c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-findfp.o) + .data 0x0000e50c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fini.o) + .data 0x0000e50c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-freer.o) + .data 0x0000e50c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fvwrite.o) + .data 0x0000e50c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fwalk.o) + .data 0x0000e50c 0x10 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-locale.o) + 0x0000e50c __mb_cur_max + 0x0000e510 __lc_ctype + .data 0x0000e51c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-makebuf.o) + .data 0x0000e51c 0x410 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-mallocr.o) + 0x0000e928 __malloc_sbrk_base + 0x0000e51c __malloc_av_ + 0x0000e924 __malloc_trim_threshold + .data 0x0000e92c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memchr.o) + .data 0x0000e92c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memmove.o) + .data 0x0000e92c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-mlock.o) + .data 0x0000e92c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-mprec.o) + .data 0x0000e92c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-reallocr.o) + .data 0x0000e92c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-s_isinfd.o) + .data 0x0000e92c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-s_isnand.o) + .data 0x0000e92c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-sbrkr.o) + .data 0x0000e92c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-stdio.o) + .data 0x0000e92c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strcmp.o) + .data 0x0000e92c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-writer.o) + .data 0x0000e92c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-callocr.o) + .data 0x0000e92c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-closer.o) + .data 0x0000e92c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fclose.o) + .data 0x0000e92c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fstatr.o) + .data 0x0000e92c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-isattyr.o) + .data 0x0000e92c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-lseekr.o) + .data 0x0000e92c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-readr.o) + .data 0x0000e92c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-reent.o) + .data 0x0000e92c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_double.o) + .data 0x0000e92c 0x1c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_floatex.o) + 0x0000e92c _fpCCR + .data 0x0000e948 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_eqdf2.o) + .data 0x0000e948 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_nedf2.o) + .data 0x0000e948 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_gtdf2.o) + .data 0x0000e948 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_gedf2.o) + .data 0x0000e948 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_ltdf2.o) + .data 0x0000e948 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_udivdi3.o) + .data 0x0000e948 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_umoddi3.o) + .data 0x0000e948 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(fpgnulib.o) + .data 0x0000e948 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3.a(start_c.o) + .data 0x0000e948 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3.a(m5282evb-reset.o) + .data 0x0000e948 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-_exit.o) + .data 0x0000e948 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-close.o) + .data 0x0000e948 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-fstat.o) + .data 0x0000e948 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-isatty.o) + .data 0x0000e948 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-lseek.o) + .data 0x0000e948 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-read.o) + .data 0x0000e948 0x4 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-sbrk.o) + .data 0x0000e94c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-write.o) + .data 0x0000e94c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-gdb.o) + .data 0x0000e94c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(start.o) + .data 0x0000e94c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire-vector.o) + .data 0x0000e94c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_other_interrupt.o) + .data 0x0000e94c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_unimplemented_opcode.o) + .data 0x0000e94c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_breakpoint_debug_interrupt.o) + .data 0x0000e94c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_trap_interrupt.o) + .data 0x0000e94c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_fp_interrupt.o) + .data 0x0000e94c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_access_error.o) + .data 0x0000e94c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_address_error.o) + .data 0x0000e94c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_illegal_instruction.o) + .data 0x0000e94c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_divide_by_zero.o) + .data 0x0000e94c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_privilege_violation.o) + .data 0x0000e94c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_trace.o) + .data 0x0000e94c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_format_error.o) + .data 0x0000e94c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_spurious_interrupt.o) + .data 0x0000e94c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_unsupported_instruction.o) + .data 0x0000e94c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-errno.o) + .data 0x0000e94c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-init.o) + .data 0x0000e94c 0x4 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3.a(heap.o) + 0x0000e94c __cs3_heap_limit + 0x0000e950 . = ALIGN (0x8) + *(.ram) + 0x0000e950 _edata = . + +.bss 0x0000e950 0x6088 + *(.shbss) + *(.bss .bss.* .gnu.linkonce.b.*) + .bss 0x0000e950 0x0 ./bin/portasm.o + .bss 0x0000e950 0x0 ./bin/main.o + .bss 0x0000e950 0x0 ./bin/ParTest.o + .bss 0x0000e950 0x0 ./bin/BlockQ.o + .bss.sBlockingConsumerCount + 0x0000e950 0x6 ./bin/BlockQ.o + .bss.sBlockingProducerCount + 0x0000e956 0x6 ./bin/BlockQ.o + .bss.sLastBlockingProducerCount.2301 + 0x0000e95c 0x6 ./bin/BlockQ.o + .bss.sLastBlockingConsumerCount.2300 + 0x0000e962 0x6 ./bin/BlockQ.o + .bss 0x0000e968 0x0 ./bin/blocktim.o + .bss.xPrimaryCycles + 0x0000e968 0x4 ./bin/blocktim.o + .bss.xSecondaryCycles + 0x0000e96c 0x4 ./bin/blocktim.o + .bss.xErrorOccurred + 0x0000e970 0x4 ./bin/blocktim.o + .bss.xLastSecondaryCycleCount.1870 + 0x0000e974 0x4 ./bin/blocktim.o + .bss.xLastPrimaryCycleCount.1869 + 0x0000e978 0x4 ./bin/blocktim.o + .bss.xTestQueue + 0x0000e97c 0x4 ./bin/blocktim.o + .bss.xSecondary + 0x0000e980 0x4 ./bin/blocktim.o + .bss.xRunIndicator + 0x0000e984 0x4 ./bin/blocktim.o + .bss 0x0000e988 0x0 ./bin/death.o + .bss.usCreationCount + 0x0000e988 0x2 ./bin/death.o + .bss.uxTasksRunningAtStart + 0x0000e98a 0x4 ./bin/death.o + .bss.uxTasksRunningNow.2184 + 0x0000e98e 0x4 ./bin/death.o + *fill* 0x0000e992 0x2 00 + .bss 0x0000e994 0x0 ./bin/integer.o + .bss.xTaskCheck + 0x0000e994 0x4 ./bin/integer.o + .bss 0x0000e998 0x0 ./bin/PollQ.o + .bss.xPollingConsumerCount + 0x0000e998 0x4 ./bin/PollQ.o + .bss.xPollingProducerCount + 0x0000e99c 0x4 ./bin/PollQ.o + .bss.xPolledQueue.2212 + 0x0000e9a0 0x4 ./bin/PollQ.o + .bss 0x0000e9a4 0x0 ./bin/semtest.o + .bss.sCheckVariables + 0x0000e9a4 0x8 ./bin/semtest.o + .bss.sNextCheckVariable + 0x0000e9ac 0x2 ./bin/semtest.o + .bss.sLastCheckVariables.2311 + 0x0000e9ae 0x8 ./bin/semtest.o + *fill* 0x0000e9b6 0x2 00 + .bss 0x0000e9b8 0x0 ./bin/GenQTest.o + .bss.xErrorDetected + 0x0000e9b8 0x4 ./bin/GenQTest.o + .bss.ulLoopCounter + 0x0000e9bc 0x4 ./bin/GenQTest.o + .bss.ulLoopCounter2 + 0x0000e9c0 0x4 ./bin/GenQTest.o + .bss.ulGuardedVariable + 0x0000e9c4 0x4 ./bin/GenQTest.o + .bss.ulLastLoopCounter2.2406 + 0x0000e9c8 0x4 ./bin/GenQTest.o + .bss.ulLastLoopCounter.2405 + 0x0000e9cc 0x4 ./bin/GenQTest.o + .bss.xHighPriorityMutexTask + 0x0000e9d0 0x4 ./bin/GenQTest.o + .bss.xMediumPriorityMutexTask + 0x0000e9d4 0x4 ./bin/GenQTest.o + .bss 0x0000e9d8 0x0 ./bin/QPeek.o + .bss.xErrorDetected + 0x0000e9d8 0x4 ./bin/QPeek.o + .bss.ulLoopCounter + 0x0000e9dc 0x4 ./bin/QPeek.o + .bss.ulLastLoopCounter.2334 + 0x0000e9e0 0x4 ./bin/QPeek.o + .bss 0x0000e9e4 0x0 ./bin/recmutex.o + .bss.xErrorOccurred + 0x0000e9e4 0x4 ./bin/recmutex.o + .bss.xControllingIsSuspended + 0x0000e9e8 0x4 ./bin/recmutex.o + .bss.xBlockingIsSuspended + 0x0000e9ec 0x4 ./bin/recmutex.o + .bss.uxControllingCycles + 0x0000e9f0 0x4 ./bin/recmutex.o + .bss.uxPollingCycles + 0x0000e9f4 0x4 ./bin/recmutex.o + .bss.uxLastPollingCycles.1795 + 0x0000e9f8 0x4 ./bin/recmutex.o + .bss.uxLastBlockingCycles.1794 + 0x0000e9fc 0x4 ./bin/recmutex.o + .bss.uxLastControllingCycles.1793 + 0x0000ea00 0x4 ./bin/recmutex.o + .bss.xMutex 0x0000ea04 0x4 ./bin/recmutex.o + .bss.uxBlockingCycles + 0x0000ea08 0x4 ./bin/recmutex.o + .bss.xControllingTaskHandle + 0x0000ea0c 0x4 ./bin/recmutex.o + .bss.xBlockingTaskHandle + 0x0000ea10 0x4 ./bin/recmutex.o + .bss 0x0000ea14 0x0 ./bin/port.o + .bss 0x0000ea14 0x0 ./bin/list.o + .bss 0x0000ea14 0x0 ./bin/tasks.o + .bss.pxCurrentTCB + 0x0000ea14 0x4 ./bin/tasks.o + 0x0000ea14 pxCurrentTCB + .bss.uxTasksDeleted + 0x0000ea18 0x4 ./bin/tasks.o + .bss.uxCurrentNumberOfTasks + 0x0000ea1c 0x4 ./bin/tasks.o + .bss.xTickCount + 0x0000ea20 0x4 ./bin/tasks.o + .bss.uxTopUsedPriority + 0x0000ea24 0x4 ./bin/tasks.o + .bss.uxTopReadyPriority + 0x0000ea28 0x4 ./bin/tasks.o + .bss.xSchedulerRunning + 0x0000ea2c 0x4 ./bin/tasks.o + .bss.uxSchedulerSuspended + 0x0000ea30 0x4 ./bin/tasks.o + .bss.uxMissedTicks + 0x0000ea34 0x4 ./bin/tasks.o + .bss.xMissedYield + 0x0000ea38 0x4 ./bin/tasks.o + .bss.xNumOfOverflows + 0x0000ea3c 0x4 ./bin/tasks.o + .bss.uxTaskNumber + 0x0000ea40 0x4 ./bin/tasks.o + .bss.xTracing 0x0000ea44 0x4 ./bin/tasks.o + .bss.pxReadyTasksLists + 0x0000ea48 0x64 ./bin/tasks.o + .bss.xDelayedTaskList1 + 0x0000eaac 0x14 ./bin/tasks.o + .bss.xDelayedTaskList2 + 0x0000eac0 0x14 ./bin/tasks.o + .bss.pxDelayedTaskList + 0x0000ead4 0x4 ./bin/tasks.o + .bss.pxOverflowDelayedTaskList + 0x0000ead8 0x4 ./bin/tasks.o + .bss.xPendingReadyList + 0x0000eadc 0x14 ./bin/tasks.o + .bss.xTasksWaitingTermination + 0x0000eaf0 0x14 ./bin/tasks.o + .bss.xSuspendedTaskList + 0x0000eb04 0x14 ./bin/tasks.o + .bss.pcTraceBuffer + 0x0000eb18 0x4 ./bin/tasks.o + .bss.pcTraceBufferStart + 0x0000eb1c 0x4 ./bin/tasks.o + .bss.pcTraceBufferEnd + 0x0000eb20 0x4 ./bin/tasks.o + .bss.pcStatusString + 0x0000eb24 0x32 ./bin/tasks.o + *fill* 0x0000eb56 0x2 00 + .bss 0x0000eb58 0x0 ./bin/queue.o + .bss.xQueueRegistry + 0x0000eb58 0x50 ./bin/queue.o + 0x0000eb58 xQueueRegistry + .bss 0x0000eba8 0x0 ./bin/heap_2.o + .bss.xHeapHasBeenInitialised.2144 + 0x0000eba8 0x4 ./bin/heap_2.o + .bss.xHeap 0x0000ebac 0x5dc4 ./bin/heap_2.o + .bss.xStart 0x00014970 0x8 ./bin/heap_2.o + .bss.xEnd 0x00014978 0x8 ./bin/heap_2.o + .bss 0x00014980 0x0 ./bin/FreeRTOS_Timer.o + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-atexit.o) + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-exit.o) + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-impure.o) + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memcmp.o) + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memcpy.o) + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memset.o) + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-sprintf.o) + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strcat.o) + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strcpy.o) + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strlen.o) + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strncpy.o) + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-vfprintf.o) + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-wsetup.o) + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-__atexit.o) + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-__call_atexit.o) + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-dtoa.o) + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fflush.o) + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-findfp.o) + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fini.o) + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-freer.o) + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fvwrite.o) + .bss 0x00014980 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fwalk.o) + .bss 0x00014980 0xc c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-locale.o) + 0x00014980 __nlocale_changed + 0x00014984 __mlocale_changed + 0x00014988 _PathLocale + .bss 0x0001498c 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-makebuf.o) + .bss 0x0001498c 0x34 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-mallocr.o) + 0x0001498c __malloc_top_pad + 0x00014990 __malloc_max_sbrked_mem + 0x00014998 __malloc_current_mallinfo + 0x00014994 __malloc_max_total_mem + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memchr.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memmove.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-mlock.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-mprec.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-reallocr.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-s_isinfd.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-s_isnand.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-sbrkr.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-stdio.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strcmp.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-writer.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-callocr.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-closer.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fclose.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fstatr.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-isattyr.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-lseekr.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-readr.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-reent.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_double.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_floatex.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_eqdf2.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_nedf2.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_gtdf2.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_gedf2.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_ltdf2.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_udivdi3.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_umoddi3.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(fpgnulib.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3.a(start_c.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3.a(m5282evb-reset.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-_exit.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-close.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-fstat.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-isatty.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-lseek.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-read.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-sbrk.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-write.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-gdb.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(start.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire-vector.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_other_interrupt.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_unimplemented_opcode.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_breakpoint_debug_interrupt.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_trap_interrupt.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_fp_interrupt.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_access_error.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_address_error.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_illegal_instruction.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_divide_by_zero.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_privilege_violation.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_trace.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_format_error.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_spurious_interrupt.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_unsupported_instruction.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-errno.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-init.o) + .bss 0x000149c0 0x0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3.a(heap.o) + *(COMMON) + COMMON 0x000149c0 0x4 ./bin/death.o + 0x000149c0 xCreatedTask + COMMON 0x000149c4 0xc ./bin/QPeek.o + 0x000149c4 xHighPriorityTask + 0x000149c8 xMediumPriorityTask + 0x000149cc xHighestPriorityTask + COMMON 0x000149d0 0x4 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-reent.o) + 0x000149d0 errno + 0x000149d8 . = ALIGN (0x8) + *fill* 0x000149d4 0x4 00 + *(.ram.b) + 0x000149d8 _end = . + 0x000149d8 __end = . + 0x01000000 __cs3_region_end_ram = (__cs3_region_start_ram + 0x1000000) + 0x01000000 __cs3_region_size_ram = 0x1000000 + 0x00000000 __cs3_region_init_ram = LOADADDR (.text) + 0x0000e950 __cs3_region_init_size_ram = (_edata - ADDR (.text)) + 0x00006088 __cs3_region_zero_size_ram = (_end - _edata) + +.stab + *(.stab) + +.stabstr + *(.stabstr) + +.debug + *(.debug) + +.line + *(.line) + +.debug_srcinfo + *(.debug_srcinfo) + +.debug_sfnames + *(.debug_sfnames) + +.debug_aranges 0x00000000 0x558 + *(.debug_aranges) + .debug_aranges + 0x00000000 0x30 ./bin/main.o + .debug_aranges + 0x00000030 0x30 ./bin/ParTest.o + .debug_aranges + 0x00000060 0x38 ./bin/BlockQ.o + .debug_aranges + 0x00000098 0x38 ./bin/blocktim.o + .debug_aranges + 0x000000d0 0x38 ./bin/death.o + .debug_aranges + 0x00000108 0x30 ./bin/integer.o + .debug_aranges + 0x00000138 0x38 ./bin/PollQ.o + .debug_aranges + 0x00000170 0x30 ./bin/semtest.o + .debug_aranges + 0x000001a0 0x48 ./bin/GenQTest.o + .debug_aranges + 0x000001e8 0x48 ./bin/QPeek.o + .debug_aranges + 0x00000230 0x40 ./bin/recmutex.o + .debug_aranges + 0x00000270 0x50 ./bin/port.o + .debug_aranges + 0x000002c0 0x40 ./bin/list.o + .debug_aranges + 0x00000300 0x148 ./bin/tasks.o + .debug_aranges + 0x00000448 0xb8 ./bin/queue.o + .debug_aranges + 0x00000500 0x28 ./bin/heap_2.o + .debug_aranges + 0x00000528 0x30 ./bin/FreeRTOS_Timer.o + +.debug_pubnames + 0x00000000 0x9dc + *(.debug_pubnames) + .debug_pubnames + 0x00000000 0x3d ./bin/main.o + .debug_pubnames + 0x0000003d 0x52 ./bin/ParTest.o + .debug_pubnames + 0x0000008f 0x52 ./bin/BlockQ.o + .debug_pubnames + 0x000000e1 0x53 ./bin/blocktim.o + .debug_pubnames + 0x00000134 0x5a ./bin/death.o + .debug_pubnames + 0x0000018e 0x52 ./bin/integer.o + .debug_pubnames + 0x000001e0 0x4f ./bin/PollQ.o + .debug_pubnames + 0x0000022f 0x4e ./bin/semtest.o + .debug_pubnames + 0x0000027d 0x54 ./bin/GenQTest.o + .debug_pubnames + 0x000002d1 0x95 ./bin/QPeek.o + .debug_pubnames + 0x00000366 0x58 ./bin/recmutex.o + .debug_pubnames + 0x000003be 0xcc ./bin/port.o + .debug_pubnames + 0x0000048a 0x71 ./bin/list.o + .debug_pubnames + 0x000004fb 0x2da ./bin/tasks.o + .debug_pubnames + 0x000007d5 0x18c ./bin/queue.o + .debug_pubnames + 0x00000961 0x31 ./bin/heap_2.o + .debug_pubnames + 0x00000992 0x4a ./bin/FreeRTOS_Timer.o + +.debug_info 0x00000000 0x544d + *(.debug_info .gnu.linkonce.wi.*) + .debug_info 0x00000000 0x1da ./bin/main.o + .debug_info 0x000001da 0x1bc ./bin/ParTest.o + .debug_info 0x00000396 0x53d ./bin/BlockQ.o + .debug_info 0x000008d3 0x39e ./bin/blocktim.o + .debug_info 0x00000c71 0x3a1 ./bin/death.o + .debug_info 0x00001012 0x2a8 ./bin/integer.o + .debug_info 0x000012ba 0x322 ./bin/PollQ.o + .debug_info 0x000015dc 0x430 ./bin/semtest.o + .debug_info 0x00001a0c 0x469 ./bin/GenQTest.o + .debug_info 0x00001e75 0x406 ./bin/QPeek.o + .debug_info 0x0000227b 0x411 ./bin/recmutex.o + .debug_info 0x0000268c 0x2d7 ./bin/port.o + .debug_info 0x00002963 0x41b ./bin/list.o + .debug_info 0x00002d7e 0x152c ./bin/tasks.o + .debug_info 0x000042aa 0xc3e ./bin/queue.o + .debug_info 0x00004ee8 0x3de ./bin/heap_2.o + .debug_info 0x000052c6 0x187 ./bin/FreeRTOS_Timer.o + +.debug_abbrev 0x00000000 0xfd6 + *(.debug_abbrev) + .debug_abbrev 0x00000000 0x95 ./bin/main.o + .debug_abbrev 0x00000095 0x8b ./bin/ParTest.o + .debug_abbrev 0x00000120 0x122 ./bin/BlockQ.o + .debug_abbrev 0x00000242 0xec ./bin/blocktim.o + .debug_abbrev 0x0000032e 0xd6 ./bin/death.o + .debug_abbrev 0x00000404 0xb4 ./bin/integer.o + .debug_abbrev 0x000004b8 0xb5 ./bin/PollQ.o + .debug_abbrev 0x0000056d 0x113 ./bin/semtest.o + .debug_abbrev 0x00000680 0x106 ./bin/GenQTest.o + .debug_abbrev 0x00000786 0x108 ./bin/QPeek.o + .debug_abbrev 0x0000088e 0xce ./bin/recmutex.o + .debug_abbrev 0x0000095c 0xc6 ./bin/port.o + .debug_abbrev 0x00000a22 0xf9 ./bin/list.o + .debug_abbrev 0x00000b1b 0x1a4 ./bin/tasks.o + .debug_abbrev 0x00000cbf 0x1ad ./bin/queue.o + .debug_abbrev 0x00000e6c 0x10b ./bin/heap_2.o + .debug_abbrev 0x00000f77 0x5f ./bin/FreeRTOS_Timer.o + +.debug_line 0x00000000 0x664c + *(.debug_line) + .debug_line 0x00000000 0x6cf ./bin/main.o + .debug_line 0x000006cf 0x3c0 ./bin/ParTest.o + .debug_line 0x00000a8f 0x682 ./bin/BlockQ.o + .debug_line 0x00001111 0x45c ./bin/blocktim.o + .debug_line 0x0000156d 0x64c ./bin/death.o + .debug_line 0x00001bb9 0x638 ./bin/integer.o + .debug_line 0x000021f1 0x662 ./bin/PollQ.o + .debug_line 0x00002853 0x677 ./bin/semtest.o + .debug_line 0x00002eca 0x6f7 ./bin/GenQTest.o + .debug_line 0x000035c1 0x6c0 ./bin/QPeek.o + .debug_line 0x00003c81 0x42a ./bin/recmutex.o + .debug_line 0x000040ab 0x3cf ./bin/port.o + .debug_line 0x0000447a 0x61b ./bin/list.o + .debug_line 0x00004a95 0xa2a ./bin/tasks.o + .debug_line 0x000054bf 0x827 ./bin/queue.o + .debug_line 0x00005ce6 0x60a ./bin/heap_2.o + .debug_line 0x000062f0 0x35c ./bin/FreeRTOS_Timer.o + +.debug_frame 0x00000000 0x26b4 + *(.debug_frame) + .debug_frame 0x00000000 0x6c ./bin/main.o + .debug_frame 0x0000006c 0x5c ./bin/ParTest.o + .debug_frame 0x000000c8 0xa8 ./bin/BlockQ.o + .debug_frame 0x00000170 0xcc ./bin/blocktim.o + .debug_frame 0x0000023c 0x84 ./bin/death.o + .debug_frame 0x000002c0 0x64 ./bin/integer.o + .debug_frame 0x00000324 0x8c ./bin/PollQ.o + .debug_frame 0x000003b0 0x90 ./bin/semtest.o + .debug_frame 0x00000440 0x114 ./bin/GenQTest.o + .debug_frame 0x00000554 0xe0 ./bin/QPeek.o + .debug_frame 0x00000634 0xa0 ./bin/recmutex.o + .debug_frame 0x000006d4 0xbc ./bin/port.o + .debug_frame 0x00000790 0x8c ./bin/list.o + .debug_frame 0x0000081c 0x478 ./bin/tasks.o + .debug_frame 0x00000c94 0x288 ./bin/queue.o + .debug_frame 0x00000f1c 0x44 ./bin/heap_2.o + .debug_frame 0x00000f60 0x6c ./bin/FreeRTOS_Timer.o + .debug_frame 0x00000fcc 0x30 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-atexit.o) + .debug_frame 0x00000ffc 0x34 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-exit.o) + .debug_frame 0x00001030 0x30 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memcmp.o) + .debug_frame 0x00001060 0x4c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-sprintf.o) + .debug_frame 0x000010ac 0x30 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strcat.o) + .debug_frame 0x000010dc 0x30 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strcpy.o) + .debug_frame 0x0000110c 0x2c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strlen.o) + .debug_frame 0x00001138 0x34 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strncpy.o) + .debug_frame 0x0000116c 0xe8 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-vfprintf.o) + .debug_frame 0x00001254 0x38 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-wsetup.o) + .debug_frame 0x0000128c 0x38 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-__atexit.o) + .debug_frame 0x000012c4 0x68 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-__call_atexit.o) + .debug_frame 0x0000132c 0x160 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-dtoa.o) + .debug_frame 0x0000148c 0x5c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fflush.o) + .debug_frame 0x000014e8 0xcc c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-findfp.o) + .debug_frame 0x000015b4 0x34 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fini.o) + .debug_frame 0x000015e8 0x78 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-freer.o) + .debug_frame 0x00001660 0x74 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fvwrite.o) + .debug_frame 0x000016d4 0x64 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fwalk.o) + .debug_frame 0x00001738 0x9c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-locale.o) + .debug_frame 0x000017d4 0x3c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-makebuf.o) + .debug_frame 0x00001810 0x58 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-mallocr.o) + .debug_frame 0x00001868 0x34 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memchr.o) + .debug_frame 0x0000189c 0x38 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-memmove.o) + .debug_frame 0x000018d4 0x44 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-mlock.o) + .debug_frame 0x00001918 0x2c0 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-mprec.o) + .debug_frame 0x00001bd8 0x64 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-reallocr.o) + .debug_frame 0x00001c3c 0x30 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-s_isinfd.o) + .debug_frame 0x00001c6c 0x30 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-s_isnand.o) + .debug_frame 0x00001c9c 0x30 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-sbrkr.o) + .debug_frame 0x00001ccc 0x8c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-stdio.o) + .debug_frame 0x00001d58 0x2c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-strcmp.o) + .debug_frame 0x00001d84 0x30 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-writer.o) + .debug_frame 0x00001db4 0x34 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-callocr.o) + .debug_frame 0x00001de8 0x30 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-closer.o) + .debug_frame 0x00001e18 0x58 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fclose.o) + .debug_frame 0x00001e70 0x30 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-fstatr.o) + .debug_frame 0x00001ea0 0x30 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-isattyr.o) + .debug_frame 0x00001ed0 0x30 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-lseekr.o) + .debug_frame 0x00001f00 0x30 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-readr.o) + .debug_frame 0x00001f30 0x88 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-reent.o) + .debug_frame 0x00001fb8 0x40 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_udivdi3.o) + .debug_frame 0x00001ff8 0x40 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(_umoddi3.o) + .debug_frame 0x00002038 0x144 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/m5208\libgcc.a(fpgnulib.o) + .debug_frame 0x0000217c 0x3c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3.a(start_c.o) + .debug_frame 0x000021b8 0x2c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-_exit.o) + .debug_frame 0x000021e4 0x30 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-close.o) + .debug_frame 0x00002214 0x38 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-fstat.o) + .debug_frame 0x0000224c 0x30 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-isatty.o) + .debug_frame 0x0000227c 0x38 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-lseek.o) + .debug_frame 0x000022b4 0x30 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-read.o) + .debug_frame 0x000022e4 0x2c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-sbrk.o) + .debug_frame 0x00002310 0x30 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-write.o) + .debug_frame 0x00002340 0xac c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3hosted.a(hosted-gdb.o) + .debug_frame 0x000023ec 0x2c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_other_interrupt.o) + .debug_frame 0x00002418 0x2c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_unimplemented_opcode.o) + .debug_frame 0x00002444 0x2c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_breakpoint_debug_interrupt.o) + .debug_frame 0x00002470 0x2c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_trap_interrupt.o) + .debug_frame 0x0000249c 0x2c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_fp_interrupt.o) + .debug_frame 0x000024c8 0x2c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_access_error.o) + .debug_frame 0x000024f4 0x2c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_address_error.o) + .debug_frame 0x00002520 0x2c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_illegal_instruction.o) + .debug_frame 0x0000254c 0x2c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_divide_by_zero.o) + .debug_frame 0x00002578 0x2c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_privilege_violation.o) + .debug_frame 0x000025a4 0x2c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_trace.o) + .debug_frame 0x000025d0 0x2c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_format_error.o) + .debug_frame 0x000025fc 0x2c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_spurious_interrupt.o) + .debug_frame 0x00002628 0x2c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libcs3coldfire.a(coldfire_isr_unsupported_instruction.o) + .debug_frame 0x00002654 0x2c c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-errno.o) + .debug_frame 0x00002680 0x34 c:/devtools/codesourcery_coldfire/sourcery g++ lite/bin/../lib/gcc/m68k-elf/4.2.3/../../../../m68k-elf/lib/m5208\libc.a(lib_a-init.o) + +.debug_str 0x00000000 0x2c4 + *(.debug_str) + .debug_str 0x00000000 0x3d ./bin/BlockQ.o + .debug_str 0x0000003d 0x2c ./bin/blocktim.o + .debug_str 0x00000069 0x18 ./bin/death.o + .debug_str 0x00000081 0xd ./bin/PollQ.o + .debug_str 0x0000008e 0x1d ./bin/semtest.o + .debug_str 0x000000ab 0x14 ./bin/GenQTest.o + .debug_str 0x000000bf 0x1c ./bin/QPeek.o + .debug_str 0x000000db 0xd ./bin/recmutex.o + .debug_str 0x000000e8 0x36 ./bin/list.o + .debug_str 0x0000011e 0xe2 ./bin/tasks.o + .debug_str 0x00000200 0xae ./bin/queue.o + .debug_str 0x000002ae 0x16 ./bin/heap_2.o + +.debug_loc 0x00000000 0xf00 + *(.debug_loc) + .debug_loc 0x00000000 0x60 ./bin/main.o + .debug_loc 0x00000060 0x60 ./bin/ParTest.o + .debug_loc 0x000000c0 0x80 ./bin/BlockQ.o + .debug_loc 0x00000140 0x80 ./bin/blocktim.o + .debug_loc 0x000001c0 0x80 ./bin/death.o + .debug_loc 0x00000240 0x60 ./bin/integer.o + .debug_loc 0x000002a0 0x80 ./bin/PollQ.o + .debug_loc 0x00000320 0x60 ./bin/semtest.o + .debug_loc 0x00000380 0xc0 ./bin/GenQTest.o + .debug_loc 0x00000440 0xc0 ./bin/QPeek.o + .debug_loc 0x00000500 0xa0 ./bin/recmutex.o + .debug_loc 0x000005a0 0xe0 ./bin/port.o + .debug_loc 0x00000680 0xa0 ./bin/list.o + .debug_loc 0x00000720 0x4c0 ./bin/tasks.o + .debug_loc 0x00000be0 0x280 ./bin/queue.o + .debug_loc 0x00000e60 0x40 ./bin/heap_2.o + .debug_loc 0x00000ea0 0x60 ./bin/FreeRTOS_Timer.o + +.debug_macinfo 0x00000000 0x1e5a94 + *(.debug_macinfo) + .debug_macinfo + 0x00000000 0x1e3ac ./bin/main.o + .debug_macinfo + 0x0001e3ac 0x1ad25 ./bin/ParTest.o + .debug_macinfo + 0x000390d1 0x1d0da ./bin/BlockQ.o + .debug_macinfo + 0x000561ab 0x1b482 ./bin/blocktim.o + .debug_macinfo + 0x0007162d 0x1ca2d ./bin/death.o + .debug_macinfo + 0x0008e05a 0x1cb1c ./bin/integer.o + .debug_macinfo + 0x000aab76 0x1d209 ./bin/PollQ.o + .debug_macinfo + 0x000c7d7f 0x1d725 ./bin/semtest.o + .debug_macinfo + 0x000e54a4 0x1d728 ./bin/GenQTest.o + .debug_macinfo + 0x00102bcc 0x1d738 ./bin/QPeek.o + .debug_macinfo + 0x00120304 0x1ba17 ./bin/recmutex.o + .debug_macinfo + 0x0013bd1b 0x1ac83 ./bin/port.o + .debug_macinfo + 0x0015699e 0x1c84d ./bin/list.o + .debug_macinfo + 0x001731eb 0x1e157 ./bin/tasks.o + .debug_macinfo + 0x00191342 0x1d2af ./bin/queue.o + .debug_macinfo + 0x001ae5f1 0x1cd23 ./bin/heap_2.o + .debug_macinfo + 0x001cb314 0x1a780 ./bin/FreeRTOS_Timer.o + +.debug_weaknames + *(.debug_weaknames) + +.debug_funcnames + *(.debug_funcnames) + +.debug_typenames + *(.debug_typenames) + +.debug_varnames + *(.debug_varnames) +OUTPUT(./bin/RTOSDemo.elf elf32-m68k) + +.comment 0x00000000 0x2a8 + .comment 0x00000000 0x28 ./bin/main.o + .comment 0x00000028 0x28 ./bin/ParTest.o + .comment 0x00000050 0x28 ./bin/BlockQ.o + .comment 0x00000078 0x28 ./bin/blocktim.o + .comment 0x000000a0 0x28 ./bin/death.o + .comment 0x000000c8 0x28 ./bin/integer.o + .comment 0x000000f0 0x28 ./bin/PollQ.o + .comment 0x00000118 0x28 ./bin/semtest.o + .comment 0x00000140 0x28 ./bin/GenQTest.o + .comment 0x00000168 0x28 ./bin/QPeek.o + .comment 0x00000190 0x28 ./bin/recmutex.o + .comment 0x000001b8 0x28 ./bin/port.o + .comment 0x000001e0 0x28 ./bin/list.o + .comment 0x00000208 0x28 ./bin/tasks.o + .comment 0x00000230 0x28 ./bin/queue.o + .comment 0x00000258 0x28 ./bin/heap_2.o + .comment 0x00000280 0x28 ./bin/FreeRTOS_Timer.o diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/m5282evb-ram-hosted.ld b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/m5282evb-ram-hosted.ld new file mode 100644 index 000000000..132d2e5b7 --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/m5282evb-ram-hosted.ld @@ -0,0 +1,279 @@ +/* Linker script for m5282evb + * + * Version:Sourcery G++ Lite 4.2-125 + * BugURL:https://support.codesourcery.com/GNUToolchain/ + * + * Copyright 2007, 2008 CodeSourcery. + * + * The authors hereby grant permission to use, copy, modify, distribute, + * and license this software and its documentation for any purpose, provided + * that existing copyright notices are retained in all copies and that this + * notice is included verbatim in any distributions. No written agreement, + * license, or royalty fee is required for any of the authorized uses. + * Modifications to this software may be copyrighted by their authors + * and need not follow the licensing terms described here, provided that + * the new terms are clearly indicated on the first page of each file where + * they apply. */ + +OUTPUT_ARCH(m68k) +ENTRY(_start) +SEARCH_DIR(.) +GROUP(-lgcc -lc -lcs3 -lcs3hosted -lcs3coldfire) + +MEMORY +{ + ram (rwx) : ORIGIN = 0x00000000, LENGTH = 16M + rom (rx) : ORIGIN = 0xFFE00000, LENGTH = 2M + rombar (rx) : ORIGIN = 0xf0000000, LENGTH = 512K + rambar (rwx) : ORIGIN = 0x20000000, LENGTH = 64K + ipsbar (rw) : ORIGIN = 0x40000000, LENGTH = 0x20000000 +} + +/* These force the linker to search for particular symbols from + * the start of the link process and thus ensure the user's + * overrides are picked up + */ +EXTERN(__cs3_reset_m5282evb) +INCLUDE coldfire-names.inc +EXTERN(__cs3_interrupt_vector_coldfire) +EXTERN(__cs3_start_c main __cs3_stack __cs3_heap_end) +EXTERN(_start) +/* force exit to be picked up in a hosted or os environment */ +EXTERN(exit atexit) + +PROVIDE(__cs3_heap_start = _end); +PROVIDE(__cs3_heap_end = __cs3_region_start_ram + __cs3_region_size_ram); +PROVIDE(__cs3_region_num = (__cs3_regions_end - __cs3_regions) / 20); +PROVIDE(__cs3_stack = __cs3_region_start_ram + __cs3_region_size_ram); + +SECTIONS +{ + + .text : + { + CREATE_OBJECT_SYMBOLS + __cs3_region_start_ram = .; + *(.cs3.region-head.ram) + ASSERT (. == __cs3_region_start_ram, ".cs3.region-head.ram not permitted"); + __cs3_interrupt_vector = __cs3_interrupt_vector_coldfire; + *(.cs3.interrupt_vector) + /* Make sure we pulled in an interrupt vector. */ + ASSERT (. != __cs3_interrupt_vector_coldfire, "No interrupt vector"); + + PROVIDE(__cs3_reset_m5282evb = _start); + __cs3_reset = __cs3_reset_m5282evb; + *(.cs3.reset) + + *(.text .text.* .gnu.linkonce.t.*) + + . = ALIGN(0x4); + KEEP (*crtbegin.o(.jcr)) + KEEP (*(EXCLUDE_FILE (*crtend.o) .jcr)) + KEEP (*crtend.o(.jcr)) + + . = ALIGN(0x4); + *(.gcc_except_table .gcc_except_table.*) + } >ram + .eh_frame_hdr : ALIGN (4) + { + KEEP (*(.eh_frame_hdr)) + } >ram + .eh_frame : ALIGN (4) + { + KEEP (*(.eh_frame)) + } >ram + .rodata : ALIGN (4) + { + *(.rodata .rodata.* .gnu.linkonce.r.*) + + . = ALIGN(4); + _init = .; + LONG (0x4e560000) /* linkw %fp,#0 */ + KEEP(*(.init)) + SHORT (0x4e5e) /* unlk %fp */ + SHORT (0x4e75) /* rts */ + + . = ALIGN(4); + __preinit_array_start = .; + KEEP (*(.preinit_array)) + __preinit_array_end = .; + + . = ALIGN(4); + __init_array_start = .; + KEEP (*(SORT(.init_array.*))) + KEEP (*(.init_array)) + __init_array_end = .; + + . = ALIGN(4); + _fini = .; + LONG (0x4e560000) /* linkw %fp,#0 */ + KEEP(*(.fini)) + SHORT (0x4e5e) /* unlk %fp */ + SHORT (0x4e75) /* rts */ + + . = ALIGN(4); + __fini_array_start = .; + KEEP (*(.fini_array)) + KEEP (*(SORT(.fini_array.*))) + __fini_array_end = .; + + . = ALIGN(0x4); + KEEP (*crtbegin.o(.ctors)) + KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors)) + KEEP (*(SORT(.ctors.*))) + KEEP (*crtend.o(.ctors)) + + . = ALIGN(0x4); + KEEP (*crtbegin.o(.dtors)) + KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors)) + KEEP (*(SORT(.dtors.*))) + KEEP (*crtend.o(.dtors)) + + *(.lit) + + . = ALIGN(4); + __cs3_regions = .; + LONG (0) + LONG (__cs3_region_init_ram) + LONG (__cs3_region_start_ram) + LONG (__cs3_region_init_size_ram) + LONG (__cs3_region_zero_size_ram) + LONG (0) + LONG (__cs3_region_init_rombar) + LONG (__cs3_region_start_rombar) + LONG (__cs3_region_init_size_rombar) + LONG (__cs3_region_zero_size_rombar) + LONG (0) + LONG (__cs3_region_init_rambar) + LONG (__cs3_region_start_rambar) + LONG (__cs3_region_init_size_rambar) + LONG (__cs3_region_zero_size_rambar) + __cs3_regions_end = .; + + . = ALIGN (8); + . = ALIGN (8); + _etext = .; + } >ram + + .cs3.rom : ALIGN (8) + { + __cs3_region_start_rom = .; + *(.cs3.region-head.rom) + *(.rom) + . = ALIGN (8); + } >rom + .cs3.rom.bss : + { + *(.rom.b) + . = ALIGN (8); + } >rom + /* __cs3_region_end_rom is deprecated */ + __cs3_region_end_rom = __cs3_region_start_rom + LENGTH(rom); + __cs3_region_size_rom = LENGTH(rom); + __cs3_region_init_rom = LOADADDR (.cs3.rom); + __cs3_region_init_size_rom = LOADADDR (.cs3.rom.bss) - LOADADDR (.cs3.rom); + __cs3_region_zero_size_rom = SIZEOF(.cs3.rom.bss); + + .cs3.rombar : ALIGN (8) + { + __cs3_region_start_rombar = .; + *(.cs3.region-head.rombar) + *(.rombar) + . = ALIGN (8); + } >rombar + .cs3.rombar.bss : + { + *(.rombar.b) + . = ALIGN (8); + } >rombar + /* __cs3_region_end_rombar is deprecated */ + __cs3_region_end_rombar = __cs3_region_start_rombar + LENGTH(rombar); + __cs3_region_size_rombar = LENGTH(rombar); + __cs3_region_init_rombar = LOADADDR (.cs3.rombar); + __cs3_region_init_size_rombar = LOADADDR (.cs3.rombar.bss) - LOADADDR (.cs3.rombar); + __cs3_region_zero_size_rombar = SIZEOF(.cs3.rombar.bss); + + .cs3.rambar : ALIGN (8) + { + __cs3_region_start_rambar = .; + *(.cs3.region-head.rambar) + *(.rambar) + . = ALIGN (8); + } >rambar + .cs3.rambar.bss : + { + *(.rambar.b) + . = ALIGN (8); + } >rambar + /* __cs3_region_end_rambar is deprecated */ + __cs3_region_end_rambar = __cs3_region_start_rambar + LENGTH(rambar); + __cs3_region_size_rambar = LENGTH(rambar); + __cs3_region_init_rambar = LOADADDR (.cs3.rambar); + __cs3_region_init_size_rambar = LOADADDR (.cs3.rambar.bss) - LOADADDR (.cs3.rambar); + __cs3_region_zero_size_rambar = SIZEOF(.cs3.rambar.bss); + + .cs3.ipsbar : + { + __cs3_region_start_ipsbar = .; + *(.cs3.region-head.ipsbar) + . = ALIGN (8); + } >ipsbar + /* __cs3_region_end_ipsbar is deprecated */ + __cs3_region_end_ipsbar = __cs3_region_start_ipsbar + LENGTH(ipsbar); + __cs3_region_size_ipsbar = LENGTH(ipsbar); + + .data : ALIGN (8) + { + + *(.got.plt) *(.got) + *(.shdata) + *(.data .data.* .gnu.linkonce.d.*) + . = ALIGN (8); + *(.ram) + _edata = .; + } >ram + .bss : + { + *(.shbss) + *(.bss .bss.* .gnu.linkonce.b.*) + *(COMMON) + . = ALIGN (8); + *(.ram.b) + _end = .; + __end = .; + } >ram + /* __cs3_region_end_ram is deprecated */ + __cs3_region_end_ram = __cs3_region_start_ram + LENGTH(ram); + __cs3_region_size_ram = LENGTH(ram); + __cs3_region_init_ram = LOADADDR (.text); + __cs3_region_init_size_ram = _edata - ADDR (.text); + __cs3_region_zero_size_ram = _end - _edata; + + .stab 0 (NOLOAD) : { *(.stab) } + .stabstr 0 (NOLOAD) : { *(.stabstr) } + /* DWARF debug sections. + * Symbols in the DWARF debugging sections are relative to the beginning + * of the section so we begin them at 0. */ + /* DWARF 1 */ + .debug 0 : { *(.debug) } + .line 0 : { *(.line) } + /* GNU DWARF 1 extensions */ + .debug_srcinfo 0 : { *(.debug_srcinfo) } + .debug_sfnames 0 : { *(.debug_sfnames) } + /* DWARF 1.1 and DWARF 2 */ + .debug_aranges 0 : { *(.debug_aranges) } + .debug_pubnames 0 : { *(.debug_pubnames) } + /* DWARF 2 */ + .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) } + .debug_abbrev 0 : { *(.debug_abbrev) } + .debug_line 0 : { *(.debug_line) } + .debug_frame 0 : { *(.debug_frame) } + .debug_str 0 : { *(.debug_str) } + .debug_loc 0 : { *(.debug_loc) } + .debug_macinfo 0 : { *(.debug_macinfo) } + /* SGI/MIPS DWARF 2 extensions */ + .debug_weaknames 0 : { *(.debug_weaknames) } + .debug_funcnames 0 : { *(.debug_funcnames) } + .debug_typenames 0 : { *(.debug_typenames) } + .debug_varnames 0 : { *(.debug_varnames) } +} diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/m5282evb-ram.ld b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/m5282evb-ram.ld new file mode 100644 index 000000000..48174cf4c --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/m5282evb-ram.ld @@ -0,0 +1,277 @@ +/* Linker script for m5282evb + * + * Version:Sourcery G++ Lite 4.2-125 + * BugURL:https://support.codesourcery.com/GNUToolchain/ + * + * Copyright 2007, 2008 CodeSourcery. + * + * The authors hereby grant permission to use, copy, modify, distribute, + * and license this software and its documentation for any purpose, provided + * that existing copyright notices are retained in all copies and that this + * notice is included verbatim in any distributions. No written agreement, + * license, or royalty fee is required for any of the authorized uses. + * Modifications to this software may be copyrighted by their authors + * and need not follow the licensing terms described here, provided that + * the new terms are clearly indicated on the first page of each file where + * they apply. */ + +OUTPUT_ARCH(m68k) +ENTRY(_start) +SEARCH_DIR(.) +GROUP(-lgcc -lc -lcs3 -lcs3unhosted -lcs3coldfire) + +MEMORY +{ + ram (rwx) : ORIGIN = 0x00000000, LENGTH = 16M + rom (rx) : ORIGIN = 0xFFE00000, LENGTH = 2M + rombar (rx) : ORIGIN = 0xf0000000, LENGTH = 512K + rambar (rwx) : ORIGIN = 0x20000000, LENGTH = 64K + ipsbar (rw) : ORIGIN = 0x40000000, LENGTH = 0x20000000 +} + +/* These force the linker to search for particular symbols from + * the start of the link process and thus ensure the user's + * overrides are picked up + */ +EXTERN(__cs3_reset_m5282evb) +INCLUDE coldfire-names.inc +EXTERN(__cs3_interrupt_vector_coldfire) +EXTERN(__cs3_start_c main __cs3_stack __cs3_heap_end) +EXTERN(_start) + +PROVIDE(__cs3_heap_start = _end); +PROVIDE(__cs3_heap_end = __cs3_region_start_ram + __cs3_region_size_ram); +PROVIDE(__cs3_region_num = (__cs3_regions_end - __cs3_regions) / 20); +PROVIDE(__cs3_stack = __cs3_region_start_ram + __cs3_region_size_ram); + +SECTIONS +{ + + .text : + { + CREATE_OBJECT_SYMBOLS + __cs3_region_start_ram = .; + *(.cs3.region-head.ram) + ASSERT (. == __cs3_region_start_ram, ".cs3.region-head.ram not permitted"); + __cs3_interrupt_vector = __cs3_interrupt_vector_coldfire; + *(.cs3.interrupt_vector) + /* Make sure we pulled in an interrupt vector. */ + ASSERT (. != __cs3_interrupt_vector_coldfire, "No interrupt vector"); + + PROVIDE(__cs3_reset_m5282evb = _start); + __cs3_reset = __cs3_reset_m5282evb; + *(.cs3.reset) + + *(.text .text.* .gnu.linkonce.t.*) + + . = ALIGN(0x4); + KEEP (*crtbegin.o(.jcr)) + KEEP (*(EXCLUDE_FILE (*crtend.o) .jcr)) + KEEP (*crtend.o(.jcr)) + + . = ALIGN(0x4); + *(.gcc_except_table .gcc_except_table.*) + } >ram + .eh_frame_hdr : ALIGN (4) + { + KEEP (*(.eh_frame_hdr)) + } >ram + .eh_frame : ALIGN (4) + { + KEEP (*(.eh_frame)) + } >ram + .rodata : ALIGN (4) + { + *(.rodata .rodata.* .gnu.linkonce.r.*) + + . = ALIGN(4); + _init = .; + LONG (0x4e560000) /* linkw %fp,#0 */ + KEEP(*(.init)) + SHORT (0x4e5e) /* unlk %fp */ + SHORT (0x4e75) /* rts */ + + . = ALIGN(4); + __preinit_array_start = .; + KEEP (*(.preinit_array)) + __preinit_array_end = .; + + . = ALIGN(4); + __init_array_start = .; + KEEP (*(SORT(.init_array.*))) + KEEP (*(.init_array)) + __init_array_end = .; + + . = ALIGN(4); + _fini = .; + LONG (0x4e560000) /* linkw %fp,#0 */ + KEEP(*(.fini)) + SHORT (0x4e5e) /* unlk %fp */ + SHORT (0x4e75) /* rts */ + + . = ALIGN(4); + __fini_array_start = .; + KEEP (*(.fini_array)) + KEEP (*(SORT(.fini_array.*))) + __fini_array_end = .; + + . = ALIGN(0x4); + KEEP (*crtbegin.o(.ctors)) + KEEP (*(EXCLUDE_FILE (*crtend.o) .ctors)) + KEEP (*(SORT(.ctors.*))) + KEEP (*crtend.o(.ctors)) + + . = ALIGN(0x4); + KEEP (*crtbegin.o(.dtors)) + KEEP (*(EXCLUDE_FILE (*crtend.o) .dtors)) + KEEP (*(SORT(.dtors.*))) + KEEP (*crtend.o(.dtors)) + + *(.lit) + + . = ALIGN(4); + __cs3_regions = .; + LONG (0) + LONG (__cs3_region_init_ram) + LONG (__cs3_region_start_ram) + LONG (__cs3_region_init_size_ram) + LONG (__cs3_region_zero_size_ram) + LONG (0) + LONG (__cs3_region_init_rombar) + LONG (__cs3_region_start_rombar) + LONG (__cs3_region_init_size_rombar) + LONG (__cs3_region_zero_size_rombar) + LONG (0) + LONG (__cs3_region_init_rambar) + LONG (__cs3_region_start_rambar) + LONG (__cs3_region_init_size_rambar) + LONG (__cs3_region_zero_size_rambar) + __cs3_regions_end = .; + + . = ALIGN (8); + . = ALIGN (8); + _etext = .; + } >ram + + .cs3.rom : ALIGN (8) + { + __cs3_region_start_rom = .; + *(.cs3.region-head.rom) + *(.rom) + . = ALIGN (8); + } >rom + .cs3.rom.bss : + { + *(.rom.b) + . = ALIGN (8); + } >rom + /* __cs3_region_end_rom is deprecated */ + __cs3_region_end_rom = __cs3_region_start_rom + LENGTH(rom); + __cs3_region_size_rom = LENGTH(rom); + __cs3_region_init_rom = LOADADDR (.cs3.rom); + __cs3_region_init_size_rom = LOADADDR (.cs3.rom.bss) - LOADADDR (.cs3.rom); + __cs3_region_zero_size_rom = SIZEOF(.cs3.rom.bss); + + .cs3.rombar : ALIGN (8) + { + __cs3_region_start_rombar = .; + *(.cs3.region-head.rombar) + *(.rombar) + . = ALIGN (8); + } >rombar + .cs3.rombar.bss : + { + *(.rombar.b) + . = ALIGN (8); + } >rombar + /* __cs3_region_end_rombar is deprecated */ + __cs3_region_end_rombar = __cs3_region_start_rombar + LENGTH(rombar); + __cs3_region_size_rombar = LENGTH(rombar); + __cs3_region_init_rombar = LOADADDR (.cs3.rombar); + __cs3_region_init_size_rombar = LOADADDR (.cs3.rombar.bss) - LOADADDR (.cs3.rombar); + __cs3_region_zero_size_rombar = SIZEOF(.cs3.rombar.bss); + + .cs3.rambar : ALIGN (8) + { + __cs3_region_start_rambar = .; + *(.cs3.region-head.rambar) + *(.rambar) + . = ALIGN (8); + } >rambar + .cs3.rambar.bss : + { + *(.rambar.b) + . = ALIGN (8); + } >rambar + /* __cs3_region_end_rambar is deprecated */ + __cs3_region_end_rambar = __cs3_region_start_rambar + LENGTH(rambar); + __cs3_region_size_rambar = LENGTH(rambar); + __cs3_region_init_rambar = LOADADDR (.cs3.rambar); + __cs3_region_init_size_rambar = LOADADDR (.cs3.rambar.bss) - LOADADDR (.cs3.rambar); + __cs3_region_zero_size_rambar = SIZEOF(.cs3.rambar.bss); + + .cs3.ipsbar : + { + __cs3_region_start_ipsbar = .; + *(.cs3.region-head.ipsbar) + . = ALIGN (8); + } >ipsbar + /* __cs3_region_end_ipsbar is deprecated */ + __cs3_region_end_ipsbar = __cs3_region_start_ipsbar + LENGTH(ipsbar); + __cs3_region_size_ipsbar = LENGTH(ipsbar); + + .data : ALIGN (8) + { + + *(.got.plt) *(.got) + *(.shdata) + *(.data .data.* .gnu.linkonce.d.*) + . = ALIGN (8); + *(.ram) + _edata = .; + } >ram + .bss : + { + *(.shbss) + *(.bss .bss.* .gnu.linkonce.b.*) + *(COMMON) + . = ALIGN (8); + *(.ram.b) + _end = .; + __end = .; + } >ram + /* __cs3_region_end_ram is deprecated */ + __cs3_region_end_ram = __cs3_region_start_ram + LENGTH(ram); + __cs3_region_size_ram = LENGTH(ram); + __cs3_region_init_ram = LOADADDR (.text); + __cs3_region_init_size_ram = _edata - ADDR (.text); + __cs3_region_zero_size_ram = _end - _edata; + + .stab 0 (NOLOAD) : { *(.stab) } + .stabstr 0 (NOLOAD) : { *(.stabstr) } + /* DWARF debug sections. + * Symbols in the DWARF debugging sections are relative to the beginning + * of the section so we begin them at 0. */ + /* DWARF 1 */ + .debug 0 : { *(.debug) } + .line 0 : { *(.line) } + /* GNU DWARF 1 extensions */ + .debug_srcinfo 0 : { *(.debug_srcinfo) } + .debug_sfnames 0 : { *(.debug_sfnames) } + /* DWARF 1.1 and DWARF 2 */ + .debug_aranges 0 : { *(.debug_aranges) } + .debug_pubnames 0 : { *(.debug_pubnames) } + /* DWARF 2 */ + .debug_info 0 : { *(.debug_info .gnu.linkonce.wi.*) } + .debug_abbrev 0 : { *(.debug_abbrev) } + .debug_line 0 : { *(.debug_line) } + .debug_frame 0 : { *(.debug_frame) } + .debug_str 0 : { *(.debug_str) } + .debug_loc 0 : { *(.debug_loc) } + .debug_macinfo 0 : { *(.debug_macinfo) } + /* SGI/MIPS DWARF 2 extensions */ + .debug_weaknames 0 : { *(.debug_weaknames) } + .debug_funcnames 0 : { *(.debug_funcnames) } + .debug_typenames 0 : { *(.debug_typenames) } + .debug_varnames 0 : { *(.debug_varnames) } +} diff --git a/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/main.c b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/main.c new file mode 100644 index 000000000..02a6c8f26 --- /dev/null +++ b/Demo/ColdFire_MCF5282_Eclipse/RTOSDemo/main.c @@ -0,0 +1,154 @@ +/* + FreeRTOS.org V5.0.3 - Copyright (C) 2003-2008 Richard Barry. + + This file is part of the FreeRTOS.org distribution. + + FreeRTOS.org is free software; you can redistribute it and/or modify + it under the terms of the GNU General Public License as published by + the Free Software Foundation; either version 2 of the License, or + (at your option) any later version. + + FreeRTOS.org is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + GNU General Public License for more details. + + You should have received a copy of the GNU General Public License + along with FreeRTOS.org; if not, write to the Free Software + Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + + A special exception to the GPL can be applied should you wish to distribute + a combined work that includes FreeRTOS.org, without being obliged to provide + the source code for any proprietary components. See the licensing section + of http://www.FreeRTOS.org for full details of how and when the exception + can be applied. + + *************************************************************************** + *************************************************************************** + * * + * SAVE TIME AND MONEY! We can port FreeRTOS.org to your own hardware, * + * and even write all or part of your application on your behalf. * + * See http://www.OpenRTOS.com for details of the services we provide to * + * expedite your project. * + * * + *************************************************************************** + *************************************************************************** + + Please ensure to read the configuration and relevant port sections of the + online documentation. + + http://www.FreeRTOS.org - Documentation, latest information, license and + contact details. + + http://www.SafeRTOS.com - A version that is certified for use in safety + critical systems. + + http://www.OpenRTOS.com - Commercial support, development, porting, + licensing and training services. +*/ + + +/* + * Creates all the demo application tasks, then starts the scheduler. The WEB + * documentation provides more details of the standard demo application tasks. + * In addition to the standard demo tasks, the following tasks and tests are + * defined and/or created within this file: + * + * "Check" task - This only executes every five seconds but has a high priority + * to ensure it gets processor time. Its main function is to check that all the + * standard demo tasks are still operational. While no errors have been + * discovered the check task will toggle an LED every 5 seconds - the toggle + * rate increasing to 500ms then being a visual indication that at least one + * task has reported unexpected behaviour. + * + */ + +/* Standard includes. */ +#include + +/* Scheduler includes. */ +#include "FreeRTOS.h" +#include "task.h" +#include "queue.h" +#include "semphr.h" + +/* Demo app includes. */ +#include "BlockQ.h" +#include "death.h" +#include "integer.h" +#include "blocktim.h" +#include "flash.h" +#include "partest.h" +#include "semtest.h" +#include "PollQ.h" +#include "GenQTest.h" +#include "QPeek.h" +#include "recmutex.h" +#include "IntQueue.h" + +/*-----------------------------------------------------------*/ + +/* The time between cycles of the 'check' functionality (defined within the +tick hook. */ +#define mainCHECK_DELAY ( ( portTickType ) 5000 / portTICK_RATE_MS ) + +/* Task priorities. */ +#define mainQUEUE_POLL_PRIORITY ( tskIDLE_PRIORITY + 2 ) +#define mainCHECK_TASK_PRIORITY ( tskIDLE_PRIORITY + 3 ) +#define mainSEM_TEST_PRIORITY ( tskIDLE_PRIORITY + 1 ) +#define mainBLOCK_Q_PRIORITY ( tskIDLE_PRIORITY + 2 ) +#define mainCREATOR_TASK_PRIORITY ( tskIDLE_PRIORITY + 3 ) +#define mainINTEGER_TASK_PRIORITY ( tskIDLE_PRIORITY ) +#define mainGEN_QUEUE_TASK_PRIORITY ( tskIDLE_PRIORITY ) + + +/* + * Configure the hardware for the demo. + */ +static void prvSetupHardware( void ); + +/*-----------------------------------------------------------*/ + +int main( void ) +{ + prvSetupHardware(); + + /* Start the standard demo tasks. */ + vStartBlockingQueueTasks( mainBLOCK_Q_PRIORITY ); + vCreateBlockTimeTasks(); + vStartSemaphoreTasks( mainSEM_TEST_PRIORITY ); + vStartPolledQueueTasks( mainQUEUE_POLL_PRIORITY ); + vStartIntegerMathTasks( mainINTEGER_TASK_PRIORITY ); + vStartGenericQueueTasks( mainGEN_QUEUE_TASK_PRIORITY ); + vStartQueuePeekTasks(); + vStartRecursiveMutexTasks(); + + /* The suicide tasks must be created last as they need to know how many + tasks were running prior to their creation in order to ascertain whether + or not the correct/expected number of tasks are running at any given time. */ + vCreateSuicidalTasks( mainCREATOR_TASK_PRIORITY ); + + /* Start the scheduler. */ + vTaskStartScheduler(); + + /* Will only get here if there was insufficient memory to create the idle + task. */ + return 0; +} +/*-----------------------------------------------------------*/ + +void prvSetupHardware( void ) +{ + vParTestInitialise(); +} +/*-----------------------------------------------------------*/ + +void vApplicationStackOverflowHook( xTaskHandle *pxTask, signed portCHAR *pcTaskName ) +{ + ( void ) pxTask; + ( void ) pcTaskName; + + for( ;; ); +} + +