revert between 56095 -> 55830 in arch
[AROS.git] / arch / .unmaintained / m68k-pp-native / build-rom / entrycode.S
bloba60d4984f10efa5b3d21ff897d8238b8f08e3be3
1         .section entrycodes,"aw",@progbits
3         // For the following structur have a look at the POSE source
4         // code SrcShared/Palm/Platform/Core/System/IncsPrv/MemoryPrv.h
6         .globl initial_ssp
7 initial_ssp:
8         .dc.l  0xfffc                 // initial value for SSP
9         .dc.l  hardware_reset_init_1  // where the startup code is at.
11         .globl hardware_reset_init_1
12         .section .text
13         .align 8
14 hardware_reset_init_1:
15         jmp hardware_reset_init_2.w(%pc)       // needs to be exactly this
16         .dc.b  'b','o','o','t',0x27,0x10,0xff  // way, so xcopilot likes the
17                                                // rom
19         .globl hardware_reset_init_2
20         .align 8
21 hardware_reset_init_2:
22         jmp main_init
24         .globl software_reset
25         .align 8
27 software_reset:
28         lea    initial_ssp,%a0
29         move.l (%a0),%ssp
30         jmp    main_init