⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 vector.s

📁 FreeRTOS is a portable, open source, mini Real Time Kernel - a free to download and royalty free RTO
💻 S
📖 第 1 页 / 共 2 页
字号:
/*
    FreeRTOS MCF5235 port - Copyright (C) 2006 Christian Walter.

    This file is part of the FreeRTOS distribution.

    FreeRTOS 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 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; 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, 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.

    ***************************************************************************
    ***************************************************************************
    *                                                                         *
    * Get the FreeRTOS eBook!  See http://www.FreeRTOS.org/Documentation      *
	*                                                                         *
	* This is a concise, step by step, 'hands on' guide that describes both   *
	* general multitasking concepts and FreeRTOS specifics. It presents and   *
	* explains numerous examples that are written using the FreeRTOS API.     *
	* Full source code for all the examples is provided in an accompanying    *
	* .zip file.                                                              *
    *                                                                         *
    ***************************************************************************
    ***************************************************************************

	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.
*/

  .extern __stack
  .extern start
  .extern fec_handler
  .extern fec_if
  .extern decrement_timers
  .global __RAMVEC
  .global __ROMVEC

  .equ    MCF_PIT_PCSR0, IPSBAR + 0x150000
  .equ    MCF_PIT_PCSR_PIF, 0x0004

  .section  .vector_rom, "x"
__ROMVEC:
  .long   __stack               /* Reset: Initial Stack Pointer */
  .long   start                 /* Reset: Initial Program Counter */
  .long   VecDefault            /* Bus Error */
  .long   VecDefault            /* Address Error */
  .long   VecDefault            /* Illegal Instruction */
  .long   VecDefault            /* Zero Divison */
  .space  4                     /* reserved */
  .space  4                     /* reserved */
  .long   VecDefault            /* Privilege Violation */
  .long   VecDefault            /* Trace */
  .long   VecDefault            /* Unimplemented line-a opcode */
  .long   VecDefault            /* Unimplemented line-b opcode */
  .long   VecDefault            /* Non-PC breakpoint debug interrupt */
  .long   VecDefault            /* PC breakpoint debug interrupt */
  .long   VecDefault            /* Format Error */
  .long   VecDefault            /* Uninitialized Interrupt */
  .org    0x60
  .long   IRQSpurious           /* Spurious Interrupt */
  .long   IRQDefault            /* Level 1 Interrupt */
  .long   IRQDefault            /* Level 2 Interrupt */
  .long   IRQDefault            /* Level 3 Interrupt */
  .long   IRQDefault            /* Level 4 Interrupt */
  .long   IRQDefault            /* Level 5 Interrupt */
  .long   IRQDefault            /* Level 6 Interrupt */
  .long   IRQDefault            /* Level 7 Interrupt */
  .org    0x80
  .long   TrapDefault           /* TRAP 0 */
  .long   TrapDefault           /* TRAP 1 */
  .long   TrapDefault           /* TRAP 2 */
  .long   TrapDefault           /* TRAP 3 */
  .long   TrapDefault           /* TRAP 4 */
  .long   TrapDefault           /* TRAP 5 */
  .long   TrapDefault           /* TRAP 6 */
  .long   TrapDefault           /* TRAP 7 */
  .long   TrapDefault           /* TRAP 8 */
  .long   TrapDefault           /* TRAP 9 */
  .long   TrapDefault           /* TRAP 10 */
  .long   TrapDefault           /* TRAP 11 */
  .long   TrapDefault           /* TRAP 12 */
  .long   TrapDefault           /* TRAP 13 */
  .long   TrapDefault           /* TRAP 14 */
  .long   TrapDefault           /* TRAP 15 */
  .org    0x100
  .long   IRQDefault            /* User-Defined Interrupt 0 */
  .long   IRQDefault            /* User-Defined Interrupt 1 */
  .long   IRQDefault            /* User-Defined Interrupt 2 */
  .long   IRQDefault            /* User-Defined Interrupt 3 */
  .long   IRQDefault            /* User-Defined Interrupt 4 */
  .long   IRQDefault            /* User-Defined Interrupt 5 */
  .long   IRQDefault            /* User-Defined Interrupt 6 */
  .long   IRQDefault            /* User-Defined Interrupt 7 */
  .long   IRQDefault            /* User-Defined Interrupt 8 */
  .long   IRQDefault            /* User-Defined Interrupt 9 */
  .long   IRQDefault            /* User-Defined Interrupt 10 */
  .long   IRQDefault            /* User-Defined Interrupt 11 */
  .long   IRQDefault            /* User-Defined Interrupt 12 */
  .long   IRQDefault            /* User-Defined Interrupt 13 */
  .long   IRQDefault            /* User-Defined Interrupt 14 */
  .long   IRQDefault            /* User-Defined Interrupt 15 */
  .long   IRQDefault            /* User-Defined Interrupt 16 */
  .long   IRQDefault            /* User-Defined Interrupt 17 */
  .long   IRQDefault            /* User-Defined Interrupt 18 */
  .long   IRQDefault            /* User-Defined Interrupt 19 */
  .long   IRQDefault            /* User-Defined Interrupt 20 */
  .long   IRQDefault            /* User-Defined Interrupt 21 */
  .long   IRQDefault            /* User-Defined Interrupt 22 */
  .long   IRQDefault            /* Transmit frame interrupt */
  .long   IRQDefault            /* Transmit buffer interrupt */
  .long   IRQDefault            /* Transmit FIFO underrun */
  .long   IRQDefault            /* Collision retry limit */
  .long   IRQDefault            /* Receive frame interrupt */
  .long   IRQDefault            /* Receive buffer interrupt */
  .long   IRQDefault            /* MII interrupt */
  .long   IRQDefault            /* Late collision */
  .long   IRQDefault            /* Heartbeat error */
  .long   IRQDefault            /* Graceful stop complete */
  .long   IRQDefault            /* Ethernet bus error */
  .long   IRQDefault            /* Babbling transmit error */
  .long   IRQDefault            /* Babbling receive error */
  .long   IRQDefault            /* Timer interrupt */
  .long   IRQDefault            /* User-Defined Interrupt 37 */
  .long   IRQDefault            /* User-Defined Interrupt 38 */
  .long   IRQDefault            /* User-Defined Interrupt 39 */
  .long   IRQDefault            /* User-Defined Interrupt 40 */
  .long   IRQDefault            /* User-Defined Interrupt 41 */
  .long   IRQDefault            /* User-Defined Interrupt 42 */
  .long   IRQDefault            /* User-Defined Interrupt 43 */
  .long   IRQDefault            /* User-Defined Interrupt 44 */
  .long   IRQDefault            /* User-Defined Interrupt 45 */
  .long   IRQDefault            /* User-Defined Interrupt 46 */
  .long   IRQDefault            /* User-Defined Interrupt 47 */
  .long   IRQDefault            /* User-Defined Interrupt 48 */
  .long   IRQDefault            /* User-Defined Interrupt 49 */
  .long   IRQDefault            /* User-Defined Interrupt 50 */
  .long   IRQDefault            /* User-Defined Interrupt 51 */
  .long   IRQDefault            /* User-Defined Interrupt 52 */
  .long   IRQDefault            /* User-Defined Interrupt 53 */

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -