1 ;******************************************************************************
2 ;* *
3 ;* Copyright (c) 2018-2019 Texas Instruments Incorporated *
4 ;* http://www.ti.com/ *
5 ;* *
6 ;* Redistribution and use in source and binary forms, with or without *
7 ;* modification, are permitted provided that the following conditions *
8 ;* are met: *
9 ;* *
10 ;* Redistributions of source code must retain the above copyright *
11 ;* notice, this list of conditions and the following disclaimer. *
12 ;* *
13 ;* Redistributions in binary form must reproduce the above copyright *
14 ;* notice, this list of conditions and the following disclaimer in *
15 ;* the documentation and/or other materials provided with the *
16 ;* distribution. *
17 ;* *
18 ;* Neither the name of Texas Instruments Incorporated nor the names *
19 ;* of its contributors may be used to endorse or promote products *
20 ;* derived from this software without specific prior written *
21 ;* permission. *
22 ;* *
23 ;* THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS *
24 ;* "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT *
25 ;* LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR *
26 ;* A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT *
27 ;* OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, *
28 ;* SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT *
29 ;* LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, *
30 ;* DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY *
31 ;* THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT *
32 ;* (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE *
33 ;* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. *
34 ;* *
35 ;******************************************************************************
37 .arm
38 .sect ".xip_entry"
39 .global _xip_stub
40 .global _c_int00
41 .ref xip_stub_c
42 .asmfunc
45 _c_int00:
46 _xip_stub:
47 LDR r0, _xip_stub_c_addr
48 BX r0
50 _xipLoopForever:
51 WFI
52 B _xipLoopForever
54 _xip_stub_c_addr .long xip_stub_c
56 .endasmfunc