updated to 6.0.1 and added additional processors/toolchains
This commit is contained in:
76
ports/arm9/gnu/example_build/reset.S
Normal file
76
ports/arm9/gnu/example_build/reset.S
Normal file
@@ -0,0 +1,76 @@
|
||||
@/**************************************************************************/
|
||||
@/* */
|
||||
@/* Copyright (c) Microsoft Corporation. All rights reserved. */
|
||||
@/* */
|
||||
@/* This software is licensed under the Microsoft Software License */
|
||||
@/* Terms for Microsoft Azure RTOS. Full text of the license can be */
|
||||
@/* found in the LICENSE file at https://aka.ms/AzureRTOS_EULA */
|
||||
@/* and in the root directory of this software. */
|
||||
@/* */
|
||||
@/**************************************************************************/
|
||||
@
|
||||
@
|
||||
@/**************************************************************************/
|
||||
@/**************************************************************************/
|
||||
@/** */
|
||||
@/** ThreadX Component */
|
||||
@/** */
|
||||
@/** Initialize */
|
||||
@/** */
|
||||
@/**************************************************************************/
|
||||
@/**************************************************************************/
|
||||
@
|
||||
@
|
||||
@#define TX_SOURCE_CODE
|
||||
@
|
||||
@
|
||||
@/* Include necessary system files. */
|
||||
@
|
||||
@#include "tx_api.h"
|
||||
@#include "tx_initialize.h"
|
||||
@#include "tx_thread.h"
|
||||
@#include "tx_timer.h"
|
||||
|
||||
.arm
|
||||
|
||||
.global _start
|
||||
.global __tx_undefined
|
||||
.global __tx_swi_interrupt
|
||||
.global __tx_prefetch_handler
|
||||
.global __tx_abort_handler
|
||||
.global __tx_reserved_handler
|
||||
.global __tx_irq_handler
|
||||
.global __tx_fiq_handler
|
||||
@
|
||||
@
|
||||
@/* Define the vector area. This should be located or copied to 0. */
|
||||
@
|
||||
.text
|
||||
.global __vectors
|
||||
__vectors:
|
||||
|
||||
LDR pc, STARTUP @ Reset goes to startup function
|
||||
LDR pc, UNDEFINED @ Undefined handler
|
||||
LDR pc, SWI @ Software interrupt handler
|
||||
LDR pc, PREFETCH @ Prefetch exception handler
|
||||
LDR pc, ABORT @ Abort exception handler
|
||||
LDR pc, RESERVED @ Reserved exception handler
|
||||
LDR pc, IRQ @ IRQ interrupt handler
|
||||
LDR pc, FIQ @ FIQ interrupt handler
|
||||
|
||||
STARTUP:
|
||||
.word _start @ Reset goes to C startup function
|
||||
UNDEFINED:
|
||||
.word __tx_undefined @ Undefined handler
|
||||
SWI:
|
||||
.word __tx_swi_interrupt @ Software interrupt handler
|
||||
PREFETCH:
|
||||
.word __tx_prefetch_handler @ Prefetch exception handler
|
||||
ABORT:
|
||||
.word __tx_abort_handler @ Abort exception handler
|
||||
RESERVED:
|
||||
.word __tx_reserved_handler @ Reserved exception handler
|
||||
IRQ:
|
||||
.word __tx_irq_handler @ IRQ interrupt handler
|
||||
FIQ:
|
||||
.word __tx_fiq_handler @ FIQ interrupt handler
|
||||
Reference in New Issue
Block a user