mirror of
https://github.com/zephyrproject-rtos/zephyr
synced 2025-08-28 22:35:56 +00:00
Move the SoC outside of the architecture tree and put them at the same level as boards and architectures allowing both SoCs and boards to be maintained outside the tree. Signed-off-by: Anas Nashif <anas.nashif@intel.com>
29 lines
498 B
ArmAsm
29 lines
498 B
ArmAsm
/*
|
|
* Copyright (c) 2017 Jean-Paul Etienne <fractalclone@gmail.com>
|
|
* Contributors: 2018 Antmicro <www.antmicro.com>
|
|
*
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
*/
|
|
|
|
#include <toolchain.h>
|
|
|
|
/* exports */
|
|
GTEXT(__start)
|
|
|
|
/* imports */
|
|
GTEXT(__initialize)
|
|
GTEXT(__irq_wrapper)
|
|
|
|
SECTION_FUNC(vectors, __start)
|
|
.option norvc;
|
|
|
|
/*
|
|
* Set mtvec (Machine Trap-Vector Base-Address Register)
|
|
* to __irq_wrapper.
|
|
*/
|
|
la t0, __irq_wrapper
|
|
csrw mtvec, t0
|
|
|
|
/* Jump to __initialize */
|
|
tail __initialize
|